Skip to content
Commit 3e02536f authored by Etienne Carriere's avatar Etienne Carriere Committed by Jamie
Browse files

boot: bootutil: declare fih_panic_loop() as noreturn



Add noreturn attribute the fih_panic_loop() and add a terminal
endless loop in the function to prevent build warnings like
the below one found when build MCUBOOT in TF-M:

.../arm-none-eabi/include/assert.h: In function '__assert_func':
.../trusted-firmware-m/platform/ext/common/tfm_assert.c:22:1: warning: 'noreturn' function does return
   22 | }
      | ^

Signed-off-by: default avatarEtienne Carriere <etienne.carriere@st.com>
parent 5eaf190a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment