From: Florian Fainelli
Date: Thu, 23 Feb 2017 14:22:19 -0800
> 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
> Fixes: 25149ef9d25c ("net: phy: Check phydev->drv")
> Si
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
Fixes: 25149ef9d25c ("net: phy: Check phydev->drv")
Signed-off-by: Florian Fainelli
---
drivers/net/phy/phy.c | 2 +-
1 file ch