All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Mark Brown <broonie@kernel.org>,
	Masahiro Yamada <yamada.masahiro@socionext.com>,
	Charles Keepax <ckeepax@opensource.wolfsonmicro.com>,
	Tony Lindgren <tony@atomide.com>,
	Michael Grzeschik <m.grzeschik@pengutronix.de>,
	Ramesh Shanmugasundaram <ramesh.shanmugasundaram@bp.renesas.com>,
	"Alex A. Mihaylov" <minimumlaw@rambler.ru>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning
Date: Wed, 26 Jul 2017 23:41:23 +0200	[thread overview]
Message-ID: <CAK8P3a2=5J3DhuoFMHVvRvpOHQ9w=SieGAUBJeE_+M9bg53jew@mail.gmail.com> (raw)
In-Reply-To: <20170726143800.73149862683242369a2c51a9@linux-foundation.org>

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

      reply	other threads:[~2017-07-26 21:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-26 13:37 [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning Arnd Bergmann
2017-07-26 14:28 ` Mark Brown
2017-07-26 21:39   ` Andrew Morton
2017-07-27  9:53     ` Mark Brown
2017-07-26 21:38 ` Andrew Morton
2017-07-26 21:41   ` Arnd Bergmann [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAK8P3a2=5J3DhuoFMHVvRvpOHQ9w=SieGAUBJeE_+M9bg53jew@mail.gmail.com' \
    --to=arnd@arndb.de \
    --cc=akpm@linux-foundation.org \
    --cc=broonie@kernel.org \
    --cc=ckeepax@opensource.wolfsonmicro.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.grzeschik@pengutronix.de \
    --cc=minimumlaw@rambler.ru \
    --cc=ramesh.shanmugasundaram@bp.renesas.com \
    --cc=tony@atomide.com \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.