diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2020-03-06 14:03:42 +0100 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-03-08 11:06:40 +0100 |
commit | a740a423c36932695b01a3e920f697bc55b05fec (patch) | |
tree | 1d94c857adcf04911e2b824ca8df1ba3a688e1a8 /kernel/irq/resend.c | |
parent | irqdomain: Fix function documentation of __irq_domain_alloc_fwnode() (diff) | |
download | linux-a740a423c36932695b01a3e920f697bc55b05fec.tar.xz linux-a740a423c36932695b01a3e920f697bc55b05fec.zip |
genirq/debugfs: Add missing sanity checks to interrupt injection
Interrupts cannot be injected when the interrupt is not activated and when
a replay is already in progress.
Fixes: 536e2e34bd00 ("genirq/debugfs: Triggering of interrupts from userspace")
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Marc Zyngier <maz@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/20200306130623.500019114@linutronix.de
Diffstat (limited to 'kernel/irq/resend.c')
0 files changed, 0 insertions, 0 deletions