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] [thread-next>] [day] [month] [year] [list]
Message-ID: <5175DFBC.7040000@asianux.com>
Date:	Tue, 23 Apr 2013 09:11:24 +0800
From:	Chen Gang <gang.chen@...anux.com>
To:	Sergei Shtylyov <sergei.shtylyov@...entembedded.com>
CC:	alex.bluesman.smirnov@...il.com, dbaryshkov@...il.com,
	David Miller <davem@...emloft.net>,
	linux-zigbee-devel@...ts.sourceforge.net,
	netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH] Net: mac802154: comparing issue by type cast, finding
 by EXTRA_CFLAGS=-W

On 2013年04月22日 22:09, Sergei Shtylyov wrote:
> 
>> Signed-off-by: Chen Gang <gang.chen@...anux.com>
>> ---
>>   net/mac802154/mac802154.h |    2 +-
>>   1 files changed, 1 insertions(+), 1 deletions(-)
> 
>> diff --git a/net/mac802154/mac802154.h b/net/mac802154/mac802154.h
>> index 5c9e021..c59309f 100644
>> --- a/net/mac802154/mac802154.h
>> +++ b/net/mac802154/mac802154.h
>> @@ -88,7 +88,7 @@ struct mac802154_sub_if_data {
>>
>>   #define mac802154_to_priv(_hw)    container_of(_hw, struct
>> mac802154_priv, hw)
>>
>> -#define MAC802154_CHAN_NONE        (~(u8)0) /* No channel is assigned */
>> +#define MAC802154_CHAN_NONE        (0xff) /* No channel is assigned */
> 
>    () not needed now.
> 
> WBR, Sergei
> 
> 

  ok, thanks.  I will send patch v2

-- 
Chen Gang

Asianux Corporation
--
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