Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 184254
b: refs/heads/master
c: f6ca057
h: refs/heads/master
v: v3
  • Loading branch information
Jochen Friedrich authored and David S. Miller committed Feb 17, 2010
1 parent cf48b23 commit c57fd3d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 47d742752df4c1088589d4424840bc761613ab2a
refs/heads/master: f6ca057f1bfe251d944505fc5ba4df3762802539
12 changes: 7 additions & 5 deletions trunk/drivers/net/b44.c
Original file line number Diff line number Diff line change
Expand Up @@ -189,11 +189,13 @@ 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 "
"%lx to %s.\n",
bp->dev->name,
bit, reg,
(clear ? "clear" : "set"));
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,
(clear ? "clear" : "set"));
return -ENODEV;
}
return 0;
Expand Down

0 comments on commit c57fd3d

Please sign in to comment.