Re: drivers/media/platform/am437x/am437x-vpfe.c:1698: bad test ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi David,

On Mon, Aug 3, 2015 at 3:02 PM, David Binderman <dcb314@xxxxxxxxxxx> wrote:
> Hello there,
>
> drivers/media/platform/am437x/am437x-vpfe.c:1698:27: warning: self-comparison always evaluates to true [-Wtautological-compare]
>
>      if (client->addr == curr_client->addr &&
>             client->adapter->nr == client->adapter->nr) {
>
> maybe
>
>      if (client->addr == curr_client->addr &&
>             client->adapter->nr == curr_client->adapter->nr) {
>
Good catch!
I'll post a patch fixing it.

Cheers,
--Prabhakar Lad
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux