summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends
diff options
context:
space:
mode:
authorVaishali Thakkar2015-06-26 06:34:37 +0200
committerMauro Carvalho Chehab2015-08-11 17:57:01 +0200
commit38dcdca38739b95a29c6d03009c3f63b0d959398 (patch)
treeb3e1b83bb37b7e5e8a65990847597897dd9b4b60 /drivers/media/dvb-frontends
parent[media] tuners: Make all TV tuners visible if COMPILE_TEST=y (diff)
downloadkernel-qcow2-linux-38dcdca38739b95a29c6d03009c3f63b0d959398.tar.gz
kernel-qcow2-linux-38dcdca38739b95a29c6d03009c3f63b0d959398.tar.xz
kernel-qcow2-linux-38dcdca38739b95a29c6d03009c3f63b0d959398.zip
[media] pctv452e: 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: // <smpl> @eth_zero_addr@ expression e; @@ -memset(e,0x00,6); +eth_zero_addr(e); // </smpl> Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers/media/dvb-frontends')
0 files changed, 0 insertions, 0 deletions