From: Roel Kluin Date: Wed, 18 Feb 2009 09:19:50 +0000 (+0100) Subject: sundance: missing parentheses? X-Git-Tag: MMI-PSA29.97-13-9~29256^2~109 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=62660e28084df3d8067ab855f326d3027808c569;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git sundance: missing parentheses? Signed-off-by: Roel Kluin Signed-off-by: David S. Miller --- diff --git a/drivers/net/sundance.c b/drivers/net/sundance.c index feaf0e0577d7..43695b76606f 100644 --- 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); } }