mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] crypto: ppc/curve25519 - add missing MODULE_DESCRIPTION() macro
@ 2024-07-19  1:14 Jeff Johnson
  2024-08-02 13:15 ` Herbert Xu
  0 siblings, 1 reply; 6+ messages in thread
From: Jeff Johnson @ 2024-07-19  1:14 UTC (permalink / raw)
  To: Herbert Xu, David S. Miller, Michael Ellerman, Nicholas Piggin,
	Christophe Leroy, Naveen N. Rao, Danny Tsen
  Cc: linux-crypto, linuxppc-dev, linux-kernel, kernel-janitors, Jeff Johnson

Since commit 1fffe7a34c89 ("script: modpost: emit a warning when the
description is missing"), a module without a MODULE_DESCRIPTION() will
result in a warning with make W=1. The following warning is being
observed when building ppc64le with CRYPTO_CURVE25519_PPC64=m:

WARNING: modpost: missing MODULE_DESCRIPTION() in arch/powerpc/crypto/curve25519-ppc64le.o

Add the missing invocation of the MODULE_DESCRIPTION() macro.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
 arch/powerpc/crypto/curve25519-ppc64le-core.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/arch/powerpc/crypto/curve25519-ppc64le-core.c b/arch/powerpc/crypto/curve25519-ppc64le-core.c
index 4e3e44ea4484..f7810be0b292 100644
--- a/arch/powerpc/crypto/curve25519-ppc64le-core.c
+++ b/arch/powerpc/crypto/curve25519-ppc64le-core.c
@@ -295,5 +295,6 @@ module_exit(curve25519_mod_exit);
 
 MODULE_ALIAS_CRYPTO("curve25519");
 MODULE_ALIAS_CRYPTO("curve25519-ppc64le");
+MODULE_DESCRIPTION("PPC64le Curve25519 scalar multiplication with 51 bits limbs");
 MODULE_LICENSE("GPL v2");
 MODULE_AUTHOR("Danny Tsen <dtsen@us.ibm.com>");

---
base-commit: df1e9791998a92fe9f1e7d3f031b34daaad39e2f
change-id: 20240718-md-powerpc-arch-powerpc-crypto-2c96382d0eaf


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

end of thread, other threads:[~2024-08-02 16:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-19  1:14 [PATCH] crypto: ppc/curve25519 - add missing MODULE_DESCRIPTION() macro Jeff Johnson
2024-08-02 13:15 ` Herbert Xu
2024-08-02 14:27   ` Jeff Johnson
2024-08-02 15:10     ` Dan Carpenter
2024-08-02 15:16     ` Arnd Bergmann
2024-08-02 16:13       ` Jeff Johnson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®