diff options
| author | Lin Yujun <[email protected]> | 2023-05-22 02:56:08 +0000 |
|---|---|---|
| committer | Brian Cain <[email protected]> | 2025-01-31 02:46:06 +0000 |
| commit | 03410e87563a122075c3721acc7d5510e41d8332 (patch) | |
| tree | 482d57b73eeea46c85781d8605a3466dfa6f85a6 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | hexagon: Fix warning comparing pointer to 0 (diff) | |
| download | kernel-03410e87563a122075c3721acc7d5510e41d8332.tar.gz kernel-03410e87563a122075c3721acc7d5510e41d8332.zip | |
hexagon: Fix unbalanced spinlock in die()
die executes holding the spinlock of &die.lock and unlock
it after printing the oops message.
However in the code if the notify_die() returns NOTIFY_STOP
, die() exit with returning 1 but never unlocked the spinlock.
Fix this by adding spin_unlock_irq(&die.lock) before returning.
Fixes: cf9750bae262 ("Hexagon: Provide basic debugging and system trap support.")
Signed-off-by: Lin Yujun <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Brian Cain <[email protected]>
Signed-off-by: Brian Cain <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
