Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: mdio: xgene: Fix misleading err message in xgene mdio read

xgene_xfi_mdio_read() prints "write failed" when the MDIO management
interface remains busy and the read times out. Update the message to
"read failed" to match the operation.

Signed-off-by: Alok Tiwari <alok.a.tiwari@oracle.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/20260304195755.2468204-1-alok.a.tiwari@oracle.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Alok Tiwari and committed by
Jakub Kicinski
54f5a89d 58a4c3e8

+1 -1
+1 -1
drivers/net/mdio/mdio-xgene.c
··· 250 250 } while ((status & BUSY_MASK) && timeout--); 251 251 252 252 if (status & BUSY_MASK) { 253 - pr_err("XGENET_MII_MGMT write failed\n"); 253 + pr_err("XGENET_MII_MGMT read failed\n"); 254 254 return -EBUSY; 255 255 } 256 256