Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit c10ab29

Browse files
icklejnikula
authored andcommitted
HAX net/phy: Suppress WARN from phy_error
Closes: https://gitlab.freedesktop.org/drm/intel/-/issues/2874 Signed-off-by: Rodrigo Vivi <[email protected]>
1 parent 6c1c156 commit c10ab29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/phy/phy.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@ void phy_stop_machine(struct phy_device *phydev)
939939
*/
940940
void phy_error(struct phy_device *phydev)
941941
{
942-
WARN_ON(1);
942+
pr_notice_once("%s\n", __func__);
943943

944944
mutex_lock(&phydev->lock);
945945
phydev->state = PHY_HALTED;

0 commit comments

Comments
 (0)