OpenCloudOS-Kernel/drivers/media/video/pvrusb2
Thomas Meyer e79c70e6e5 [media] pvrusb2: 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: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-12-12 14:51:11 -02:00
..
Kconfig
Makefile [media] drivers/media: do not use EXTRA_CFLAGS 2011-09-03 18:50:59 -03:00
pvrusb2-audio.c V4L/DVB (12426): pvrusb2: fix compile warning 2009-09-12 12:18:49 -03:00
pvrusb2-audio.h
pvrusb2-context.c
pvrusb2-context.h
pvrusb2-cs53l32a.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pvrusb2-cs53l32a.h
pvrusb2-ctrl.c [media] v4l2-ctrls: use const char * const * for the menu arrays 2010-12-30 08:02:14 -02:00
pvrusb2-ctrl.h
pvrusb2-cx2584x-v4l.c [media] pvrusb2: Implement support for Terratec Grabster AV400 2011-03-22 04:54:35 -03:00
pvrusb2-cx2584x-v4l.h
pvrusb2-debug.h
pvrusb2-debugifc.c V4L/DVB: media: video: pvrusb2: remove custom hex_to_bin() 2010-08-08 23:43:06 -03:00
pvrusb2-debugifc.h
pvrusb2-devattr.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
pvrusb2-devattr.h V4L/DVB: pvrusb2: New feature to mark specific hardware support as experimental 2010-06-01 01:19:49 -03:00
pvrusb2-dvb.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pvrusb2-dvb.h
pvrusb2-eeprom.c Fix common misspellings 2011-03-31 11:26:23 -03:00
pvrusb2-eeprom.h
pvrusb2-encoder.c V4L/DVB (13223): pvrusb2: Soften encoder warning message 2009-12-05 18:40:58 -02:00
pvrusb2-encoder.h
pvrusb2-fx2-cmd.h
pvrusb2-hdw-internal.h [media] pvrusb2: Provide more information about IR units to lirc_zilog and ir-kbd-i2c 2011-01-19 11:46:13 -02:00
pvrusb2-hdw.c [media] pvrusb2: Use kcalloc instead of kzalloc to allocate array 2011-12-12 14:51:11 -02:00
pvrusb2-hdw.h [media] pvrusb2: implement VIDIOC_QUERYSTD 2011-10-08 08:00:26 -03:00
pvrusb2-i2c-core.c drivers/media: Add module.h to all files using it implicitly 2011-10-31 19:31:51 -04:00
pvrusb2-i2c-core.h
pvrusb2-io.c
pvrusb2-io.h
pvrusb2-ioread.c V4L/DVB: drivers/media/video/pvrusb2: Add missing mutex_unlock 2010-08-02 15:01:02 -03:00
pvrusb2-ioread.h
pvrusb2-main.c [media] pvrusb2: Use LINUX_VERSION_CODE for VIDIOC_QUERYCAP 2011-07-27 17:53:15 -03:00
pvrusb2-std.c [media] pvrusb2: delete generic_standards_cnt 2011-05-20 09:28:25 -03:00
pvrusb2-std.h
pvrusb2-sysfs.c [media] pvrusb2: Use sysfs_attr_init() where appropriate 2011-03-21 20:32:22 -03:00
pvrusb2-sysfs.h
pvrusb2-util.h
pvrusb2-v4l2.c Merge branch 'modsplit-Oct31_2011' of git://git.kernel.org/pub/scm/linux/kernel/git/paulg/linux 2011-11-06 19:44:47 -08:00
pvrusb2-v4l2.h
pvrusb2-video-v4l.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pvrusb2-video-v4l.h
pvrusb2-wm8775.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
pvrusb2-wm8775.h
pvrusb2.h