Re: [dm-devel] dm-bufio: avoid false-positive Wmaybe-uninitialized warning

2018-03-07 Thread Arnd Bergmann
On Wed, Mar 7, 2018 at 2:29 AM, Mike Snitzer wrote: > On Tue, Mar 06 2018 at 4:33pm -0500, > Arnd Bergmann wrote: > >> On Thu, Feb 22, 2018 at 5:04 PM, Mike Snitzer wrote: >> > On Thu, Feb 22 2018 at 10:56am -0500, >> > Arnd Bergmann

Re: [dm-devel] dm-bufio: avoid false-positive Wmaybe-uninitialized warning

2018-03-06 Thread Mike Snitzer
On Tue, Mar 06 2018 at 4:33pm -0500, Arnd Bergmann wrote: > On Thu, Feb 22, 2018 at 5:04 PM, Mike Snitzer wrote: > > On Thu, Feb 22 2018 at 10:56am -0500, > > Arnd Bergmann wrote: > > > > > Mikulas already sent a fix for this: > >

Re: [dm-devel] dm-bufio: avoid false-positive Wmaybe-uninitialized warning

2018-03-06 Thread Arnd Bergmann
On Thu, Feb 22, 2018 at 5:04 PM, Mike Snitzer wrote: > On Thu, Feb 22 2018 at 10:56am -0500, > Arnd Bergmann wrote: > > Mikulas already sent a fix for this: > https://patchwork.kernel.org/patch/10211631/ > > But I like yours a bit better, though I'll likely

Re: [dm-devel] dm-bufio: avoid false-positive Wmaybe-uninitialized warning

2018-02-22 Thread Mike Snitzer
On Thu, Feb 22 2018 at 10:56am -0500, Arnd Bergmann wrote: > gcc-6.3 and earlier show a new warning after a seemingly unrelated change > to the arm64 PAGE_KERNEL definition: > > In file included from drivers/md/dm-bufio.c:14:0: > drivers/md/dm-bufio.c: In function 'alloc_buffer':