Commit 8a7a88c1 authored by Jules Irenge's avatar Jules Irenge Committed by Oded Gabbay

habanalabs: Add missing annotation for goya_hw_queues_unlock()

Sparse reports a warning at goya_hw_queues_unlock()
warning: context imbalance in goya_hw_queues_unlock() - unexpected unlock
The root cause is a missing annotation at goya_hw_queues_unlock()
Add the missing __releases(&goya->hw_queues_lock) annotation
Signed-off-by: default avatarJules Irenge <jbi.octave@gmail.com>
Reviewed-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
Signed-off-by: default avatarOded Gabbay <oded.gabbay@gmail.com>
parent cf87f966
...@@ -5218,6 +5218,7 @@ static void goya_hw_queues_lock(struct hl_device *hdev) ...@@ -5218,6 +5218,7 @@ static void goya_hw_queues_lock(struct hl_device *hdev)
} }
static void goya_hw_queues_unlock(struct hl_device *hdev) static void goya_hw_queues_unlock(struct hl_device *hdev)
__releases(&goya->hw_queues_lock)
{ {
struct goya_device *goya = hdev->asic_specific; struct goya_device *goya = hdev->asic_specific;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment