summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2011-08-22 23:14:05 +0200
committerBen Skeggs <bskeggs@redhat.com>2011-09-09 09:24:06 +0200
commit17c8b960930da3599e47801a54ac0ea1070545d2 (patch)
treee0822fc2fb25b39e2b4fc957615a76ce0cdae0ed /drivers/virtio
parentdrm/nouveau: fix oops on pre-semaphore hardware (diff)
downloadlinux-17c8b960930da3599e47801a54ac0ea1070545d2.tar.xz
linux-17c8b960930da3599e47801a54ac0ea1070545d2.zip
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>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions