diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-02-23 23:22:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-02-24 17:42:55 +0100 |
commit | 65f2767a64ab33847d5f028661b82d8d3a4fda99 (patch) | |
tree | 1deb5c6af7f632dff00590bdeef147755c9d12ce /net/rxrpc/key.c | |
parent | vxlan: correctly validate VXLAN ID against VXLAN_N_VID (diff) | |
download | linux-65f2767a64ab33847d5f028661b82d8d3a4fda99.tar.xz linux-65f2767a64ab33847d5f028661b82d8d3a4fda99.zip |
net: phy: Add missing driver check in phy_aneg_done()
Dan's static checker caught a potential code path in phy_state_machine() where
we were not checking phydev->drv which is in phy_aneg_done().
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Fixes: 25149ef9d25c ("net: phy: Check phydev->drv")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/key.c')
0 files changed, 0 insertions, 0 deletions