Tag: 281dd5ac142fc9ae19ba12353e860cfcab13b8ab

Staging: wilc1000: host_interface: Replace memset with eth_zero_addr

Author: Shraddha Barke <shraddha.6596@gmail.com> 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 – // @eth_zero_addr@ expression e; @@ -memset(e,0x00,ETH_ALEN); +eth_zero_addr(e); // Signed-off-by: Shraddha Barke Signed-off-by: Greg Kroah-Hartman — drivers/staging/wilc1000/host_interface.c | 13 +++++++—— 1 file changed, 7 insertions(+), …

Continue reading