projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5f67a0
)
bnx2x: Missing brackets
author
Eilon Greenstein
<eilong@broadcom.com>
Thu, 15 Jan 2009 05:29:18 +0000
(21:29 -0800)
committer
David 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
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/bnx2x_main.c
b/drivers/net/bnx2x_main.c
index d2350dd300b279cb700c0cc69aef83098e571c5a..a755fea996d546bdac49b267e90e399a66092abe 100644
(file)
--- 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 */