V4L/DVB (13016): kmalloc failure ignored in lgdt3304_attach() and s921_attach()
authorRoel Kluin <roel.kluin@gmail.com>
Fri, 18 Sep 2009 23:26:53 +0000 (20:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 19 Sep 2009 03:53:16 +0000 (00:53 -0300)
commit8d04df4997b530d978d48a66655a99714af197ca
tree2fbe1c592d871b41b848b2ce58f0320aa5038a4d
parent1601fb14980b1295e00087460d57256a87f334bf
V4L/DVB (13016): kmalloc failure ignored in lgdt3304_attach() and s921_attach()

Prevent NULL dereference if kmalloc() fails.

Cc: Markus Rechberger <mrechberger@sundtek.de>
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Douglas Schilling Landgraf <dougsland@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/lgdt3304.c
drivers/media/dvb/frontends/s921_module.c