From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from Chamillionaire.breakpoint.cc (Chamillionaire.breakpoint.cc [91.216.245.30]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6DDAF399003; Wed, 4 Feb 2026 12:24:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.216.245.30 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770207858; cv=none; b=dxMII+GqKoQCnm/qvmyaSZeBUcPafr42EccbTEkAI8SxEM+FBA4dqmw/JiItL/mhXE2v79EFDNc+jD/MRNNPbR/MC52UgyOM/AIt6cE2uLYobzLvS47SflOvCF2SRKZ8RAJJoWfQSjylPcOO4WuBUUd6kpFt666Gaa6dBQ3c03o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770207858; c=relaxed/simple; bh=Q9NnF6+cxae/dB8rBRyaWmvIuUqCqZwtM7PnXOAT1wE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=J63WYhYcNrFhuIgAsy6dWerDyQSyyeSCvylaiDxxyyViy0BA8vayp+iKVDahsL9j5b/JURfh2/aFOfIbEwyFk4W7m1sMm8PENzaugqJmMSy+eYJ0qwFM3W456JAzacgTjTiJxJtRjvEI0dHuCS+meJlFw0U7BFeGmWxwe4GHwmE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de; spf=pass smtp.mailfrom=strlen.de; arc=none smtp.client-ip=91.216.245.30 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=strlen.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=strlen.de Received: by Chamillionaire.breakpoint.cc (Postfix, from userid 1003) id 3D1296033F; Wed, 04 Feb 2026 13:24:15 +0100 (CET) Date: Wed, 4 Feb 2026 13:24:14 +0100 From: Florian Westphal To: sun jian Cc: Pablo Neira Ayuso , Phil Sutter , Simon Horman , netfilter-devel@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] netfilter: amanda: fix RCU pointer typing for nf_nat_amanda_hook Message-ID: References: <20260203080109.2682183-1-sun.jian.kdev@gmail.com> <20260203145511.164485-1-sun.jian.kdev@gmail.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: sun jian 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.