diff options
author | Yizhuo <yzhai003@ucr.edu> | 2019-08-30 19:00:48 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-09-02 11:48:15 -0700 |
commit | e33b4325e60e146c2317a8b548cbd633239ff83b (patch) | |
tree | db7b83e44072b6dcea346765c2a5ecd541a63516 /net/bridge/br_netfilter_hooks.c | |
parent | 089cf7f6ecb266b6a4164919a2e69bd2f938374a (diff) | |
download | linux-stable-e33b4325e60e146c2317a8b548cbd633239ff83b.tar.gz linux-stable-e33b4325e60e146c2317a8b548cbd633239ff83b.tar.bz2 linux-stable-e33b4325e60e146c2317a8b548cbd633239ff83b.zip |
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>
Diffstat (limited to 'net/bridge/br_netfilter_hooks.c')
0 files changed, 0 insertions, 0 deletions