From: Ben Skeggs Date: Thu, 21 Jan 2010 05:03:23 +0000 (+1000) Subject: drm/nouveau: fix failure path if userspace specifies no valid memtypes X-Git-Tag: v2.6.33-rc6~27^2~7^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0208843dd59330c30e0773c77d5362260aa340e0;p=pandora-kernel.git drm/nouveau: fix failure path if userspace specifies no valid memtypes We need to add the buffer to the list even if we fail, otherwise the validate_fini() call won't unreserve + unreference the GEM object, making TTM very unhappy. Signed-off-by: Ben Skeggs --- Reading git-diff-tree failed