diff options
| author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-08-24 13:27:10 +0800 |
|---|---|---|
| committer | John W. Linville <linville@tuxdriver.com> | 2012-09-07 15:03:39 -0400 |
| commit | 626a43de90cf5832a54a66f3320dba97dd073c48 (patch) | |
| tree | 08d6c801d067091e98edb4f130932567c2629a29 /lib/memory-notifier-error-inject.c | |
| parent | a71bf90facfdbb7322acd84c1299d68755ba5dfe (diff) | |
| download | olio-linux-3.10-626a43de90cf5832a54a66f3320dba97dd073c48.tar.xz olio-linux-3.10-626a43de90cf5832a54a66f3320dba97dd073c48.zip | |
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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions