Tag: 626a43de90cf5832a54a66f3320dba97dd073c48

mwifiex: use is_zero_ether_addr() instead of memcmp()

Author: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Using is_zero_ether_addr() instead of directly use memcmp() to determine if the ethernet address is all zeros. spatch with a semantic match is used to found this problem. (http://coccinelle.lip6.fr/) Signed-off-by: Wei Yongjun Acked-by: Bing Zhao Signed-off-by: John W. Linville — drivers/net/wireless/mwifiex/sta_cmdresp.c | 3 +– 1 file changed, 1 insertion(+), 2 deletions(-)   …

Continue reading