[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20181210.115525.1254317204526284186.davem@davemloft.net>
Date: Mon, 10 Dec 2018 11:55:25 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: yuehaibing@...wei.com
Cc: pabeni@...hat.com, idosch@...lanox.com, ktkhai@...tuozzo.com,
lucien.xin@...il.com, petrm@...lanox.com,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] ipvlan: Remove a useless comparison
From: YueHaibing <yuehaibing@...wei.com>
Date: Mon, 10 Dec 2018 19:25:38 +0800
> Fix following gcc warning:
>
> drivers/net/ipvlan/ipvlan_main.c:543:12: warning:
> comparison is always false due to limited range of data type [-Wtype-limits]
>
> 'mode' is a u16 variable, IPVLAN_MODE_L2 is zero,
> the comparison is always false
>
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Applied.
Powered by blists - more mailing lists