[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAK8P3a2=5J3DhuoFMHVvRvpOHQ9w=SieGAUBJeE_+M9bg53jew@mail.gmail.com>
Date: Wed, 26 Jul 2017 23:41:23 +0200
From: Arnd Bergmann <arnd@...db.de>
To: Andrew Morton <akpm@...ux-foundation.org>
Cc: Mark Brown <broonie@...nel.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Charles Keepax <ckeepax@...nsource.wolfsonmicro.com>,
Tony Lindgren <tony@...mide.com>,
Michael Grzeschik <m.grzeschik@...gutronix.de>,
Ramesh Shanmugasundaram <ramesh.shanmugasundaram@...renesas.com>,
"Alex A. Mihaylov" <minimumlaw@...bler.ru>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning
On Wed, Jul 26, 2017 at 11:38 PM, Andrew Morton
<akpm@...ux-foundation.org> wrote:
> On Wed, 26 Jul 2017 15:37:32 +0200 Arnd Bergmann <arnd@...db.de> wrote:
>
>> When we pass the result of a multiplication as the timeout or
>> the delay, we can get a warning:
>
> from? gcc-7 I assume?
Correct, sorry for missing this. In fact, the warning is currently disabled
on mainline kernels, but there are only a couple of instance remaining,
so I expect to be able to turn it back on in the future.
Arnd
Powered by blists - more mailing lists