Skip to content
Commit 3efe180d authored by Christian König's avatar Christian König
Browse files

drm/qxl: add NULL check for bo->resource



When allocations fails that can be NULL now.

Signed-off-by: default avatarChristian König <christian.koenig@amd.com>
Reported-by: default avatarDaniel Bristot de Oliveira <bristot@kernel.org>
Tested-by: default avatarDaniel Bristot de Oliveira <bristot@kernel.org>
Tested-by: default avatarRoberto Sassu <roberto.sassu@huawei.com>
Fixes: bfa3357e

 ("drm/ttm: allocate resource object instead of embedding it v2")
Acked-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210708114710.8186-1-christian.koenig@amd.com
parent f18f5801
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment