]> git.baikalelectronics.ru Git - kernel.git/commit
ppp: fix __percpu annotation
authorGuillaume Nault <g.nault@alphalink.fr>
Thu, 28 Sep 2017 15:57:58 +0000 (17:57 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Oct 2017 02:58:10 +0000 (03:58 +0100)
commit04a71acfe38c59bbc8de3280f2170b6edebe5d0a
tree612614d152b1590ba4527b893549e191a4a8a016
parent7c7d83e5ef9cdcbe4a63e2827834bed0b970c62f
ppp: fix __percpu annotation

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: 7740371c8bc3 ("ppp: Fix false xmit recursion detect with two ppp devices")
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ppp/ppp_generic.c