genirq: Add missing __must_hold() sparse annotation
authorJules Irenge <jbi.octave@gmail.com>
Mon, 16 Dec 2019 14:42:08 +0000 (14:42 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 9 Jan 2020 17:03:37 +0000 (18:03 +0100)
commit099368bb10c0e340f0b236b169e8b13235e0907c
treeb2bf84cb12e58c3285aaaa225b297cd72825920d
parent8b3b54799b99de59d25a3947d539662f47300ced
genirq: Add missing __must_hold() sparse annotation

Add __must_hold() annotation to address the following sparse warning:

  warning: context imbalance in irq_wait_for_poll - unexpected unlock

Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20191216144208.29852-2-jbi.octave@gmail.com
kernel/irq/spurious.c