From cc8166bfc829043020b5cc3b7cdba02a17d03b6d Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Thu, 30 Jun 2022 16:11:49 +0800 Subject: [PATCH] crypto: vmx - Fix warning on p8_ghash_alg The compiler complains that p8_ghash_alg isn't declared which is because the header file aesp8-ppc.h isn't included in ghash.c. This patch fixes the warning. Signed-off-by: Herbert Xu Acked-by: Breno Leitao Signed-off-by: Herbert Xu --- drivers/crypto/vmx/ghash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/vmx/ghash.c b/drivers/crypto/vmx/ghash.c index 5bc5710a6de0..77eca20bc7ac 100644 --- a/drivers/crypto/vmx/ghash.c +++ b/drivers/crypto/vmx/ghash.c @@ -23,6 +23,7 @@ #include #include #include +#include "aesp8-ppc.h" void gcm_init_p8(u128 htable[16], const u64 Xi[2]); void gcm_gmult_p8(u64 Xi[2], const u128 htable[16]);