Thread (12 messages) 12 messages, 2 authors, 2020-08-23

Re: [PATCH ethtool v2 4/9] ioctl: make argc counters unsigned

From: Andrew Lunn <andrew@lunn.ch>
Date: 2020-08-23 20:08:30

On Sun, Aug 23, 2020 at 09:40:27PM +0200, Michal Kubecek wrote:
Use unsigned int for cmd_context::argc and local variables used for
command line argument count. These counters may never get negative and are
often compared to unsigned expressions.

Signed-off-by: Michal Kubecek <redacted>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>

    Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help