diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2018-08-08 15:03:19 +0300 |
---|---|---|
committer | Marc Zyngier <marc.zyngier@arm.com> | 2018-08-13 09:03:44 +0100 |
commit | 4096165d55218a6f58b6c2ebc5d2428aa0aa70e4 (patch) | |
tree | d61a2147f8416953173b2ea82ea5d793d917a5ef /drivers/ata/libata.h | |
parent | 0702bc4d2fe793018ad9aa0eb14bff7f526c4095 (diff) | |
download | talos-op-linux-4096165d55218a6f58b6c2ebc5d2428aa0aa70e4.tar.gz talos-op-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/ata/libata.h')
0 files changed, 0 insertions, 0 deletions