Commit f6ca057f authored by Jochen Friedrich's avatar Jochen Friedrich Committed by David S. Miller

b44: Ratelimit timeout error message.

Signed-off-by: default avatarJochen Friedrich <jochen@scram.de>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 47d74275
......@@ -189,7 +189,9 @@ static int b44_wait_bit(struct b44 *bp, unsigned long reg,
udelay(10);
}
if (i == timeout) {
printk(KERN_ERR PFX "%s: BUG! Timeout waiting for bit %08x of register "
if (net_ratelimit())
printk(KERN_ERR PFX "%s: BUG! Timeout waiting for bit "
"%08x of register "
"%lx to %s.\n",
bp->dev->name,
bit, reg,
......
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