diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-08-25 09:39:15 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-04 14:14:08 -0700 |
commit | 6a5c23194e09103ed24301e098c03a7da382a656 (patch) | |
tree | 981c10be9e5ed9593561a64e67bd4c5223ef23cc /drivers/staging/rtl8712 | |
parent | c8be681fad93aac2121efcd1bcff54ffe53403eb (diff) |
staging: csr: 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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8712')
0 files changed, 0 insertions, 0 deletions