From d4f08c3fe2967efdb668c6010ae2ead11ba91c4d Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Wed, 12 Feb 2020 12:15:31 +0100 Subject: [PATCH] drivers: interrupt_controller: stm32: Missing break statement Fix missing break statement is missing in switch/case. Fixes #22646 Signed-off-by: Erwan Gouriou --- drivers/interrupt_controller/intc_exti_stm32.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/interrupt_controller/intc_exti_stm32.c b/drivers/interrupt_controller/intc_exti_stm32.c index dfb14af6a674e0..30f124544532e7 100644 --- a/drivers/interrupt_controller/intc_exti_stm32.c +++ b/drivers/interrupt_controller/intc_exti_stm32.c @@ -181,6 +181,7 @@ void stm32_exti_trigger(int line, int trigger) case STM32_EXTI_TRIG_BOTH: LL_EXTI_EnableRisingTrig_0_31(1 << line); LL_EXTI_EnableFallingTrig_0_31(1 << line); + break; default: __ASSERT_NO_MSG(trigger); }