diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2009-01-14 21:29:18 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-01-15 08:28:15 -0800 |
commit | f5ba6772f226be0266f95642c8162493246d3b79 (patch) | |
tree | 5d666af7eb9b1ac614733687e3947c5729998c45 /drivers/net | |
parent | a5f67a04d998b0b6e4beb1de8f1247dd93ac1ff4 (diff) | |
download | blackbird-op-linux-f5ba6772f226be0266f95642c8162493246d3b79.tar.gz blackbird-op-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/net')
-rw-r--r-- | drivers/net/bnx2x_main.c | 2 |
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 */ |