[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180124212156.3ftylyibl3fqgq4u@mwanda>
Date: Thu, 25 Jan 2018 00:21:56 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: rodrigosiqueira <rodrigosiqueiramelo@...il.com>
Cc: mika.westerberg@...ux.intel.com, michael.jamet@...el.com,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] byteorder: silence warning by use the proper type
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
Powered by blists - more mailing lists