diff options
| author | Shraddha Barke <shraddha.6596@gmail.com> | 2015-10-05 17:00:33 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-08 10:59:17 +0100 |
| commit | 281dd5ac142fc9ae19ba12353e860cfcab13b8ab (patch) | |
| tree | e64424963b28327eee5325cbb6ba91785704d3f9 /include/uapi/linux | |
| parent | bcf0265384ded8c89264202faf59fb538c6b25c4 (diff) | |
| download | cachepc-linux-281dd5ac142fc9ae19ba12353e860cfcab13b8ab.tar.gz cachepc-linux-281dd5ac142fc9ae19ba12353e860cfcab13b8ab.zip | |
Staging: wilc1000: host_interface: 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>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions
