Hi Peter,
Quoting Peter Senna Tschudin :
On Mon, Feb 20, 2017 at 05:28:46PM -0600, Gustavo A. R. Silva wrote:
'val' is an unsigned variable, and less-than-zero comparison of an unsigned
variable is never true.
I would add that val is set by kstrtoul() that converts a string to an
unsigned lo
On Mon, Feb 20, 2017 at 05:28:46PM -0600, Gustavo A. R. Silva wrote:
> 'val' is an unsigned variable, and less-than-zero comparison of an unsigned
> variable is never true.
I would add that val is set by kstrtoul() that converts a string to an
unsigned long.
>
> Addresses-Coverity-ID: 1230257
Re
2 matches
Mail list logo