Commit 71225e1
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: 48c0c90 ("drm/radeon/kms: add support for CP setup on SI")
Signed-off-by: Nikita Zhandarovich <n.zhandarovich@fintech.ru>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>1 parent b5c5baa commit 71225e1
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3611 | 3611 | | |
3612 | 3612 | | |
3613 | 3613 | | |
| 3614 | + | |
| 3615 | + | |
| 3616 | + | |
| 3617 | + | |
3614 | 3618 | | |
3615 | 3619 | | |
3616 | 3620 | | |
| |||
0 commit comments