lkml.org 
[lkml]   [2017]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning
On Wed, Jul 26, 2017 at 11:38 PM, Andrew Morton
<akpm@linux-foundation.org> wrote:
> On Wed, 26 Jul 2017 15:37:32 +0200 Arnd Bergmann <arnd@arndb.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

\
 
 \ /
  Last update: 2017-07-26 23:41    [W:0.057 / U:4.272 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site