[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+V-a8uPiYmP3n0xF7McpNgHn5qadaJt0hEsyg2MTPzG6J2YGQ@mail.gmail.com>
Date: Tue, 15 Mar 2016 18:30:37 +0000
From: "Lad, Prabhakar" <prabhakar.csengg@...il.com>
To: Arnd Bergmann <arnd@...db.de>
Cc: Mauro Carvalho Chehab <mchehab@....samsung.com>,
Hans Verkuil <hans.verkuil@...co.com>,
Seung-Woo Kim <sw0312.kim@...sung.com>,
Benoit Parrot <bparrot@...com>,
Junghak Sung <jh1009.sung@...sung.com>,
linux-media <linux-media@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 2/3] [media] am437x-vfpe: fix typo in vpfe_get_app_input_index
Hi Arnd,
Thanks for the patch.
On Mon, Mar 14, 2016 at 10:40 PM, Arnd Bergmann <arnd@...db.de> wrote:
> gcc-6 points out an obviously silly comparison in vpfe_get_app_input_index():
>
> drivers/media/platform/am437x/am437x-vpfe.c: In function 'vpfe_get_app_input_index':
> drivers/media/platform/am437x/am437x-vpfe.c:1709:27: warning: self-comparison always evaluats to true [-Wtautological-compare]
> client->adapter->nr == client->adapter->nr) {
> ^~
>
> This was introduced in a slighly incorrect conversion, and it's
> clear that the comparison was meant to compare the iterator
> to the current subdev instead, as we do in the line above.
>
> Signed-off-by: Arnd Bergmann <arnd@...db.de>
> Fixes: d37232390fd4 ("[media] media: am437x-vpfe: match the OF node/i2c addr instead of name")
> ---
Acked-by: Lad, Prabhakar <prabhakar.csengg@...il.com>
Cheers,
--Prabhakar Lad
Powered by blists - more mailing lists