summaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_conntrack_netlink.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso2014-01-20 01:55:42 +0100
committerPablo Neira Ayuso2014-02-19 11:41:25 +0100
commit2ba436fc02f95446bfcb7138db44920ab63deb61 (patch)
tree639fc1cc5dab83c490b5673d9db8f1dc2d5bf911 /net/netfilter/nf_conntrack_netlink.c
parentnetfilter: remove double colon (diff)
downloadkernel-qcow2-linux-2ba436fc02f95446bfcb7138db44920ab63deb61.tar.gz
kernel-qcow2-linux-2ba436fc02f95446bfcb7138db44920ab63deb61.tar.xz
kernel-qcow2-linux-2ba436fc02f95446bfcb7138db44920ab63deb61.zip
netfilter: xt_ipcomp: Use ntohs to ease sparse warning
0-DAY kernel build testing backend reported: sparse warnings: (new ones prefixed by >>) >> >> net/netfilter/xt_ipcomp.c:63:26: sparse: restricted __be16 degrades to integer >> >> net/netfilter/xt_ipcomp.c:63:26: sparse: cast to restricted __be32 Fix this by using ntohs without shifting. Tested with: make C=1 CF=-D__CHECK_ENDIAN__ Signed-off-by: Fan Du <fan.du@windriver.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/nf_conntrack_netlink.c')
0 files changed, 0 insertions, 0 deletions