[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <521490A1.7030908@asianux.com>
Date: Wed, 21 Aug 2013 18:04:17 +0800
From: Chen Gang <gang.chen@...anux.com>
To: Marc Kleine-Budde <mkl@...gutronix.de>
CC: wg@...ndegger.com, anilkumar@...com,
Tony Lindgren <tony@...mide.com>, jg1.han@...sung.com,
David Miller <davem@...emloft.net>, linux-can@...r.kernel.org,
netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH next] drivers: net: can: c_can: add type cast from 'unsigned
int' to 'int'
On 08/21/2013 05:45 PM, Marc Kleine-Budde wrote:
> On 08/21/2013 11:09 AM, Chen Gang wrote:
>> 'priv->instance' may less than zero, so need a type cast, the related
>> warnings (allmodconfig, "EXTRA_CFLAGS=-W"):
>>
>> drivers/net/can/c_can/c_can_platform.c:198:3: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
>
> Tnx, I've tweaked the commit message a bit, will send a v2.
>
OK, thanks.
> Marc
>
--
Chen Gang
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists