• Neil Horman's avatar
    netpoll: cleanup sparse warnings · 0790bbb6
    Neil Horman authored
    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: default avatarNeil Horman <nhorman@tuxdriver.com>
    CC: fengguang.wu@intel.com
    CC: David Miller <davem@davemloft.net>
    CC: eric.dumazet@gmail.com
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    0790bbb6
netpoll.c 30.6 KB