sundance: missing parentheses?
Subsystems (2)
PATCH 1/1 sundance: missing parentheses?
Please review. --------------------------->8-------------8<------------------------------ Add missing parentheses
Signed-off-by Roel Kluin <[email protected]>
---
drivers/net/sundance.c +1 -1
@@ -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); } }
From: Roel Kluin <[email protected]>
Date: Wed, 18 Feb 2009 10:19:50 +0100
Quoted 1 line
Signed-off-by Roel Kluin <[email protected]>
Applied.