Re: [PATCH v2] netfilter: amanda: fix RCU pointer typing for nf_nat_amanda_hook

From: Florian Westphal

Date: Wed Feb 04 2026 - 07:26:23 EST


sun jian <sun.jian.kdev@xxxxxxxxx> wrote:
> To keep the code concise while stripping the RCU attribute, I'll use
> the typeof(*hook) * pattern

No, please leave this alone, the code is fine as-is, all sparse warnings
are due to missing annotations only.