projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0d5048a
)
sungem: another error printed one too early
author
roel kluin
<roel.kluin@gmail.com>
Mon, 16 Feb 2009 04:02:04 +0000
(
04:02
+0000)
committer
David S. Miller
<davem@davemloft.net>
Fri, 20 Feb 2009 09:03:15 +0000
(
01:03
-0800)
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>
drivers/net/sungem.c
patch
|
blob
|
history
diff --git
a/drivers/net/sungem.c
b/drivers/net/sungem.c
index 4918763410686d02750a6f7ef8141271c19b098a..8d64b1da0465c99a0502c642900f325964cf0186 100644
(file)
--- 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);
}