netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] net: stmmac: phy logging fixes
@ 2017-08-21  7:52 Romain Perier
  2017-08-21  7:52 ` [PATCH 1/2] net: stmmac: Delete dead code for MDIO registration Romain Perier
  2017-08-21  7:52 ` [PATCH 2/2] net: phy: Don't use drv when it is NULL in phy_attached_print Romain Perier
  0 siblings, 2 replies; 6+ messages in thread
From: Romain Perier @ 2017-08-21  7:52 UTC (permalink / raw)
  To: Giuseppe Cavallaro, Alexandre Torgue, Andrew Lunn,
	Florian Fainelli
  Cc: netdev, linux-kernel, 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.

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

 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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-21 13:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-21  7:52 [PATCH 0/2] net: stmmac: phy logging fixes Romain Perier
2017-08-21  7:52 ` [PATCH 1/2] net: stmmac: Delete dead code for MDIO registration Romain Perier
2017-08-21  7:52 ` [PATCH 2/2] net: phy: Don't use drv when it is NULL in phy_attached_print Romain Perier
2017-08-21  9:45   ` Sergei Shtylyov
2017-08-21 11:46     ` Romain Perier
2017-08-21 13:16   ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).