WSL2-Linux-Kernel/drivers/media
Julia Lawall 909d15a70d V4L/DVB (13611): radio-tea5764: Correct size given to memset
Memset should be given the size of the structure, not the size of the pointer.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
type T;
T *x;
expression E;
@@

memset(x, E, sizeof(
+ *
 x))
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-12-16 00:18:41 -02:00
..
common V4L/DVB (13576): ir-common: fix an oops caused by the usage of an initialized drvdata 2009-12-16 00:18:09 -02:00
dvb V4L/DVB (13581): DiBUSB: fix I2c access when there is a read-access w/o write sequence 2009-12-16 00:18:27 -02:00
radio V4L/DVB (13611): radio-tea5764: Correct size given to memset 2009-12-16 00:18:41 -02:00
video V4L/DVB (13610): uvc: Correct size given to memset 2009-12-16 00:18:41 -02:00
Kconfig V4L/DVB (11881): one kconfig controls them all 2009-06-16 18:21:16 -03:00
Makefile V4L/DVB (8274): sms1xxx: build cleanup after driver relocation 2008-07-20 07:20:56 -03:00