Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752432AbdGQVXQ (ORCPT ); Mon, 17 Jul 2017 17:23:16 -0400 Received: from mail-oi0-f48.google.com ([209.85.218.48]:34045 "EHLO mail-oi0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751503AbdGQVXM (ORCPT ); Mon, 17 Jul 2017 17:23:12 -0400 MIME-Version: 1.0 In-Reply-To: <3a927e60-332a-f01d-f1af-98649e9f51b5@xs4all.nl> References: <20170714092540.1217397-1-arnd@arndb.de> <20170714093938.1469319-1-arnd@arndb.de> <3a927e60-332a-f01d-f1af-98649e9f51b5@xs4all.nl> From: Arnd Bergmann Date: Mon, 17 Jul 2017 23:23:11 +0200 X-Google-Sender-Auth: WcyLAPLMukbuXUOrHX9nfpjDYTQ Message-ID: Subject: Re: [PATCH 14/14] [media] fix warning on v4l2_subdev_call() result interpreted as bool To: Hans Verkuil Cc: Linux Kernel Mailing List , Mauro Carvalho Chehab , Greg Kroah-Hartman , Linus Torvalds , Tejun Heo , Guenter Roeck , IDE-ML , Linux Media Mailing List , Andrew Morton , dri-devel , =?UTF-8?Q?Niklas_S=C3=B6derlund?= , Robert Jarzmik , Daeseok Youn , Alan Cox , adi-buildroot-devel@lists.sourceforge.net, Linux-Renesas , Linux ARM , devel@driverdev.osuosl.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 Content-Length: 728 Lines: 18 On Mon, Jul 17, 2017 at 4:35 PM, Hans Verkuil wrote: > On 17/07/17 16:26, Arnd Bergmann wrote: >> Let me try again without ccache for now and see what warnings remain. >> We can find a solution for those first, and then decide how to deal with >> ccache. > > Sounds good. > > I'm OK with applying this if there is no other way to prevent these warnings. Small update: I noticed that having ccache being the default compiler even with CCACHE_DISABLE=1 causes a lot of these warnings. Completely taking ccache out of the picture however seems to have eliminated the warnings about v4l2_subdev_call() and other silly warnings, but not the interesting ones in the -Wint-in-bool-context category. Arnd