linux-sg2042/drivers/media
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
..
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] tuner-i2c: be consistent with I2C declaration 2015-06-23 10:01:45 -03:00
usb [media] usb/airspy: removing unneeded goto 2015-08-11 12:50:18 -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] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Fix a compiler warning in media_entity_pipeline_start() 2014-11-03 19:09:13 -02:00