Thread (6 messages) 6 messages, 4 authors, 2025-03-21

Re: [PATCH net-next] xfrm: Remove unnecessary NULL check in xfrm_lookup_with_ifid()

From: Steffen Klassert <steffen.klassert@secunet.com>
Date: 2025-03-21 02:46:33
Also in: kernel-janitors, lkml

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 <redacted>
Applied, thanks a lot Dan!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help