netpoll: cleanup sparse warnings
authorNeil Horman <nhorman@tuxdriver.com>
Mon, 11 Feb 2013 10:25:31 +0000 (10:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Feb 2013 00:19:58 +0000 (19:19 -0500)
commit0790bbb68f9d483348c1d65381f3dd92602bfd05
tree638ca1562638653c2c77e2c192359c4f2f289b32
parent2cde6acd49daca58b96f1fbc697492825511ad31
netpoll: cleanup sparse warnings

With my recent commit I introduced two sparse warnings.  Looking closer there
were a few more in the same file, so I fixed them all up.  Basic rcu pointer
dereferencing suff.

I've validated these changes using CONFIG_PROVE_RCU while starting and stopping
netconsole repeatedly in bonded and non-bonded configurations

Signed-off-by: Neil Horman <nhorman@tuxdriver.com>
CC: fengguang.wu@intel.com
CC: David Miller <davem@davemloft.net>
CC: eric.dumazet@gmail.com
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/netpoll.c