summaryrefslogtreecommitdiff
path: root/drivers/media/video/pvrusb2/pvrusb2-util.h
diff options
context:
space:
mode:
authorXiaochen Wang <wangxiaochen0@gmail.com>2011-03-13 22:32:53 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 04:54:37 -0300
commitc05df8b32ab4b8103f8c20cbd3ab7191be613b68 (patch)
tree3af2f634bd44ff82c1dda294e125edb2f3ac079a /drivers/media/video/pvrusb2/pvrusb2-util.h
parent228ee5928b5d4192a23cda3fdf755a956516c13e (diff)
[media] pvrusb2: check kmalloc return value
allows the driver to proceed and initialize the below two values even if the kmalloc() fails. hdw->std_info_enum.def.type_enum.value_names hdw->std_info_enum.def.type_enum.count Signed-off-by: Xiaochen Wang <wangxiaochen0@gmail.com> Signed-off-by: Mike Isely <isely@pobox.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-util.h')
0 files changed, 0 insertions, 0 deletions