Messages in this thread | | | From | Toke Høiland-Jørgensen <> | Subject | Re: [PATCH] ia64: fix sparse warnings with cmpxchg() & xchg() | Date | Mon, 06 Jun 2022 09:53:32 +0200 |
| |
Luc Van Oostenryck <luc.vanoostenryck@gmail.com> writes:
> On IA64, new sparse's warnings where issued after fixing > some __rcu annotations in kernel/bpf/. > > These new warnings are false positives and appear on IA64 because > on this architecture, the macros for cmpxchg() and xchg() make > casts that ignore sparse annotations. > > This patch contains the minimal patch to fix this issue: > adding a missing cast and some missing '__force'. > > Link: https://lore.kernel.org/r/20220601120013.bq5a3ynbkc3hngm5@mail > Reported-by: kernel test robot <lkp@intel.com> > Cc: Toke Høiland-Jørgensen <toke@redhat.com> > Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Ah, thank you for taking care of this! :)
Acked-by: Toke Høiland-Jørgensen <toke@redhat.com>
| |