diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-08-08 14:03:19 +0200 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-08-13 10:03:44 +0200 |
commit | 4096165d55218a6f58b6c2ebc5d2428aa0aa70e4 (patch) | |
tree | d61a2147f8416953173b2ea82ea5d793d917a5ef /drivers/nvdimm/nd-core.h | |
parent | irqchip/bcm7038-l1: Hide cpu offline callback when building for !SMP (diff) | |
download | linux-4096165d55218a6f58b6c2ebc5d2428aa0aa70e4.tar.xz linux-4096165d55218a6f58b6c2ebc5d2428aa0aa70e4.zip |
irqchip/stm32: Fix init error handling
If there are any errors in stm32_exti_host_init() then it leads to a
NULL dereference in the callers. The function should clean up after
itself.
Fixes: f9fc1745501e ("irqchip/stm32: Add host and driver data structures")
Reviewed-by: Ludovic Barre <ludovic.barre@st.com>
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'drivers/nvdimm/nd-core.h')
0 files changed, 0 insertions, 0 deletions