timers: Add sparse annotation for timer_sync_wait_running().
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Mon, 12 Aug 2024 10:51:04 +0000 (12:51 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 14 Aug 2024 10:44:41 +0000 (12:44 +0200)
commit38cd4cee73a87c40a3e9ef31c0ca7b179fd282f0
tree50126b4a0a757b953f7a3571b2208885870d10cc
parent9a7b0158aea7a53c8c942e8b83e16f7f30e0018c
timers: Add sparse annotation for timer_sync_wait_running().

timer_sync_wait_running() first releases two locks and then acquires
them again. This is unexpected and sparse complains about it.

Add sparse annotation for timer_sync_wait_running() to note that the
locking is expected.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/20240812105326.2240000-2-bigeasy@linutronix.de
kernel/time/timer.c