Re: [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning
From: Arnd Bergmann
Date: Wed Jul 26 2017 - 17:41:30 EST
On Wed, Jul 26, 2017 at 11:38 PM, Andrew Morton
<akpm@xxxxxxxxxxxxxxxxxxxx> wrote:
> On Wed, 26 Jul 2017 15:37:32 +0200 Arnd Bergmann <arnd@xxxxxxxx> 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