From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751327AbdGZViC (ORCPT ); Wed, 26 Jul 2017 17:38:02 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:37340 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750952AbdGZViB (ORCPT ); Wed, 26 Jul 2017 17:38:01 -0400 Date: Wed, 26 Jul 2017 14:38:00 -0700 From: Andrew Morton To: Arnd Bergmann Cc: Mark Brown , Masahiro Yamada , Charles Keepax , Tony Lindgren , Michael Grzeschik , Ramesh Shanmugasundaram , "Alex A. Mihaylov" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] [v2] iopoll: avoid -Wint-in-bool-context warning Message-Id: <20170726143800.73149862683242369a2c51a9@linux-foundation.org> In-Reply-To: <20170726133756.2161367-1-arnd@arndb.de> References: <20170726133756.2161367-1-arnd@arndb.de> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 26 Jul 2017 15:37:32 +0200 Arnd Bergmann 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?