commit | bcf0265384ded8c89264202faf59fb538c6b25c4 | [log] [tgz] |
---|---|---|
author | Shraddha Barke <shraddha.6596@gmail.com> | Mon Oct 05 17:00:32 2015 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Oct 08 10:59:17 2015 +0100 |
tree | 19bfb4f6a1c62074bad92f5437a2b05d4a1d5747 | |
parent | 8a3c033262311ad274ef40f5ab4f2ec1d453ad72 [diff] |
Staging: wilc1000: wilc_wfi_cfgoperations: Replace memset with eth_zero_addr Use eth_zero_addr to assign the zero address to the given address array instead of memset when second argument is address of zero. The Coccinelle patch used - // <smpl> @eth_zero_addr@ expression e; @@ -memset(e,0x00,ETH_ALEN); +eth_zero_addr(e); // </smpl> Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>