Re: dm-bufio: avoid false-positive Wmaybe-uninitialized warning

From: Arnd Bergmann
Date: Tue Mar 06 2018 - 16:33:55 EST


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?

Arnd