aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/vmwgfx
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2021-07-06 08:51:25 +0200
committerChristian König <christian.koenig@amd.com>2021-07-09 12:43:13 +0200
commit3efe180d5105d367ae1dfadb97892ab93a89a783 (patch)
tree7def59b752035e81f75560b136fbabf4426e7b66 /drivers/gpu/drm/vmwgfx
parentdrm/radeon: Fix NULL dereference when updating memory stats (diff)
downloadlinux-dev-3efe180d5105d367ae1dfadb97892ab93a89a783.tar.xz
linux-dev-3efe180d5105d367ae1dfadb97892ab93a89a783.zip
drm/qxl: add NULL check for bo->resource
When allocations fails that can be NULL now. Signed-off-by: Christian König <christian.koenig@amd.com> Reported-by: Daniel Bristot de Oliveira <bristot@kernel.org> Tested-by: Daniel Bristot de Oliveira <bristot@kernel.org> Tested-by: Roberto Sassu <roberto.sassu@huawei.com> Fixes: bfa3357ef9ab ("drm/ttm: allocate resource object instead of embedding it v2") Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/msgid/20210708114710.8186-1-christian.koenig@amd.com
Diffstat (limited to 'drivers/gpu/drm/vmwgfx')
0 files changed, 0 insertions, 0 deletions