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:Marek Vasut <marex@denx.de> Signed-off-by:
Thomas Gleixner <tglx@linutronix.de> To: linux-arm-kernel@lists.infradead.org
parent
9cb1fd0e
Please register or sign in to comment