kernel-fxtec-pro1x/drivers/media/video/uvc
Julia Lawall ddb0b34f13 V4L/DVB (13610): uvc: 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>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
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
..
Kconfig
Makefile
uvc_ctrl.c V4L/DVB (13503): uvcvideo: Merge iterms, oterms and units linked lists 2009-12-05 18:42:12 -02:00
uvc_driver.c V4L/DVB (13556): v4l: Remove unneeded video_device::minor assignments 2009-12-16 00:17:57 -02:00
uvc_isight.c V4L/DVB (12378): uvcvideo: Restructure the driver to support multiple simultaneous streams. 2009-09-12 12:18:32 -03:00
uvc_queue.c
uvc_status.c
uvc_v4l2.c V4L/DVB (13506): uvcvideo: Factorize common field in uvc_entity structure 2009-12-05 18:42:13 -02:00
uvc_video.c V4L/DVB (13610): uvc: Correct size given to memset 2009-12-16 00:18:41 -02:00
uvcvideo.h V4L/DVB (13506): uvcvideo: Factorize common field in uvc_entity structure 2009-12-05 18:42:13 -02:00