• Guillaume Nault's avatar
    ppp: fix __percpu annotation · 5a59a3a0
    Guillaume Nault authored
    Move sparse annotation right after pointer type.
    
    Fixes sparse warning:
        drivers/net/ppp/ppp_generic.c:1422:13: warning: incorrect type in initializer (different address spaces)
        drivers/net/ppp/ppp_generic.c:1422:13:    expected void const [noderef] <asn:3>*__vpp_verify
        drivers/net/ppp/ppp_generic.c:1422:13:    got int *<noident>
        ...
    
    Fixes: e5dadc65 ("ppp: Fix false xmit recursion detect with two ppp devices")
    Signed-off-by: default avatarGuillaume Nault <g.nault@alphalink.fr>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    5a59a3a0
ppp_generic.c 75.8 KB