[media] coda: check kasprintf return value in coda_open
authorPeter Seiderer <ps.report@gmx.net>
Tue, 24 Mar 2015 17:30:47 +0000 (14:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 10 Apr 2015 13:03:52 +0000 (10:03 -0300)
commita7f933a56908587e30539d649a9ae808d0601bc5
tree4521009abd86499cd1eb7a4b45f665c65fe96525
parent92b042ecedea7aa3d47391be57411709dab52cd7
[media] coda: check kasprintf return value in coda_open

kasprintf might fail if free memory is low.

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de>
Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/coda/coda-common.c