From: Vaishali Thakkar Date: Sat, 20 Jun 2015 02:58:17 +0000 (-0300) Subject: [media] dvb_core: Replace memset with eth_zero_addr X-Git-Tag: omap-for-v4.3/fixes-rc1~26^2~128 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4dc102b2f53d63207fa12a6ad49c7b6448bc3301;p=pandora-kernel.git [media] dvb_core: 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. The Coccinelle semantic patch that makes this change is as follows: // @eth_zero_addr@ expression e; @@ -memset(e,0x00,ETH_ALEN); +eth_zero_addr(e); // Signed-off-by: Vaishali Thakkar Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed