]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
snmp: fix some left over of snmp stats
authorWANG Cong <xiyou.wangcong@gmail.com>
Mon, 12 May 2014 23:52:02 +0000 (16:52 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 May 2014 19:33:47 +0000 (15:33 -0400)
commitc9f2dba61b52d3cab70c176554cf955059a434ba
tree82ce153bd8926c9f6a83b8dc61e3a7092fc3c886
parent122ff243f5f104194750ecbc76d5946dd1eec934
snmp: fix some left over of snmp stats

Fengguang reported the following sparse warning:

>> net/ipv6/proc.c:198:41: sparse: incorrect type in argument 1 (different address spaces)
   net/ipv6/proc.c:198:41:    expected void [noderef] <asn:3>*mib
   net/ipv6/proc.c:198:41:    got void [noderef] <asn:3>**pcpumib

Fixes: commit 698365fa1874aa7635d51667a3 (net: clean up snmp stats code)
Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/proc.c
net/sctp/proc.c