https://github.com/torvalds/linux
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
Tip revision: 17c8b960930da3599e47801a54ac0ea1070545d2 authored by Marcin Slusarz on 22 August 2011, 21:14:05 UTC
drm/nouveau: properly handle allocation failure in nouveau_sgdma_populate
Tip revision: 17c8b96
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 1014 bytes
.mailmap -rw-r--r-- 4.1 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 92.6 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 196.2 KB
Makefile -rw-r--r-- 52.3 KB
README -rw-r--r-- 17.0 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top