projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9487311
)
sungem: another error printed one too early
author
Roel Kluin
<roel.kluin@gmail.com>
Wed, 4 Mar 2009 08:08:39 +0000
(
00:08
-0800)
committer
David S. Miller
<davem@davemloft.net>
Wed, 4 Mar 2009 08:11:53 +0000
(
00:11
-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
|
blame
|
history
diff --git
a/drivers/net/sungem.c
b/drivers/net/sungem.c
index 8d64b1da0465c99a0502c642900f325964cf0186..0fcb7503363d2f40139b64cc933c16947930c281 100644
(file)
--- a/
drivers/net/sungem.c
+++ b/
drivers/net/sungem.c
@@
-1229,7
+1229,7
@@
static void gem_reset(struct gem *gp)
break;
} while (val & (GREG_SWRST_TXRST | GREG_SWRST_RXRST));
- if (limit <
=
0)
+ if (limit < 0)
printk(KERN_ERR "%s: SW reset is ghetto.\n", gp->dev->name);
if (gp->phy_type == phy_serialink || gp->phy_type == phy_serdes)