commit | 8ca1b55a49f3b8e139fb4567b966f03a734e744f | [log] [tgz] |
---|---|---|
author | Vaishali Thakkar <vthakkar1994@gmail.com> | Sun Jun 21 10:56:21 2015 +0530 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 06 19:23:35 2015 -0700 |
tree | c4001b377000135ba484c64c847631e7dec4edbe | |
parent | e26bb71da9cf3c54cd8b1c1341a9c9b89e704ca6 [diff] |
Staging: wilc1000: 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 semantic patch that makes this change is as follows: // <smpl> @eth_zero_addr@ expression e; @@ -memset(e,0x00,ETH_ALEN); +eth_zero_addr(e); // </smpl> Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>