kernel_optimize_test/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
..
av7110_av.c
av7110_av.h
av7110_ca.c
av7110_ca.h
av7110_hw.c
av7110_hw.h
av7110_ipack.c
av7110_ipack.h
av7110_ir.c
av7110_v4l.c
av7110.c
av7110.h
budget-av.c
budget-ci.c
budget-core.c
budget-patch.c
budget.c
budget.h
Kconfig
Makefile
ttpci-eeprom.c
ttpci-eeprom.h