Skip to content
Commit 4096165d authored by Dan Carpenter's avatar Dan Carpenter Committed by Marc Zyngier
Browse files

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: f9fc1745

 ("irqchip/stm32: Add host and driver data structures")
Reviewed-by: default avatarLudovic Barre <ludovic.barre@st.com>
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
parent 0702bc4d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment