]> git.baikalelectronics.ru Git - kernel.git/commit
net: fix two sparse warnings introduced by IGMP/MLD parsing exports
authorLinus Lüssing <linus.luessing@c0d3.blue>
Mon, 4 May 2015 22:19:35 +0000 (00:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2015 23:19:54 +0000 (19:19 -0400)
commit504c458f7346bc64c8bac0a21e458baed710c61d
treeadf97ee64e90a7477b37cb30f396d1cb8bec2060
parent465aab6a6ff12a1ed11dc9f826a2731a4b9dac93
net: fix two sparse warnings introduced by IGMP/MLD parsing exports

> net/core/skbuff.c:4108:13: sparse: incorrect type in assignment (different base types)
> net/ipv6/mcast_snoop.c:63 ipv6_mc_check_exthdrs() warn: unsigned 'offset' is never less than zero.

Introduced by 235fe4730414a3a8c9b779c19c89716ded03c8ed
("net: Export IGMP/MLD message validation code")

Reported-by: kbuild test robot <fengguang.wu@intel.com>
Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c
net/ipv6/mcast_snoop.c