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

Arnd Bergmann arnd at arndb.de
Tue Mar 6 21:33:46 UTC 2018


On Thu, Feb 22, 2018 at 5:04 PM, Mike Snitzer <snitzer at redhat.com> wrote:
> On Thu, Feb 22 2018 at 10:56am -0500,
> Arnd Bergmann <arnd at arndb.de> 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 at vger.kernel.org' tag to restore a clean build?

       Arnd




More information about the dm-devel mailing list