From: Jiri Slaby Date: Mon, 13 Jul 2009 21:20:21 +0000 (+0200) Subject: drm: drm_gem, check kzalloc retval X-Git-Tag: v2.6.31-rc4~29^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=845792d940f5755b7a7837c450a71d9e831a13e2;p=pandora-kernel.git drm: drm_gem, check kzalloc retval Check kzalloc retval against NULL in drm_gem_object_alloc and bail out appropriately. While at it merge the fail paths and jump to them by gotos at the end of the function. Signed-off-by: Jiri Slaby Signed-off-by: Dave Airlie --- Reading git-diff-tree failed