提交 f5ba6772 编写于 作者: E Eilon Greenstein 提交者: David S. Miller

bnx2x: Missing brackets

Calculation bug due to missing brackets
Signed-off-by: NEilon Greenstein <eilong@broadcom.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a5f67a04
...@@ -2920,7 +2920,7 @@ static irqreturn_t bnx2x_msix_sp_int(int irq, void *dev_instance) ...@@ -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) \ #define ADD_64(s_hi, a_hi, s_lo, a_lo) \
do { \ do { \
s_lo += a_lo; \ 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) } while (0)
/* difference = minuend - subtrahend */ /* difference = minuend - subtrahend */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册