genirq: Fix inverted condition in handle_nested_irq()

Marek reported that the rework of handle_nested_irq() introduced a inverted
condition, which prevents handling of interrupts. Fix it up.

Fixes: 2ef2e13094 ("genirq/chip: Rework handle_nested_irq()")
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Closes: https://lore.kernel/org/all/46ed4040-ca11-4157-8bd7-13c04c113734@samsung.com
This commit is contained in:
Thomas Gleixner 2025-05-09 20:37:54 +02:00
parent c855506257
commit c1ab449df8

View File

@ -497,7 +497,7 @@ void handle_nested_irq(unsigned int irq)
might_sleep();
scoped_guard(raw_spinlock_irq, &desc->lock) {
if (irq_can_handle_actions(desc))
if (!irq_can_handle_actions(desc))
return;
action = desc->action;