[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z9zS/HL/5o+Yd7t3@gauss3.secunet.de>
Date: Fri, 21 Mar 2025 03:46:20 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Dan Carpenter <dan.carpenter@...aro.org>
CC: Herbert Xu <herbert@...dor.apana.org.au>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Jakub Kicinski
<kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>, Simon Horman
<horms@...nel.org>, <netdev@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH net-next] xfrm: Remove unnecessary NULL check in
xfrm_lookup_with_ifid()
On Wed, Mar 12, 2025 at 08:21:13PM +0300, Dan Carpenter wrote:
> This NULL check is unnecessary and can be removed. It confuses
> Smatch static analysis tool because it makes Smatch think that
> xfrm_lookup_with_ifid() can return a mix of NULL pointers and errors so
> it creates a lot of false positives. Remove it.
>
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
Applied, thanks a lot Dan!
Powered by blists - more mailing lists