From: Alex Deucher Date: Wed, 13 Nov 2013 20:25:35 +0000 (-0500) Subject: drm/radeon/vm: don't attempt to update ptes if ib allocation fails X-Git-Tag: v3.13-rc1~3^2~5^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4cc948b94a222c310ae089c36718aac7a03aec90;p=pandora-kernel.git drm/radeon/vm: don't attempt to update ptes if ib allocation fails If we fail to allocate an indirect buffer (ib) when updating the ptes, return an error instead of trying to use the ib. Avoids a null pointer dereference. Bug: https://bugzilla.kernel.org/show_bug.cgi?id=58621 Reviewed-by: Christian König Signed-off-by: Alex Deucher Cc: stable@vger.kernel.org --- Reading git-diff-tree failed