linux_dsm_epyc7002/drivers/media
Vaishali Thakkar 38dcdca387 [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>
2015-08-11 12:57:01 -03:00
..
common [media] saa7146: use swap() in sort_and_eliminate() 2015-07-06 08:25:49 -03:00
dvb-core [media] dvb_core: Replace memset with eth_zero_addr 2015-07-22 13:32:21 -03:00
dvb-frontends [media] dvb-frontends: Make all DVB Frontends visible if COMPILE_TEST=y 2015-08-11 11:11:46 -03:00
firewire [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
i2c [media] i2c: Make all i2c devices visible if COMPILE_TEST=y 2015-08-11 11:38:21 -03:00
mmc [media] siano: register media controller earlier 2015-02-26 09:10:39 -03:00
pci [media] ttpci: Replace memset with eth_zero_addr 2015-08-11 12:50:56 -03:00
platform [media] vivid: support cvt, gtf timings for video out 2015-08-11 10:25:36 -03:00
radio [media] media/radio/saa7706h: Remove compat control ops 2015-07-06 08:25:56 -03:00
rc [media] lmedm04: NEC scancode cleanup 2015-07-06 08:26:15 -03:00
tuners [media] tuners: Make all TV tuners visible if COMPILE_TEST=y 2015-08-11 12:56:40 -03:00
usb [media] pctv452e: Replace memset with eth_zero_addr 2015-08-11 12:57:01 -03:00
v4l2-core [media] v4l2: move tracepoint generation into separate file 2015-08-11 10:26:33 -03:00
Kconfig media updates for v4.2-rc1 2015-06-25 17:55:48 -07:00
Makefile [media] bq/c-qcam, w9966, pms: move to staging in preparation for removal 2014-12-16 23:21:44 -02:00
media-device.c
media-devnode.c
media-entity.c