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

- From: David Miller \<hidden\>
- Date: 2012-08-24 17:30:50 
- List: netdev
- Page: https://ratatoskr.run/netdev/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.
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
```
