netfilter: nf_dup: fix sparse warnings
authorPablo Neira Ayuso <pablo@netfilter.org>
Fri, 21 Aug 2015 19:28:10 +0000 (21:28 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 21 Aug 2015 19:29:19 +0000 (21:29 +0200)
commit59e26423e00263b6b06b39d219147f22610ce5d6
treed56bbadf4339497fab2d9dc7dfcfc646f45b1e0b
parent81bf1c64e7fe08f956c74fe2b0f1fa6eb163bd91
netfilter: nf_dup: fix sparse warnings

>> net/ipv4/netfilter/nft_dup_ipv4.c:29:37: sparse: incorrect type in initializer (different base types)
   net/ipv4/netfilter/nft_dup_ipv4.c:29:37:    expected restricted __be32 [user type] s_addr
   net/ipv4/netfilter/nft_dup_ipv4.c:29:37:    got unsigned int [unsigned] <noident>

>> net/ipv6/netfilter/nf_dup_ipv6.c:48:23: sparse: incorrect type in assignment (different base types)
   net/ipv6/netfilter/nf_dup_ipv6.c:48:23:    expected restricted __be32 [addressable] [assigned] [usertype] flowlabel
   net/ipv6/netfilter/nf_dup_ipv6.c:48:23:    got int

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/ipv4/netfilter/nft_dup_ipv4.c
net/ipv6/netfilter/nf_dup_ipv6.c