Commit 7bf3f232 authored by Francois Romieu's avatar Francois Romieu Committed by David S. Miller
Browse files

sis190: mdio operation failure is not correctly detected

i ranges from 0 to 100 in the 'for' loop a few lines above.

Reported by davem.
Signed-off-by: default avatarFrancois Romieu <>
Cc: K.M. Liu <>
parent 11913d30
......@@ -372,7 +372,7 @@ static void __mdio_cmd(void __iomem *ioaddr, u32 ctl)
if (i > 999)
if (i > 99)
printk(KERN_ERR PFX "PHY command failed !\n");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment