From 377846b65e8eb946a6560f1200ca4ca0e1eb8b99 Mon Sep 17 00:00:00 2001 From: Yann Gautier Date: Mon, 12 Dec 2022 14:53:45 +0100 Subject: [PATCH] fix(st): include utils.h to solve compilation error If compiling with STM32MP13 with DECRYPTION_SUPPORT != none, there is a compilation error: plat/st/common/stm32mp_crypto_lib.c: In function 'plat_get_enc_key_info': plat/st/common/stm32mp_crypto_lib.c:532:25: error: implicit declaration of function 'zeromem' [-Werror=implicit-function-declaration] 532 | zeromem(key, *key_len); | ^~~~~~~ Adding #include solves the error. Signed-off-by: Yann Gautier Change-Id: I0a20c5632f0379612149333e69875369d4cfca15 --- plat/st/common/stm32mp_crypto_lib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/plat/st/common/stm32mp_crypto_lib.c b/plat/st/common/stm32mp_crypto_lib.c index d64424278..acfe70165 100644 --- a/plat/st/common/stm32mp_crypto_lib.c +++ b/plat/st/common/stm32mp_crypto_lib.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include -- 2.39.5