]> git.baikalelectronics.ru Git - kernel.git/commit
hrtimer: Add missing sparse annotation for __run_timer()
authorJules Irenge <jbi.octave@gmail.com>
Mon, 20 Jan 2020 22:43:47 +0000 (22:43 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 22 Jan 2020 14:50:11 +0000 (15:50 +0100)
commit913e678604e9f303f94f0641e2a65113f85a2326
tree514d7ebe79927342599ba4854a7fb0c9cdf5ff09
parentfc5af8ab6352e0fa53b300c31e0fd5276d25b9b2
hrtimer: Add missing sparse annotation for __run_timer()

Sparse reports a warning at __run_hrtimer()
|warning: context imbalance in __run_hrtimer() - unexpected unlock

Add the missing must_hold() annotation.

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20200120224347.51843-1-jbi.octave@gmail.com
kernel/time/hrtimer.c