From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751121AbdGNTYt (ORCPT ); Fri, 14 Jul 2017 15:24:49 -0400 Received: from mail-oi0-f49.google.com ([209.85.218.49]:36830 "EHLO mail-oi0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750786AbdGNTYr (ORCPT ); Fri, 14 Jul 2017 15:24:47 -0400 MIME-Version: 1.0 In-Reply-To: <20170714092540.1217397-9-arnd@arndb.de> References: <20170714092540.1217397-1-arnd@arndb.de> <20170714092540.1217397-9-arnd@arndb.de> From: Linus Torvalds Date: Fri, 14 Jul 2017 12:24:45 -0700 X-Google-Sender-Auth: yfHJz_kXlQhWo5BdV4PBU9vlGao Message-ID: Subject: Re: [PATCH 08/14] Input: adxl34x - fix gcc-7 -Wint-in-bool-context warning To: Arnd Bergmann Cc: Linux Kernel Mailing List , Michael Hennerich , Dmitry Torokhov , Greg Kroah-Hartman , Tejun Heo , Guenter Roeck , IDE-ML , Linux Media Mailing List , Andrew Morton , DRI , "linux-input@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 14, 2017 at 2:25 AM, Arnd Bergmann wrote: > FIFO_MODE is an macro expression with a '<<' operator, which > gcc points out could be misread as a '<': Yeah, no, NAK again. We don't make the code look worse just because gcc is being a f*cking moron about things. This warning is clearly pure garbage. Linus