* [PATCH] lib: crypto: add missing MODULE_DESCRIPTION() macros
@ 2024-05-28 23:49 Jeff Johnson
2024-06-07 11:54 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Jeff Johnson @ 2024-05-28 23:49 UTC (permalink / raw)
To: Herbert Xu, David S. Miller
Cc: linux-crypto, linux-kernel, kernel-janitors, Jeff Johnson
Fix the allmodconfig 'make W=1' warnings:
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/crypto/libchacha.o
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/crypto/libarc4.o
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/crypto/libdes.o
WARNING: modpost: missing MODULE_DESCRIPTION() in lib/crypto/libpoly1305.o
Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
---
lib/crypto/arc4.c | 1 +
lib/crypto/des.c | 1 +
lib/crypto/libchacha.c | 1 +
lib/crypto/poly1305.c | 1 +
4 files changed, 4 insertions(+)
diff --git a/lib/crypto/arc4.c b/lib/crypto/arc4.c
index c2020f19c652..838812d18216 100644
--- a/lib/crypto/arc4.c
+++ b/lib/crypto/arc4.c
@@ -71,4 +71,5 @@ void arc4_crypt(struct arc4_ctx *ctx, u8 *out, const u8 *in, unsigned int len)
}
EXPORT_SYMBOL(arc4_crypt);
+MODULE_DESCRIPTION("ARC4 Cipher Algorithm");
MODULE_LICENSE("GPL");
diff --git a/lib/crypto/des.c b/lib/crypto/des.c
index ef5bb8822aba..9518658b97cf 100644
--- a/lib/crypto/des.c
+++ b/lib/crypto/des.c
@@ -899,4 +899,5 @@ void des3_ede_decrypt(const struct des3_ede_ctx *dctx, u8 *dst, const u8 *src)
}
EXPORT_SYMBOL_GPL(des3_ede_decrypt);
+MODULE_DESCRIPTION("DES & Triple DES EDE Cipher Algorithms");
MODULE_LICENSE("GPL");
diff --git a/lib/crypto/libchacha.c b/lib/crypto/libchacha.c
index dabc3accae05..cc1be0496eb9 100644
--- a/lib/crypto/libchacha.c
+++ b/lib/crypto/libchacha.c
@@ -32,4 +32,5 @@ void chacha_crypt_generic(u32 *state, u8 *dst, const u8 *src,
}
EXPORT_SYMBOL(chacha_crypt_generic);
+MODULE_DESCRIPTION("ChaCha stream cipher (RFC7539)");
MODULE_LICENSE("GPL");
diff --git a/lib/crypto/poly1305.c b/lib/crypto/poly1305.c
index 26d87fc3823e..5d8378d23e95 100644
--- a/lib/crypto/poly1305.c
+++ b/lib/crypto/poly1305.c
@@ -76,3 +76,4 @@ EXPORT_SYMBOL_GPL(poly1305_final_generic);
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Martin Willi <martin@strongswan.org>");
+MODULE_DESCRIPTION("Poly1305 authenticator algorithm, RFC7539");
---
base-commit: e0cce98fe279b64f4a7d81b7f5c3a23d80b92fbc
change-id: 20240528-md-lib-crypto-f520796646ff
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] lib: crypto: add missing MODULE_DESCRIPTION() macros
2024-05-28 23:49 [PATCH] lib: crypto: add missing MODULE_DESCRIPTION() macros Jeff Johnson
@ 2024-06-07 11:54 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2024-06-07 11:54 UTC (permalink / raw)
To: Jeff Johnson; +Cc: David S. Miller, linux-crypto, linux-kernel, kernel-janitors
On Tue, May 28, 2024 at 04:49:23PM -0700, Jeff Johnson wrote:
> Fix the allmodconfig 'make W=1' warnings:
> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/crypto/libchacha.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/crypto/libarc4.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/crypto/libdes.o
> WARNING: modpost: missing MODULE_DESCRIPTION() in lib/crypto/libpoly1305.o
>
> Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
> ---
> lib/crypto/arc4.c | 1 +
> lib/crypto/des.c | 1 +
> lib/crypto/libchacha.c | 1 +
> lib/crypto/poly1305.c | 1 +
> 4 files changed, 4 insertions(+)
Patch applied. Thanks.
--
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 [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-06-07 11:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-28 23:49 [PATCH] lib: crypto: add missing MODULE_DESCRIPTION() macros Jeff Johnson
2024-06-07 11:54 ` Herbert Xu
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®