diff options
| author | 2026-02-23 13:50:23 -0800 | |
|---|---|---|
| committer | 2026-02-25 17:56:50 -0500 | |
| commit | 480ad5f6ead4a47b969aab6618573cd6822bb6a4 (patch) | |
| tree | 3601d219ae984e306f53162e9b87a2e2bb03ae35 /include/linux/bcma/ssh:/git@git.zx2c4.com/git: | |
| parent | drm/amdgpu: Unlock a mutex before destroying it (diff) | |
drm/amdgpu: Fix locking bugs in error paths
Do not unlock psp->ras_context.mutex if it has not been locked. This has
been detected by the Clang thread-safety analyzer.
Cc: Alex Deucher <alexander.deucher@amd.com>
Cc: Christian König <christian.koenig@amd.com>
Cc: YiPeng Chai <YiPeng.Chai@amd.com>
Cc: Hawking Zhang <Hawking.Zhang@amd.com>
Cc: amd-gfx@lists.freedesktop.org
Fixes: b3fb79cda568 ("drm/amdgpu: add mutex to protect ras shared memory")
Acked-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 6fa01b4335978051d2cd80841728fd63cc597970)
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
