lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<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

Powered by Openwall GNU/*/Linux Powered by OpenVZ