diff options
author | Marek Vasut <marex@denx.de> | 2020-05-14 03:25:55 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2020-05-28 16:58:04 +0300 |
commit | 1d0326f352bb094771df17f045bdbadff89a43e6 (patch) | |
tree | 7371c341b51de7df6952adf6d9d5deeb982d83ef /drivers/base | |
parent | 9cb1fd0efd195590b828b9b865421ad345a4a145 (diff) | |
download | linux-1d0326f352bb094771df17f045bdbadff89a43e6.tar.xz |
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
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions