Re: [PATCH 14/14] [media] fix warning on v4l2_subdev_call() result interpreted as bool
From: Arnd Bergmann
Date: Mon Jul 17 2017 - 17:23:19 EST
On Mon, Jul 17, 2017 at 4:35 PM, Hans Verkuil <hverkuil@xxxxxxxxx> 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