From: Dan Carpenter Date: Thu, 15 Jul 2010 08:39:47 +0000 (+0200) Subject: fb: handle allocation failure in alloc_apertures() X-Git-Tag: v2.6.35-rc6~12^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=772a2f9b488f4d27c314da5eeabde750b9ead41b;p=pandora-kernel.git fb: handle allocation failure in alloc_apertures() If the kzalloc() fails we should return NULL. All the places that call alloc_apertures() check for this already. Signed-off-by: Dan Carpenter Acked-by: James Simmons Acked-by: Marcin Slusarz Signed-off-by: Dave Airlie --- Reading git-diff-tree failed