Re: net/netfilter/nf_nat_amanda.c:75:9: sparse: sparse: incorrect type in assignment (different modifiers)
From: sun jian
Date: Tue Mar 03 2026 - 02:32:14 EST
On Mon, Mar 2, 2026 at 11:17 PM kernel test robot <lkp@xxxxxxxxx> wrote:
>
> Hi Sun,
>
> FYI, the error/warning was bisected to this commit, please ignore it if it's irrelevant.
>
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> head: 11439c4635edd669ae435eec308f4ab8a0804808
> commit: 07919126ecfc392102555a70016db3e591abcb3d netfilter: annotate NAT helper hook pointers with __rcu
Thanks for the report. I can reproduce it and will send a separate follow-up
patch shortly to address the sparse warnings.
Sun Jian