linux/drivers/media/usb/dvb-usb
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
..
a800.c
af9005-fe.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
af9005-remote.c
af9005-script.h
af9005.c [media] af9005: fix kernel panic on init if compiled without IR 2014-10-30 16:57:19 -02:00
af9005.h
az6027.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
az6027.h
cinergyT2-core.c
cinergyT2-fe.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
cinergyT2.h
cxusb.c [media] si2157: support selection of IF interface 2015-05-12 13:20:55 -03:00
cxusb.h [media] cxusb: remove TechnoTrend CT2-4400 and CT2-4650 devices 2014-12-04 13:30:29 -02:00
dib07x0.h
dib0700_core.c [media] rc-core: fix dib0700 scancode generation for RC5 2015-05-12 18:27:25 -03:00
dib0700_devices.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
dib0700.h [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
dibusb-common.c [media] dibusb: fix sparse warnings 2014-09-03 09:23:31 -03:00
dibusb-mb.c
dibusb-mc.c
dibusb.h [media] Fix typo in comments 2014-07-26 15:09:47 -03:00
digitv.c
digitv.h
dtt200u-fe.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
dtt200u.c
dtt200u.h
dtv5100.c
dtv5100.h
dvb-usb-common.h
dvb-usb-dvb.c [media] dvb-usb: fix spaces after commas 2015-04-08 07:39:24 -03:00
dvb-usb-firmware.c
dvb-usb-i2c.c
dvb-usb-init.c
dvb-usb-remote.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
dvb-usb-urb.c
dvb-usb.h [media] dvb-usb: create one media_dev per adapter 2015-02-26 09:52:26 -03:00
dw2102.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
dw2102.h
friio-fe.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
friio.c
friio.h
gp8psk-fe.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
gp8psk.c
gp8psk.h
Kconfig [media] dw2102: switch ts2022 to ts2020 driver 2015-04-02 22:26:16 -03:00
m920x.c [media] media: remove emacs editor variables 2014-12-22 17:52:20 -02:00
m920x.h
Makefile
nova-t-usb2.c
opera1.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
pctv452e.c [media] pctv452e: Replace memset with eth_zero_addr 2015-08-11 12:57:01 -03:00
technisat-usb2.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
ttusb2.c [media] rc-core: document the protocol type 2014-07-23 21:50:48 -03:00
ttusb2.h
umt-010.c
usb-urb.c
vp702x-fe.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
vp702x.c [media] vp702x: comment dead code 2015-05-01 06:10:18 -03:00
vp702x.h
vp7045-fe.c [media] dvb: Get rid of typedev usage for enums 2015-06-09 17:47:35 -03:00
vp7045.c
vp7045.h