mirror of
https://github.com/torvalds/linux.git
synced 2024-11-27 14:41:39 +00:00
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: Jules Irenge <jbi.octave@gmail.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
This commit is contained in:
parent
cf87f966d2
commit
8a7a88c10c
@ -5218,6 +5218,7 @@ static void goya_hw_queues_lock(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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user