summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte2005-08-12 20:36:44 +0200
committerDavid S. Miller2005-08-30 00:57:14 +0200
commitb766b305d3f2d8be173e5d9853534ea1afdbabba (patch)
treef3368c13b2644965cb16dfd80dd044621ec35608 /include
parent[NET]: Deinline netif_carrier_{on,off}(). (diff)
downloadkernel-qcow2-linux-b766b305d3f2d8be173e5d9853534ea1afdbabba.tar.gz
kernel-qcow2-linux-b766b305d3f2d8be173e5d9853534ea1afdbabba.tar.xz
kernel-qcow2-linux-b766b305d3f2d8be173e5d9853534ea1afdbabba.zip
[NETFILTER]: Fix gcc-3.4.x warning about iplicit operator precedence
Fix gcc-3.4.x warning about iplicit operator precedence in NF_QUEUE_NR() Signed-off-by: Harald Welte <laforge@netfilter.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/netfilter.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/netfilter.h b/include/linux/netfilter.h
index 189ba67ba603..be365e70ee99 100644
--- a/include/linux/netfilter.h
+++ b/include/linux/netfilter.h
@@ -29,7 +29,7 @@
#define NF_VERDICT_QMASK 0xffff0000
#define NF_VERDICT_QBITS 16
-#define NF_QUEUE_NR(x) ((x << NF_VERDICT_QBITS) & NF_VERDICT_QMASK | NF_QUEUE)
+#define NF_QUEUE_NR(x) (((x << NF_VERDICT_QBITS) & NF_VERDICT_QMASK) | NF_QUEUE)
/* only for userspace compatibility */
#ifndef __KERNEL__