From: Vaishali Thakkar Date: Fri, 26 Jun 2015 04:47:49 +0000 (-0300) Subject: [media] ttpci: Replace memset with eth_zero_addr X-Git-Tag: omap-for-v4.3/fixes-rc1~26^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fa9163b570d9cecedcfb45116f2a20dd03fb9cae;p=pandora-kernel.git [media] ttpci: 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: Mauro Carvalho Chehab --- Reading git-diff-tree failed