[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA++WF2O2SJ+_gATBXrDaoGZ2DA18gK=qM8Y4E9No84J3RCW5XA@mail.gmail.com>
Date: Fri, 24 Aug 2012 01:12:09 +0400
From: Stanislav Yakovlev <stas.yakovlev@...il.com>
To: Wei Yongjun <weiyj.lk@...il.com>
Cc: linville@...driver.com, yongjun_wei@...ndmicro.com.cn,
linux-wireless@...r.kernel.org, netdev@...r.kernel.org
Subject: Re: [PATCH] ipw2100: use is_zero_ether_addr() and is_broadcast_ether_addr()
Hi,
On 23 August 2012 10:53, Wei Yongjun <weiyj.lk@...il.com> wrote:
> From: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
>
> Using is_zero_ether_addr() and is_broadcast_ether_addr() instead of
> directly use memcmp() to determine if the ethernet address is all zeros.
>
> spatch with a semantic match is used to found this problem.
> (http://coccinelle.lip6.fr/)
>
> Signed-off-by: Wei Yongjun <yongjun_wei@...ndmicro.com.cn>
> ---
> drivers/net/wireless/ipw2x00/ipw2100.c | 11 ++---------
> 1 file changed, 2 insertions(+), 9 deletions(-)
Looks fine, thanks.
Stanislav.
--
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