summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-01-15 06:29:18 +0100
committerDavid S. Miller <davem@davemloft.net>2009-01-15 17:28:15 +0100
commitf5ba6772f226be0266f95642c8162493246d3b79 (patch)
tree5d666af7eb9b1ac614733687e3947c5729998c45 /drivers
parentbnx2x: Fixing the doorbell size (diff)
downloadlinux-f5ba6772f226be0266f95642c8162493246d3b79.tar.xz
linux-f5ba6772f226be0266f95642c8162493246d3b79.zip
bnx2x: Missing brackets
Calculation bug due to missing brackets Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/bnx2x_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c
index d2350dd300b2..a755fea996d5 100644
--- a/drivers/net/bnx2x_main.c
+++ b/drivers/net/bnx2x_main.c
@@ -2920,7 +2920,7 @@ static irqreturn_t bnx2x_msix_sp_int(int irq, void *dev_instance)
#define ADD_64(s_hi, a_hi, s_lo, a_lo) \
do { \
s_lo += a_lo; \
- s_hi += a_hi + (s_lo < a_lo) ? 1 : 0; \
+ s_hi += a_hi + ((s_lo < a_lo) ? 1 : 0); \
} while (0)
/* difference = minuend - subtrahend */