OSDN Git Service

drm/qxl: properly handle device init failures
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 17 Feb 2021 12:32:03 +0000 (13:32 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Fri, 19 Feb 2021 08:13:25 +0000 (09:13 +0100)
commit26fe1f4c550dae06ae4af3299bbef6b9d78c4ba0
tree637e6e2f05376127a69ed339f803e2a7e4b4a766
parentdef26cd4bae27efdfcf95559ddf64db91d65670f
drm/qxl: properly handle device init failures

Specifically do not try release resources which where
not allocated in the first place.

Cc: Tong Zhang <ztong0001@gmail.com>
Tested-by: Tong Zhang <ztong0001@gmail.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: http://patchwork.freedesktop.org/patch/msgid/20210217123213.2199186-2-kraxel@redhat.com
drivers/gpu/drm/qxl/qxl_display.c
drivers/gpu/drm/qxl/qxl_kms.c