summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Lahtinen <joonas.lahtinen@linux.intel.com>2023-05-08 13:09:13 +0300
committerJani Nikula <jani.nikula@intel.com>2024-05-28 11:13:46 +0300
commit5fd49c6d2cd69f6f5ad7e1af3ca4807f2cbe43ba (patch)
tree9c4fed3fa7042d3f5ddadd2611553ce4e4959c72
parent2121fb07e82a65edf55aa88c458f1a721516b546 (diff)
HAX net/phy: Suppress WARN from phy_error
References: https://gitlab.freedesktop.org/drm/intel/-/issues/8047 Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2874 Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com> Signed-off-by: Joonas Lahtinen <joonas.lahtinen@intel.com>
-rw-r--r--drivers/net/phy/phy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/phy.c b/drivers/net/phy/phy.c
index 5a596bb39882..a5087cd84911 100644
--- a/drivers/net/phy/phy.c
+++ b/drivers/net/phy/phy.c
@@ -1273,7 +1273,7 @@ static void phy_error_precise(struct phy_device *phydev,
*/
void phy_error(struct phy_device *phydev)
{
- WARN_ON(1);
+ pr_notice_once("%s\n", __func__);
phy_process_error(phydev);
}
EXPORT_SYMBOL(phy_error);