[PATCH 14/14] [media] fix warning on v4l2_subdev_call() result interpreted as bool

Arnd Bergmann arnd at arndb.de
Mon Jul 17 21:23:11 UTC 2017


On Mon, Jul 17, 2017 at 4:35 PM, Hans Verkuil <hverkuil at xs4all.nl> 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


More information about the dri-devel mailing list