]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: print stack trace in phy_error
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 16 Dec 2018 18:18:26 +0000 (19:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 18 Dec 2018 23:11:46 +0000 (15:11 -0800)
commit7d990aa46412e5bf24acac6e92b5ffe07513d8d9
treec31e504a55dff071ad841a880fe592ace01bd034
parent77fa187821500f30904ac2ba1816c543abb9ea05
net: phy: print stack trace in phy_error

So far phy_error() silently stops the PHY state machine. If the network
driver doesn't inform about a  MDIO error then the user may wonder why
his network is down. Let's print the stack trace to facilitate search
for the root cause of the error.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c