linux_old1/drivers/media/pci/ttpci
Vaishali Thakkar fa9163b570 [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:

// <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>
2015-08-11 12:50:56 -03:00
..
Kconfig [media] media: ttpci: fix av7110 build to be compatible with CONFIG_INPUT_EVDEV 2014-08-21 15:25:38 -05:00
Makefile [media] media: ttpci: fix av7110 build to be compatible with CONFIG_INPUT_EVDEV 2014-08-21 15:25:38 -05:00
av7110.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
av7110.h [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
av7110_av.c [media] av7110: fix confusing indenting 2014-05-23 12:15:11 -03:00
av7110_av.h
av7110_ca.c [media] dvb: push down ioctl lock in dvb_usercopy 2012-12-27 15:44:21 -02:00
av7110_ca.h
av7110_hw.c [media] av7110_hw: fix a sanity check in av7110_fw_cmd() 2014-03-11 15:54:49 -03:00
av7110_hw.h
av7110_ipack.c
av7110_ipack.h
av7110_ir.c proc: Supply PDE attribute setting accessor functions 2013-05-01 17:29:18 -04:00
av7110_v4l.c [media] v4l2: add const to argument of write-only s_tuner ioctl 2013-03-24 06:31:23 -03:00
budget-av.c [media] ttpci: Replace memset with eth_zero_addr 2015-08-11 12:50:56 -03:00
budget-ci.c [media] rc-core: rename dev->scanmask to dev->scancode_mask 2014-07-25 19:10:43 -03:00
budget-core.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
budget-patch.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
budget.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
budget.h [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
ttpci-eeprom.c [media] ttpci: Replace memset with eth_zero_addr 2015-08-11 12:50:56 -03:00
ttpci-eeprom.h