Re: [PATCH ethtool v2 4/9] ioctl: make argc counters unsigned
From: Andrew Lunn <andrew@lunn.ch>
Date: 2020-08-23 20:08:30
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