Re: [PATCH net 3/3] rxrpc: Fix RESPONSE packet verification to extract skb to a linear buffer
From: David Howells
Date: Wed May 13 2026 - 03:36:49 EST
Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
> net/rxrpc/conn_event.c:254:10: warning: variable 'ret' is uninitialized when used here [-Wuninitialized]
> 254 | return ret;
> | ^~~
> net/rxrpc/conn_event.c:250:9: note: initialize the variable 'ret' to silence this warning
> 250 | int ret;
> | ^
> | = 0
I'm puzzled why gcc doesn't report a lot of these, even compiling with W=1.
This one is pretty obvious.
David