]> git.baikalelectronics.ru Git - kernel.git/commit
ipip: fix sparse warnings in ipip_netlink_parms()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 15 Nov 2012 04:06:40 +0000 (04:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Nov 2012 18:46:29 +0000 (13:46 -0500)
commit6378ee3e4aa82ee7310545762bfb168afa766575
tree194f837b1dd1a297289e513c2a73bf7bbe760e76
parent8806866f0cf8d58e90268172c9911f5a6957d640
ipip: fix sparse warnings in ipip_netlink_parms()

This change fixes two sparse warnings triggered by casting the ip addresses
from netlink messages in an u32 instead of be32. This change corrects that
in order to resolve the sparse warnings.

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/ipv4/ipip.c