Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1697580
| From | Arnd Bergmann <arnd@arndb.de> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning |
| Date | 2017-07-26 23:50 +0200 |
| Message-ID | <u7ClP-5Jg-1@gated-at.bofh.it> (permalink) |
| References | <u7uHE-SQ-27@gated-at.bofh.it> <u7Cca-5FZ-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning Arnd Bergmann <arnd@arndb.de> - 2017-07-26 15:40 +0200
Re: [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning Mark Brown <broonie@kernel.org> - 2017-07-26 16:30 +0200
Re: [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning Andrew Morton <akpm@linux-foundation.org> - 2017-07-26 23:40 +0200
Re: [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning Mark Brown <broonie@kernel.org> - 2017-07-27 12:00 +0200
Re: [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning Andrew Morton <akpm@linux-foundation.org> - 2017-07-26 23:40 +0200
Re: [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning Arnd Bergmann <arnd@arndb.de> - 2017-07-26 23:50 +0200
csiph-web