diff options
author | roel kluin <roel.kluin@gmail.com> | 2009-02-16 05:02:04 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-20 10:03:15 +0100 |
commit | d13c11f6f7324b4fe61720910ee54184c38d2fea (patch) | |
tree | 1998827a9d6ef7a483975738e003ce18b2500875 /drivers | |
parent | ISDN: fix sc/shmem printk format warning (diff) | |
download | linux-d13c11f6f7324b4fe61720910ee54184c38d2fea.tar.xz linux-d13c11f6f7324b4fe61720910ee54184c38d2fea.zip |
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 491876341068..8d64b1da0465 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); } |