From: Wei Yongjun Date: Thu, 23 Aug 2012 06:40:28 +0000 (+0800) Subject: staging: r8712u: use is_zero_ether_addr() instead of memcmp() X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~75^2~743 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e9ee6f7b6ad68dc67444fff13bb7324087874e3;p=pandora-kernel.git staging: r8712u: use is_zero_ether_addr() instead of memcmp() Using is_zero_ether_addr() instead of directly use memcmp(addr, "\x00\x00\x00\x00\x00\x00", ETH_ALEN) 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: Larry Finger Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed