Thread (2 messages) flat view 2 messages, 2 authors, 2016-10-18

Re: [PATCH] vlan: Remove unnecessary comparison of unsigned against 0

From: David Miller <davem@davemloft.net>
Date: 2016-10-18 14:25:49

From: Tobias Klauser <tklauser@distanz.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@distanz.ch>
Applied to net-next, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help