]> git.baikalelectronics.ru Git - kernel.git/commit
drm/lima: check vm != NULL in lima_vm_put
authorQiang Yu <yuq825@gmail.com>
Tue, 21 Apr 2020 13:35:44 +0000 (21:35 +0800)
committerQiang Yu <yuq825@gmail.com>
Fri, 24 Apr 2020 12:50:46 +0000 (20:50 +0800)
commita2ae2d1399d7dbde4419055fb3eef46ef4b27f07
treee11786b1262446edfde8d2a04e1d10ebb330fbe4
parent3a7b7ad5431e251b8b36172d0c511aceaa4c35e4
drm/lima: check vm != NULL in lima_vm_put

No need to handle this check before calling lima_vm_put.

Tested-by: Bhushan Shah <bshah@kde.org>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Qiang Yu <yuq825@gmail.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200421133551.31481-4-yuq825@gmail.com
drivers/gpu/drm/lima/lima_sched.c
drivers/gpu/drm/lima/lima_vm.h