diff options
| author | Kevin Tang <[email protected]> | 2022-01-16 15:55:47 +0000 |
|---|---|---|
| committer | kevin3.tang <[email protected]> | 2022-02-14 13:53:14 +0000 |
| commit | 8668658aebb0a19d877d5a81c004baf716c4aaa6 (patch) | |
| tree | adabe90b9875995cabc09cfef651c3f006e0faa9 /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | |
| parent | drm/sprd: remove the selected DRM_KMS_CMA_HELPER in kconfig (diff) | |
| download | kernel-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
