Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131315
b: refs/heads/master
c: d4675b5
h: refs/heads/master
i:
  131313: 287349f
  131311: 06f61f4
v: v3
  • Loading branch information
Roel Kluin authored and David S. Miller committed Feb 13, 2009
1 parent be59425 commit 23f2774
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 89c581b3fb2986e303f1299e6458e3e9b115fa3f
refs/heads/master: d4675b52a933831d4901217564cba5a434ddd922
4 changes: 2 additions & 2 deletions trunk/drivers/net/tg3.c
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ static int tg3_bmcr_reset(struct tg3 *tp)
}
udelay(10);
}
if (limit <= 0)
if (limit < 0)
return -EBUSY;

return 0;
Expand Down Expand Up @@ -1603,7 +1603,7 @@ static int tg3_wait_macro_done(struct tg3 *tp)
break;
}
}
if (limit <= 0)
if (limit < 0)
return -EBUSY;

return 0;
Expand Down

0 comments on commit 23f2774

Please sign in to comment.