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]
Date:   Tue, 18 Oct 2016 10:25:47 -0400 (EDT)
From:   David Miller <davem@...emloft.net>
To:     tklauser@...tanz.ch
Cc:     kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: [PATCH] vlan: Remove unnecessary comparison of unsigned
 against 0

From: Tobias Klauser <tklauser@...tanz.ch>
Date: Tue, 18 Oct 2016 08:44:17 +0200

> args.u.name_type is of type unsigned int and is always >= 0.
> 
> This fixes the following GCC warning:
> 
>   net/8021q/vlan.c: In function ‘vlan_ioctl_handler’:
>   net/8021q/vlan.c:574:14: warning: comparison of unsigned expression >= 0 is always true [-Wtype-limits]
> 
> Signed-off-by: Tobias Klauser <tklauser@...tanz.ch>

Applied to net-next, thanks.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ