linux/drivers/media/video/uvc
Thomas Meyer d0d97488dd [media] uvcvideo: Use kcalloc instead of kzalloc to allocate array
The advantage of kcalloc is, that will prevent integer overflows which could
result from the multiplication of number of elements and size and it is also
a bit nicer to read.

The semantic patch that makes this change is available
in https://lkml.org/lkml/2011/11/25/107

Signed-off-by: Thomas Meyer <thomas@m3y3r.de>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-12-30 17:22:12 -02:00
..
Kconfig [media] uvcvideo: Use videobuf2-vmalloc 2011-12-11 11:13:06 -02:00
Makefile [media] uvcvideo: Add debugfs support 2011-12-11 11:22:07 -02:00
uvc_ctrl.c [media] uvcvideo: Use kcalloc instead of kzalloc to allocate array 2011-12-30 17:22:12 -02:00
uvc_debugfs.c [media] uvcvideo: Extract video stream statistics 2011-12-11 11:22:08 -02:00
uvc_driver.c [media] uvcvideo: Add debugfs support 2011-12-11 11:22:07 -02:00
uvc_entity.c [media] uvcvideo: Fix crash when linking entities 2011-09-21 22:18:07 -03:00
uvc_isight.c [media] uvcvideo: Move fields from uvc_buffer::buf to uvc_buffer 2011-12-11 11:12:05 -02:00
uvc_queue.c [media] uvcvideo: Add UVC timestamps support 2011-12-11 11:23:30 -02:00
uvc_status.c [media] uvcvideo: Update e-mail address and copyright notices 2010-10-21 01:18:18 -02:00
uvc_v4l2.c [media] uvcvideo: Fix integer overflow in uvc_ioctl_ctrl_map() 2011-12-11 11:23:54 -02:00
uvc_video.c [media] uvcvideo: Add UVC timestamps support 2011-12-11 11:23:30 -02:00
uvcvideo.h [media] uvcvideo: Fix integer overflow in uvc_ioctl_ctrl_map() 2011-12-11 11:23:54 -02:00