]> Pileus Git - ~andy/linux/commit
igmp: fix new sparse errors
authorEric Dumazet <edumazet@google.com>
Wed, 12 Jun 2013 21:11:16 +0000 (14:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jun 2013 21:14:55 +0000 (14:14 -0700)
commitc70eba74532a9b54583689fead6e2e8f3a86e1c5
treedb6a1d797a34fc345a6561a3c05c3307f90bf595
parent5eaedf31319d5f80eaaee1eec8dd18c0b452f0d1
igmp: fix new sparse errors

Fix following sparse errors :

net/ipv4/igmp.c:1222:25: warning: cast from restricted __be32
net/ipv4/igmp.c:1234:31: warning: incorrect type in assignment (different address spaces)
net/ipv4/igmp.c:1234:31:    expected struct ip_mc_list [noderef] <asn:4>*next_hash
net/ipv4/igmp.c:1234:31:    got struct ip_mc_list *<noident>
net/ipv4/igmp.c:1250:31: warning: incorrect type in assignment (different address spaces)
net/ipv4/igmp.c:1250:31:    expected struct ip_mc_list [noderef] <asn:4>*next_hash
net/ipv4/igmp.c:1250:31:    got struct ip_mc_list *<noident>
net/ipv4/igmp.c:2380:37: warning: cast from restricted __be32

These were added by commit e9897071350bd9
("igmp: hash a hash table to speedup ip_check_mc_rcu()")

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/igmp.c