Re: [bug report] qed: sanitize PBL chains allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Jul 27, 2020 at 02:21:17PM +0300, Alexander Lobakin wrote:
> Data: Mon, 27 Jul 2020 13:32:00 +0300
> From: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
> 
> > Hello Alexander Lobakin,
> 
> Hi Dan!
> 
> > The patch 9b6ee3cf95d3: "qed: sanitize PBL chains allocation" from Jul 23, 2020, leads to the following 
> > static checker warning:
> > 
> > 	drivers/net/ethernet/qlogic/qed/qed_chain.c:299 qed_chain_alloc_pbl()
> > 	error: uninitialized symbol 'pbl_virt'.
> 
> Oh Gosh, how could I miss that with W=1 C=1.

It's a bug in GCC.  It initializes it to zero instead of complaining.
It seems to have gotten worse in recent months...

regards,
dan carpenter




[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux