summaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6_tunnel.c
diff options
context:
space:
mode:
authorNicolas Dichtel <nicolas.dichtel@6wind.com>2012-11-15 04:06:41 +0000
committerDavid S. Miller <davem@davemloft.net>2012-11-15 13:46:29 -0500
commitd440b72068bb8dff3cc1c2a05b61e60843d82494 (patch)
treed88dd49557e063e7cab3ff9442a3c2c3a4b0cf15 /net/ipv6/ip6_tunnel.c
parentfea379b2db31f5c44f2a24645de5ea29721f22aa (diff)
downloadop-kernel-dev-d440b72068bb8dff3cc1c2a05b61e60843d82494.zip
op-kernel-dev-d440b72068bb8dff3cc1c2a05b61e60843d82494.tar.gz
sit: fix sparse warnings
This change fixes several sparse warnings about endianness problem. The wrong nla_*() functions were used. It also fix a sparse warning about a flag test (field i_flags). This field is used in this file like a local flag only, so it is more an u16 (gre uses it as a be16). This sparse warning was already there before the patch that add netlink management, the code has just been moved. Reported-by: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_tunnel.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud