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

From: Romain Perier
Date: Mon Aug 21 2017 - 07:46:47 EST


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 commit message
- "commit" not needed in the "Fixes" tag

Romain Perier (2):
net: stmmac: Delete dead code for MDIO registration
net: phy: Don't use drv when it is NULL in phy_attached_print

drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 16 ----------------
drivers/net/phy/phy_device.c | 13 +++++++++++--
2 files changed, 11 insertions(+), 18 deletions(-)

--
2.11.0