]> git.baikalelectronics.ru Git - kernel.git/commit
genirq: Sanitize state handling in check_irq_resend()
authorThomas Gleixner <tglx@linutronix.de>
Fri, 6 Mar 2020 13:03:46 +0000 (14:03 +0100)
committerThomas Gleixner <tglx@linutronix.de>
Sun, 8 Mar 2020 10:06:41 +0000 (11:06 +0100)
commit0338b9656e2fb1fe6411004552962e9a6fd90ab4
treefb26cfaf7dd63e0092d50824c2b2b8af93056b53
parent2e238606d7337012c9c991a168014a4aebc2bc33
genirq: Sanitize state handling in check_irq_resend()

The code sets IRQS_REPLAY unconditionally whether the resend happens or
not. That doesn't have bad side effects right now, but inconsistent state
is always a latent source of problems.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Marc Zyngier <maz@kernel.org>
Link: https://lkml.kernel.org/r/20200306130623.882129117@linutronix.de
kernel/irq/resend.c