Re: [PATCH 5.4] bcache: initialize 'sb_page' in register_bcache()

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

 



On Fri, May 01, 2020 at 01:13:19AM +0000, Tom Saeger wrote:
> On Thu, Apr 30, 2020 at 08:44:21AM +0200, Greg KH wrote:
> > On Wed, Apr 29, 2020 at 06:38:17PM +0000, Tom Saeger wrote:
> > > commit 393b8509be33 (bcache: rework error unwinding in register_bcache)
> > > 
> > > introduced compile warning:
> > > warning: 'sb_page' may be used uninitialized in this function [-Wmaybe-uninitialized]
> > > 

FWIW - 8f6a84167e86 (Stop the ad-hoc games with -Wno-maybe-initialized)

successfully squelched the warning I previously reported.  Still shows up with W=2
for me on FC31 (gcc9.3.1), but this is probably moot at this point.

--Tom



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux