Re: [PATCH] byteorder: silence warning by use the proper type

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jan 24, 2018 at 05:07:25PM -0200, rodrigosiqueira wrote:
> This patch fixes the GCC warning:
> 
> warning: comparison between signed and unsigned integer expressions
> [-Wsign-compare]
>   for (i = 0; i < len; i++)
>                 ^

I wish GCC wouldn't generate warnings which are clearly dumb.  :(  This
kind of warning has a over 99% false positive rate in finding real bugs.

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux