V4L/DVB: dvb: return -ENOMEM if kzalloc failed in dvb_usb_device_init()
authorRoel Kluin <roel.kluin@gmail.com>
Tue, 2 Feb 2010 14:29:46 +0000 (11:29 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 26 Feb 2010 18:10:51 +0000 (15:10 -0300)
commit407df29363f10642d87dbe49854c97eb57c84c94
tree857ea1cd3caa2636ede3cfdf6e3eed77b3e4cb79
parentca39d84d438b609af127f2eb161cd9029afbc9a7
V4L/DVB: dvb: return -ENOMEM if kzalloc failed in dvb_usb_device_init()

If in a cold state and the download succeeded ret is zero, but we
should return -ENOMEM.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/dvb-usb-init.c