diff options
author | Ben Dooks <ben.dooks@codethink.co.uk> | 2023-06-21 08:59:28 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2023-06-22 10:32:37 +0200 |
commit | ccaa4926c2264ca2a2fcad4b3511fe435d7d4d15 (patch) | |
tree | e7bcad28f99429fb9062b71b790028d40ed267e8 /drivers/clk | |
parent | 2951580ba6adb082bb6b7154a5ecb24e7c1f7569 (diff) |
hrtimer: Add missing sparse annotations to hrtimer locking
Sparse warns about lock imbalance vs. the hrtimer_base lock due to missing
sparse annotations:
kernel/time/hrtimer.c:175:33: warning: context imbalance in 'lock_hrtimer_base' - wrong count at exit
kernel/time/hrtimer.c:1301:28: warning: context imbalance in 'hrtimer_start_range_ns' - unexpected unlock
kernel/time/hrtimer.c:1336:28: warning: context imbalance in 'hrtimer_try_to_cancel' - unexpected unlock
kernel/time/hrtimer.c:1457:9: warning: context imbalance in '__hrtimer_get_remaining' - unexpected unlock
Add the annotations to the relevant functions.
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20230621075928.394481-1-ben.dooks@codethink.co.uk
Diffstat (limited to 'drivers/clk')
0 files changed, 0 insertions, 0 deletions