projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7cf745
)
ixgbe: fix function-like macro, remove semicolon
author
Jacob Keller
<
[email protected]
>
Wed, 9 Apr 2014 06:03:11 +0000
(06:03 +0000)
committer
Jeff Kirsher
<
[email protected]
>
Fri, 23 May 2014 12:24:14 +0000
(
05:24
-0700)
This patch removes the semicolon from the end of the do-while(0)
construct in two function-like macros.
Signed-off-by: Jacob Keller <
[email protected]
>
Tested-by: Phil Schmitt <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
b/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
index 48de859a820ccbdacbbbabf3ba7889e72fda6990..323ecb1058011106359babf79cf4169bcc864f63 100644
(file)
--- a/
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
+++ b/
drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
@@
-1453,7
+1453,7
@@
do { \
bucket_hash ^= hi_hash_dword >> n; \
else if (IXGBE_ATR_SIGNATURE_HASH_KEY & (0x01 << (n + 16))) \
sig_hash ^= hi_hash_dword << (16 - n); \
-} while (0)
;
+} while (0)
/**
* ixgbe_atr_compute_sig_hash_82599 - Compute the signature hash
@@
-1579,7
+1579,7
@@
do { \
bucket_hash ^= lo_hash_dword >> n; \
if (IXGBE_ATR_BUCKET_HASH_KEY & (0x01 << (n + 16))) \
bucket_hash ^= hi_hash_dword >> n; \
-} while (0)
;
+} while (0)
/**
* ixgbe_atr_compute_perfect_hash_82599 - Compute the perfect filter hash