mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +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
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue