All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto: vmx - Fix warning on p8_ghash_alg
@ 2022-06-30  8:11 Herbert Xu
  2022-07-06 15:30 ` Breno Leitao
  0 siblings, 1 reply; 2+ messages in thread
From: Herbert Xu @ 2022-06-30  8:11 UTC (permalink / raw)
  To: Linux Crypto Mailing List, Breno Leitão, Nayna Jain,
	Paulo Flabiano Smorigo

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 <herbert@gondor.apana.org.au>

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 <crypto/internal/hash.h>
 #include <crypto/internal/simd.h>
 #include <crypto/b128ops.h>
+#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]);
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] crypto: vmx - Fix warning on p8_ghash_alg
  2022-06-30  8:11 [PATCH] crypto: vmx - Fix warning on p8_ghash_alg Herbert Xu
@ 2022-07-06 15:30 ` Breno Leitao
  0 siblings, 0 replies; 2+ messages in thread
From: Breno Leitao @ 2022-07-06 15:30 UTC (permalink / raw)
  To: Herbert Xu; +Cc: Linux Crypto Mailing List, Nayna Jain, Paulo Flabiano Smorigo

[-- Attachment #1: Type: text/plain, Size: 335 bytes --]

On Thu, Jun 30, 2022 at 04:11:49PM +0800, Herbert Xu wrote:
> 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 <herbert@gondor.apana.org.au>
Acked-by: Breno Leitao <leitao@debian.org>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-07-06 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-30  8:11 [PATCH] crypto: vmx - Fix warning on p8_ghash_alg Herbert Xu
2022-07-06 15:30 ` Breno Leitao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.