• F
    xfrm: avoid rcu sparse warning · 423826a7
    Florian Westphal 提交于
    xfrm/xfrm_state.c:1973:21: error: incompatible types in comparison expression (different address spaces)
    
    Harmless, but lets fix it to reduce the noise.
    
    While at it, get rid of unneeded NULL check, its never hit:
    
    net/ipv4/xfrm4_state.c: xfrm_state_register_afinfo(&xfrm4_state_afinfo);
    net/ipv6/xfrm6_state.c: return xfrm_state_register_afinfo(&xfrm6_state_afinfo);
    net/ipv6/xfrm6_state.c: xfrm_state_unregister_afinfo(&xfrm6_state_afinfo);
    
    ... are the only callsites.
    Signed-off-by: NFlorian Westphal <fw@strlen.de>
    Signed-off-by: NSteffen Klassert <steffen.klassert@secunet.com>
    423826a7
xfrm_state.c 55.5 KB