commit | 17c8b960930da3599e47801a54ac0ea1070545d2 | [log] [tgz] |
---|---|---|
author | Marcin Slusarz <marcin.slusarz@gmail.com> | Mon Aug 22 23:14:05 2011 +0200 |
committer | Ben Skeggs <bskeggs@redhat.com> | Fri Sep 09 17:24:06 2011 +1000 |
tree | e0822fc2fb25b39e2b4fc957615a76ce0cdae0ed | |
parent | cfd8be088e97a762902a4820f501fb13102984e9 [diff] |
drm/nouveau: properly handle allocation failure in nouveau_sgdma_populate Not cleaning after alloc failure would result in crash on destroy, because nouveau_sgdma_clear assumes "ttm_alloced" to be not null when "pages" is not null. Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: stable@kernel.org Signed-off-by: Ben Skeggs <bskeggs@redhat.com>