Skip to content

Commit 150899d

Browse files
Steve Glendinningdavem330
authored andcommitted
smsc911x: correct debugging message on mii read timeout
the warning printed when a mii READ times out currently says "Timed out waiting for MII write to finish". This patch corrects this. Signed-off-by: Steve Glendinning <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent c5cacb3 commit 150899d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/smsc911x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ static int smsc911x_mii_read(struct mii_bus *bus, int phyaddr, int regidx)
317317
goto out;
318318
}
319319

320-
SMSC_WARNING(HW, "Timed out waiting for MII write to finish");
320+
SMSC_WARNING(HW, "Timed out waiting for MII read to finish");
321321
reg = -EIO;
322322

323323
out:

0 commit comments

Comments
 (0)