diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2021-01-21 20:40:54 +0000 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2022-05-02 14:27:24 +0300 |
commit | c10ab299f4c8758563311265f1b05da8c3dfd6ba (patch) | |
tree | 975b5ce93e970ad8bebc5e0c141c6627a93c70c5 | |
parent | 6c1c15666c2e7df6fcc8a68f68f156f1e46cdc8e (diff) |
HAX net/phy: Suppress WARN from phy_error
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2874
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
-rw-r--r-- | drivers/net/phy/phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c index 8a91b8cfd94c..48977bae20dd 100644 --- a/drivers/net/phy/phy.c +++ b/drivers/net/phy/phy.c @@ -939,7 +939,7 @@ void phy_stop_machine(struct phy_device *phydev) */ void phy_error(struct phy_device *phydev) { - WARN_ON(1); + pr_notice_once("%s\n", __func__); mutex_lock(&phydev->lock); phydev->state = PHY_HALTED; |