aha/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 V4L/DVB (11439): UVC: uvc_status_cleanup(): undefined reference to `input_unregister_device' 2009-04-06 21:44:52 -03:00
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 V4L/DVB (11945): uvcvideo: Don't accept to change the format when buffers are allocated. 2009-06-16 19:07:30 -03:00
uvc_status.c V4L/DVB (12380): uvcvideo: Avoid flooding the kernel log with "unknown event type" messages 2009-08-13 20:39:05 -03:00
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