diff options
author | roel kluin <roel.kluin@gmail.com> | 2009-02-16 04:02:04 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-20 09:03:15 (GMT) |
commit | d13c11f6f7324b4fe61720910ee54184c38d2fea (patch) | |
tree | 1998827a9d6ef7a483975738e003ce18b2500875 /drivers | |
parent | 0d5048a96fc51d976ac777e3d78762b4dd241693 (diff) | |
download | linux-d13c11f6f7324b4fe61720910ee54184c38d2fea.tar.xz |
sungem: another error printed one too early
Another error was printed one too early.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/sungem.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sungem.c b/drivers/net/sungem.c index 4918763..8d64b1d 100644 --- a/drivers/net/sungem.c +++ b/drivers/net/sungem.c @@ -1157,7 +1157,7 @@ static void gem_pcs_reset(struct gem *gp) if (limit-- <= 0) break; } - if (limit <= 0) + if (limit < 0) printk(KERN_WARNING "%s: PCS reset bit would not clear.\n", gp->dev->name); } |