Tag: bcf0265384ded8c89264202faf59fb538c6b25c4

Staging: wilc1000: wilc_wfi_cfgoperations: 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/wilc_wfi_cfgoperations.c | 6 +++— 1 file changed, 3 insertions(+), …

Continue reading

BtrLinux
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.