Skip to content
Commit 2656c366 authored by Thomas Gleixner's avatar Thomas Gleixner
Browse files

genirq: Warn if enable_irq is called before irq is set up



The recent changes in the genirq core unearthed a bug in arch/um which
called enable_irq() before the interrupt was set up.

Warn and return instead of crashing the machine with a NULL pointer
dereference.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Richard Weinberger <richard@nod.at>
parent d4429f60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment