From: Yann Gautier Date: Mon, 12 Dec 2022 13:53:45 +0000 (+0100) Subject: fix(st): include utils.h to solve compilation error X-Git-Tag: baikal/aarch64/sdk5.10~1^2~310^2 X-Git-Url: https://git.baikalelectronics.ru/?a=commitdiff_plain;h=377846b65e8eb946a6560f1200ca4ca0e1eb8b99;p=arm-tf.git 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 --- 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