Revision 17c8b960930da3599e47801a54ac0ea1070545d2 authored by Marcin Slusarz on 22 August 2011, 21:14:05 UTC, committed by Ben Skeggs on 09 September 2011, 07:24:06 UTC
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>
1 parent cfd8be0
History

back to top