Skip to content
Commit 1d0326f3 authored by Marek Vasut's avatar Marek Vasut Committed by Thomas Gleixner
Browse files

genirq: Check irq_data_get_irq_chip() return value before use



irq_data_get_irq_chip() can return NULL, however it is expected that this
never happens. If a buggy driver leads to NULL being returned from
irq_data_get_irq_chip(), warn about it instead of crashing the machine.

Signed-off-by: default avatarMarek Vasut <marex@denx.de>
Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>

To: linux-arm-kernel@lists.infradead.org
parent 9cb1fd0e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment