[PATCH net-next] rxrpc: uninitialized variable in rxrpc_send_ack_packet()

David Howells dhowells at redhat.com
Thu Nov 17 03:59:32 PST 2022


Dan Carpenter <error27 at gmail.com> wrote:

> We disabled GCC's check for uninitialized variables.  It could be that
> you have the .config to automatically zero out stack variables.
> 
> CONFIG_CC_HAS_AUTO_VAR_INIT_PATTERN=y
> CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO_BARE=y
> CONFIG_CC_HAS_AUTO_VAR_INIT_ZERO=y

Ah.  Is there a way to reenable that?

David




More information about the linux-afs mailing list