From: Tommi Rantala Date: Fri, 9 Nov 2012 09:19:36 +0000 (+0000) Subject: drm/mgag200: check alloc_apertures() success in mga_vram_init() X-Git-Tag: v3.8-rc1~82^2~162 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a7fdc59fba559dfbce14963b32102125c49cb10;p=pandora-kernel.git drm/mgag200: check alloc_apertures() success in mga_vram_init() Check for alloc_apertures() memory allocation failure, and propagate an error code in case the allocation failed. Signed-off-by: Tommi Rantala Signed-off-by: Dave Airlie --- Reading git-diff-tree failed