]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/nouveau/mem: guard against NULL pointer access in mem_del
authorKarol Herbst <kherbst@redhat.com>
Tue, 6 Oct 2020 22:05:28 +0000 (00:05 +0200)
committerDave Airlie <airlied@redhat.com>
Wed, 7 Oct 2020 05:33:09 +0000 (15:33 +1000)
commitd10285a25e29f13353bbf7760be8980048c1ef2f
tree15e80ff3046207c1e31076a0c4331d863b3c904c
parentc3e0276c31ca8c7b8615da890727481260d4676f
drm/nouveau/mem: guard against NULL pointer access in mem_del

other drivers seems to do something similar

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Cc: dri-devel <dri-devel@lists.freedesktop.org>
Cc: Dave Airlie <airlied@redhat.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201006220528.13925-2-kherbst@redhat.com
drivers/gpu/drm/nouveau/nouveau_mem.c