From: Eilon Greenstein Date: Thu, 15 Jan 2009 05:29:18 +0000 (-0800) Subject: bnx2x: Missing brackets X-Git-Tag: v2.6.29-rc2~11^2~13 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f5ba6772f226be0266f95642c8162493246d3b79;p=linux-2.6-omap-h63xx.git bnx2x: Missing brackets Calculation bug due to missing brackets Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- diff --git a/drivers/net/bnx2x_main.c b/drivers/net/bnx2x_main.c index d2350dd300b..a755fea996d 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 */