aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_main.c
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-01-15 00:29:18 -0500
committerDavid S. Miller <davem@davemloft.net>2009-01-15 11:28:15 -0500
commitf5ba6772f226be0266f95642c8162493246d3b79 (patch)
tree5d666af7eb9b1ac614733687e3947c5729998c45 /drivers/net/bnx2x_main.c
parenta5f67a04d998b0b6e4beb1de8f1247dd93ac1ff4 (diff)
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/net/bnx2x_main.c')
-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)
2920#define ADD_64(s_hi, a_hi, s_lo, a_lo) \ 2920#define ADD_64(s_hi, a_hi, s_lo, a_lo) \
2921 do { \ 2921 do { \
2922 s_lo += a_lo; \ 2922 s_lo += a_lo; \
2923 s_hi += a_hi + (s_lo < a_lo) ? 1 : 0; \ 2923 s_hi += a_hi + ((s_lo < a_lo) ? 1 : 0); \
2924 } while (0) 2924 } while (0)
2925 2925
2926/* difference = minuend - subtrahend */ 2926/* difference = minuend - subtrahend */