From: Maarten Maathuis Date: Sat, 20 Feb 2010 02:22:21 +0000 (+0100) Subject: drm/ttm: handle OOM in ttm_tt_swapout X-Git-Tag: v2.6.34-rc1~209^2~13^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=290e55056ec3d25c72088628245d8cae037b30db;p=pandora-kernel.git drm/ttm: handle OOM in ttm_tt_swapout - Without this change I get a general protection fault. - Also use PTR_ERR where applicable. Signed-off-by: Maarten Maathuis Reviewed-by: Dave Airlie Acked-by: Thomas Hellstrom Cc: stable@kernel.org Signed-off-by: Dave Airlie --- Reading git-diff-tree failed