Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: stmmac: dwmac-sun8i: Variable "val" in function sun8i_dwmac_set_…
…syscon() could be uninitialized In function sun8i_dwmac_set_syscon(), local variable "val" could be uninitialized if function regmap_field_read() returns -EINVAL. However, it will be used directly in the if statement, which is potentially unsafe. Signed-off-by: Yizhuo <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information