[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y3Y4qa8xvRvsJBF0@kadam>
Date: Thu, 17 Nov 2022 16:35:37 +0300
From: Dan Carpenter <error27@...il.com>
To: David Howells <dhowells@...hat.com>
Cc: Marc Dionne <marc.dionne@...istor.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>, linux-afs@...ts.infradead.org,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] rxrpc: uninitialized variable in
rxrpc_send_ack_packet()
On Thu, Nov 17, 2022 at 11:59:32AM +0000, David Howells wrote:
> Dan Carpenter <error27@...il.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?
make W=2 will do it, but W=2 sucks...
regards,
dan carpenter
Powered by blists - more mailing lists