commit | 4096165d55218a6f58b6c2ebc5d2428aa0aa70e4 | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Wed Aug 08 15:03:19 2018 +0300 |
committer | Marc Zyngier <marc.zyngier@arm.com> | Mon Aug 13 09:03:44 2018 +0100 |
tree | d61a2147f8416953173b2ea82ea5d793d917a5ef | |
parent | 0702bc4d2fe793018ad9aa0eb14bff7f526c4095 [diff] |
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>