diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2026-02-23 13:50:23 -0800 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2026-02-25 17:56:50 -0500 |
| commit | 480ad5f6ead4a47b969aab6618573cd6822bb6a4 (patch) | |
| tree | 3601d219ae984e306f53162e9b87a2e2bb03ae35 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | 5e0bcc7b88bcd081aaae6f481b10d9ab294fcb69 (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 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
