Re: dm-bufio: avoid false-positive Wmaybe-uninitialized warning
From: Mike Snitzer
Date: Tue Mar 06 2018 - 20:29:51 EST
On Tue, Mar 06 2018 at 4:33pm -0500,
Arnd Bergmann <arnd@xxxxxxxx> wrote:
> On Thu, Feb 22, 2018 at 5:04 PM, Mike Snitzer <snitzer@xxxxxxxxxx> wrote:
> > On Thu, Feb 22 2018 at 10:56am -0500,
> > Arnd Bergmann <arnd@xxxxxxxx> 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 move the declaration
> > of 'noio_flag' temporary inside the conditional.
> >
> > Anyway, I'll get this fixed up shortly, thanks.
>
> I see the fix made it into linux-next on the same day, but the build bots still
> report the warning for mainline kernels and now also for stable kernels
> that got a backport of the patch that introduced it on arm64.
>
> I assume you had not planned to send it for mainline, any chance you
> could change that and send it as a bugfix with a 'Cc:
> stable@xxxxxxxxxxxxxxx' tag to restore a clean build?
I did/do plan to send to Linus this week.
But I've updated the commit header to include the CC: stable like you
asked.
Thanks,
Mike