]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
bnx2x: Missing brackets
authorEilon Greenstein <eilong@broadcom.com>
Thu, 15 Jan 2009 05:29:18 +0000 (21:29 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Jan 2009 16:28:15 +0000 (08:28 -0800)
Calculation bug due to missing brackets

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x_main.c

index d2350dd300b279cb700c0cc69aef83098e571c5a..a755fea996d546bdac49b267e90e399a66092abe 100644 (file)
@@ -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 */