diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-08-24 09:27:10 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-09-07 23:03:39 +0400 |
commit | 626a43de90cf5832a54a66f3320dba97dd073c48 (patch) | |
tree | 08d6c801d067091e98edb4f130932567c2629a29 /drivers/net/wireless/ath/ath9k/ar9003_mci.c | |
parent | a71bf90facfdbb7322acd84c1299d68755ba5dfe (diff) | |
download | linux-626a43de90cf5832a54a66f3320dba97dd073c48.tar.xz |
mwifiex: use is_zero_ether_addr() instead of memcmp()
Using is_zero_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@trendmicro.com.cn>
Acked-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9003_mci.c')
0 files changed, 0 insertions, 0 deletions