Re: [PATCH] net: sched: Fix warnings from xchg() on RCU'd cookie pointer.

2018-07-09 Thread Vlad Buslov
On Mon 09 Jul 2018 at 15:30, Marcelo Ricardo Leitner wrote: > On Sun, Jul 08, 2018 at 05:03:58PM +0900, David Miller wrote: >> >> The kbuild test robot reports: >> >> >> net/sched/act_api.c:71:15: sparse: incorrect type in initializer >> >> (different address spaces) @@expected struct tc

Re: [PATCH] net: sched: Fix warnings from xchg() on RCU'd cookie pointer.

2018-07-09 Thread Marcelo Ricardo Leitner
On Sun, Jul 08, 2018 at 05:03:58PM +0900, David Miller wrote: > > The kbuild test robot reports: > > >> net/sched/act_api.c:71:15: sparse: incorrect type in initializer > >> (different address spaces) @@expected struct tc_cookie [noderef] > >> *__ret @@got [noderef] *__ret @@ >net/s

[PATCH] net: sched: Fix warnings from xchg() on RCU'd cookie pointer.

2018-07-08 Thread David Miller
The kbuild test robot reports: >> net/sched/act_api.c:71:15: sparse: incorrect type in initializer (different >> address spaces) @@expected struct tc_cookie [noderef] *__ret @@ >> got [noderef] *__ret @@ net/sched/act_api.c:71:15:expected struct tc_cookie [noderef] *__ret net