video: fbdev: pxafb: fix out of memory error path
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sat, 19 Dec 2015 12:14:31 +0000 (13:14 +0100)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Mon, 18 Jan 2016 08:26:17 +0000 (10:26 +0200)
commit6f6abd360603aff043352db90c28748c8c46560e
treee9ccd190c70cbe9a4d79d91f0fad5f380bf51a57
parentcaf05780f6ed5eb7fe168dbabd9a8d7cfb45d89b
video: fbdev: pxafb: fix out of memory error path

As seen by Julia, the initial allocation memory is not checked anymore
after commit "video: fbdev: pxafb: initial devicetree conversion".
Introduce back the removed test.

Reported-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/fbdev/pxafb.c