[PATCH v2 0/2] net: stmmac: phy logging fixes

2017-08-21 Thread Romain Perier
This set of patches fixes issues related to logging. First it delete old code that is no longer used in stmmac_mdio_register(). Then, it fixes a crash that happens when phydev->drv is NULL and phy_attached_info() is called prior phy_driver is binded to phydev. Changes in v2: - Fixed wording in

[PATCH v2 0/2] net: stmmac: phy logging fixes

2017-08-21 Thread Romain Perier
This set of patches fixes issues related to logging. First it delete old code that is no longer used in stmmac_mdio_register(). Then, it fixes a crash that happens when phydev->drv is NULL and phy_attached_info() is called prior phy_driver is binded to phydev. Changes in v2: - Fixed wording in