Yizhuo e33b4325e6 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 <yzhai003@ucr.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-09-02 11:48:15 -07:00
..
2019-08-28 16:02:32 -07:00
2019-08-18 14:11:28 -07:00
2019-06-21 09:58:42 -07:00
2019-07-03 11:24:38 -07:00
2019-05-14 15:20:11 -07:00
2019-07-08 19:25:19 -07:00
2019-06-25 14:26:54 +02:00