[PATCH net 3/3] rxrpc: Fix RESPONSE packet verification to extract skb to a linear buffer
David Howells
dhowells at redhat.com
Wed May 13 00:35:24 PDT 2026
Jakub Kicinski <kuba at kernel.org> 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
More information about the linux-afs
mailing list