aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
diff options
context:
space:
mode:
authorNikita Zhandarovich <[email protected]>2023-08-08 18:04:16 +0000
committerAlex Deucher <[email protected]>2023-11-30 23:26:31 +0000
commit71225e1c930942cb1e042fc08c5cc0c4ef30e95e (patch)
tree59a68d45055942a232c87a0a6252b63531d9665c /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
parentdrm/radeon/r100: Fix integer overflow issues in r100_cs_track_check() (diff)
downloadkernel-71225e1c930942cb1e042fc08c5cc0c4ef30e95e.tar.gz
kernel-71225e1c930942cb1e042fc08c5cc0c4ef30e95e.zip
drm/radeon: check return value of radeon_ring_lock()
In the unlikely event of radeon_ring_lock() failing, its errno return value should be processed. This patch checks said return value and prints a debug message in case of an error. Found by Linux Verification Center (linuxtesting.org) with static analysis tool SVACE. Fixes: 48c0c902e2e6 ("drm/radeon/kms: add support for CP setup on SI") Signed-off-by: Nikita Zhandarovich <[email protected]> Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions