projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9df8f4e
)
sundance: missing parentheses?
author
Roel Kluin
<roel.kluin@gmail.com>
Wed, 18 Feb 2009 09:19:50 +0000
(10:19 +0100)
committer
David S. Miller
<davem@davemloft.net>
Fri, 20 Feb 2009 08:35:45 +0000
(
00:35
-0800)
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/sundance.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/sundance.c
b/drivers/net/sundance.c
index feaf0e0577d77e9decc37972b72dd5ea44a4706f..43695b76606fdc64331ae0954e51dd3447eb6628 100644
(file)
--- a/
drivers/net/sundance.c
+++ b/
drivers/net/sundance.c
@@
-909,7
+909,7
@@
static void check_duplex(struct net_device *dev)
printk(KERN_INFO "%s: Setting %s-duplex based on MII #%d "
"negotiated capability %4.4x.\n", dev->name,
duplex ? "full" : "half", np->phys[0], negotiated);
- iowrite16(ioread16(ioaddr + MACCtrl0) |
duplex ? 0x20 : 0
, ioaddr + MACCtrl0);
+ iowrite16(ioread16(ioaddr + MACCtrl0) |
(duplex ? 0x20 : 0)
, ioaddr + MACCtrl0);
}
}