lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ