diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2016-09-02 14:45:19 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2016-09-02 18:06:49 +0200 |
commit | fc590c22f9f056ab50190b797f6cacead29f9b75 (patch) | |
tree | 87719f60da441d05d0ea7f16fb3ba4d926491f5f /firmware/yamaha | |
parent | genirq: Fix missing irq allocation affinity hint (diff) | |
download | linux-fc590c22f9f056ab50190b797f6cacead29f9b75.tar.xz linux-fc590c22f9f056ab50190b797f6cacead29f9b75.zip |
genirq: Robustify handle_percpu_devid_irq()
The percpu_devid handler is not robust against spurious interrupts. If a
spurious interrupt happens and no action is installed then the handler
crashes with a NULL pointer dereference.
Add a sanity check for this and log the wreckage once in dmesg.
Reported-by: Majun <majun258@huawei.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Cc: guohanjun@huawei.com
Cc: dingtianhong@huawei.com
Cc: linux-arm-kernel@lists.infradead.org
Link: http://lkml.kernel.org/r/alpine.DEB.2.20.1609021436160.5647@nanos
Diffstat (limited to 'firmware/yamaha')
0 files changed, 0 insertions, 0 deletions