]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: do not print dump stack if device was removed
authorOleksij Rempel <o.rempel@pengutronix.de>
Mon, 7 Jun 2021 08:27:26 +0000 (10:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Jun 2021 20:23:02 +0000 (13:23 -0700)
commit030959672733f2e69b7ce325fc3e1626d84e2447
tree532401bb277d3a480f3d176968af88381564d0ec
parentfedbfb73e667eb99e147ac951f92ad33850c6417
net: phy: do not print dump stack if device was removed

In case phy_state_machine() works on top of USB device, we can get -ENODEV
at any point. So, be less noisy if device was removed.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c