[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20161018.102547.1252630571952098432.davem@davemloft.net>
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