# Re: \[PATCH\] drivers/net: use is\_zero\_ether\_addr() instead of memcmp()

- From: David Miller \<davem@davemloft.net\>
- Date: 2012-08-24 17:30:50 
- List: linux-wireless
- Page: https://ratatoskr.run/linux-wireless/2012/08/10902623
- Thread: https://ratatoskr.run/linux-wireless/2012/08/10902623/t.md

```text
From: Wei Yongjun <redacted>
Date: Thu, 23 Aug 2012 15:16:44 +0800

> From: Wei Yongjun <redacted>
> 
> 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 <redacted>

Since this is wireless, John will pick it up.
```
