]> git.baikalelectronics.ru Git - kernel.git/commit
ip6tnl: fix sparse warnings in ip6_tnl_netlink_parms()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 15 Nov 2012 04:06:42 +0000 (04:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Nov 2012 18:46:29 +0000 (13:46 -0500)
commit29bd1fe02f7b163d67085747c5a121a6a164874c
treea654569d46e48cc242fa7599f6f719e80348933b
parent7fe466cdd43b8c6bb1cec56d70b1787a468ac4ad
ip6tnl: fix sparse warnings in ip6_tnl_netlink_parms()

This change fixes a sparse warning triggered by casting the flowinfo from
netlink messages in an u32 instead of be32. This change corrects that in order
to resolve the sparse warning.

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>
net/ipv6/ip6_tunnel.c