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)
commitfa7b28c11bbf389617327ad4dd69bbbbbc16a8b4
treec31e504a55dff071ad841a880fe592ace01bd034
parent2b3e88ea65287ba738a798622405b15344871085
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