aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorKevin Tang <[email protected]>2022-01-16 15:55:47 +0000
committerkevin3.tang <[email protected]>2022-02-14 13:53:14 +0000
commit8668658aebb0a19d877d5a81c004baf716c4aaa6 (patch)
treeadabe90b9875995cabc09cfef651c3f006e0faa9 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parentdrm/sprd: remove the selected DRM_KMS_CMA_HELPER in kconfig (diff)
downloadkernel-8668658aebb0a19d877d5a81c004baf716c4aaa6.tar.gz
kernel-8668658aebb0a19d877d5a81c004baf716c4aaa6.zip
drm/sprd: fix potential NULL dereference
'drm' could be null in sprd_drm_shutdown, and drm_warn maybe dereference it, remove this warning log. Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Kevin Tang <[email protected]> Reviewed-by: Javier Martinez Canillas <[email protected]> Acked-by: Thomas Zimmermann <[email protected]> Link: https://lore.kernel.org/all/[email protected] v1 -> v2: - Split checking platform_get_resource() return value to a separate patch - Use dev_warn() instead of removing the warning log
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions