From: Vaishali Thakkar Date: Fri, 26 Jun 2015 04:07:25 +0000 (+0530) Subject: Staging: rtl8192e: Replace memset with eth_zero_addr X-Git-Tag: omap-for-v4.3/fixes-merge-window~44^2~592 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3e3148c51190d680b7cc2ebdc556e6ea27a93989;p=pandora-kernel.git Staging: rtl8192e: 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. Note that the 6 in the third argument of memset appears to represent an ethernet address size (ETH_ALEN). The Coccinelle semantic patch that makes this change is as follows: // @eth_zero_addr@ expression e; @@ -memset(e,0x00,6); +eth_zero_addr(e); // Signed-off-by: Vaishali Thakkar Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed