linux-stable/drivers/media/video/pvrusb2
Dan Carpenter 0cff593732 [media] pvrusb2: check for allocation failures
This function returns NULL on failure so lets do that if kzalloc()
fails.  There is a separate problem that the caller for this function
doesn't check for errors...

Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-By: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-05-20 09:28:24 -03:00
..
Kconfig
Makefile
pvrusb2-audio.c
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 [media] pvrusb2: Implement support for Terratec Grabster AV400 2011-03-22 04:54:35 -03: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
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: check kmalloc return value 2011-03-22 04:54:37 -03:00
pvrusb2-hdw.h Fix common misspellings 2011-03-31 11:26:23 -03:00
pvrusb2-i2c-core.c [media] remove the old RC_MAP_HAUPPAUGE_NEW RC map 2011-03-22 19:24:16 -03: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 V4L/DVB: pvrusb2: Fix kernel oops on device tear-down 2010-06-01 01:19:58 -03:00
pvrusb2-std.c [media] pvrusb2: check for allocation failures 2011-05-20 09:28:24 -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 [media] pvrusb2: Remove dead code 2011-03-22 04:54:36 -03: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