crypto: Add missing MODULE_DESCRIPTION() macros
Subsystems (3)
PATCH 1/1 crypto: Add missing MODULE_DESCRIPTION() macros
Fix the 'make W=1' warnings:
WARNING: modpost: missing MODULE_DESCRIPTION() in crypto/cast_common.o
WARNING: modpost: missing MODULE_DESCRIPTION() in crypto/af_alg.o
WARNING: modpost: missing MODULE_DESCRIPTION() in crypto/algif_hash.o
WARNING: modpost: missing MODULE_DESCRIPTION() in crypto/algif_skcipher.o
WARNING: modpost: missing MODULE_DESCRIPTION() in crypto/ecc.o
WARNING: modpost: missing MODULE_DESCRIPTION() in crypto/curve25519-generic.o
WARNING: modpost: missing MODULE_DESCRIPTION() in crypto/xor.o
WARNING: modpost: missing MODULE_DESCRIPTION() in crypto/crypto_simd.o
--- crypto/af_alg.c | 1 + crypto/algif_hash.c | 1 + crypto/algif_skcipher.c | 1 + crypto/cast_common.c | 1 + crypto/curve25519-generic.c | 1 + crypto/ecc.c | 1 + crypto/simd.c | 1 + crypto/xor.c | 1 + 8 files changed, 8 insertions(+)
crypto/af_alg.c +1 -0
@@ -1317,5 +1317,6 @@ static void __exit af_alg_exit(void)module_init (af_alg_init);module_exit (af_alg_exit); +MODULE_DESCRIPTION ("Crypto userspace interface" );MODULE_LICENSE ("GPL" );MODULE_ALIAS_NETPROTO (AF_ALG );
crypto/algif_hash.c +1 -0
@@ -471,4 +471,5 @@ static void __exit algif_hash_exit(void)module_init (algif_hash_init);module_exit (algif_hash_exit); +MODULE_DESCRIPTION ("Userspace interface for hash algorithms" );MODULE_LICENSE ("GPL" );
crypto/algif_skcipher.c +1 -0
@@ -437,4 +437,5 @@ static void __exit algif_skcipher_exit(void)module_init (algif_skcipher_init);module_exit (algif_skcipher_exit); +MODULE_DESCRIPTION ("Userspace interface for skcipher algorithms" );MODULE_LICENSE ("GPL" );
crypto/cast_common.c +1 -0
@@ -282,4 +282,5 @@ __visible const u32 cast_s4[256] = { };EXPORT_SYMBOL_GPL (cast_s4); +MODULE_DESCRIPTION ("Common lookup tables for CAST-128 (cast5) and CAST-256 (cast6)" );MODULE_LICENSE ("GPL" );
crypto/curve25519-generic.c +1 -0
@@ -87,4 +87,5 @@ module_exit(curve25519_exit);MODULE_ALIAS_CRYPTO ("curve25519" );MODULE_ALIAS_CRYPTO ("curve25519-generic" ); +MODULE_DESCRIPTION ("Curve25519 elliptic curve (RFC7748)" );MODULE_LICENSE ("GPL" );
crypto/ecc.c +1 -0
@@ -1715,4 +1715,5 @@ int crypto_ecdh_shared_secret(unsigned int curve_id, unsigned int ndigits, }EXPORT_SYMBOL (crypto_ecdh_shared_secret); +MODULE_DESCRIPTION ("core elliptic curve module" );MODULE_LICENSE ("Dual BSD/GPL" );
crypto/simd.c +1 -0
@@ -523,4 +523,5 @@ void simd_unregister_aeads(struct aead_alg *algs, int count, }EXPORT_SYMBOL_GPL (simd_unregister_aeads); +MODULE_DESCRIPTION ("Shared crypto SIMD helpers" );MODULE_LICENSE ("GPL" );
crypto/xor.c +1 -0
@@ -165,6 +165,7 @@ calibrate_xor_blocks(void) static __exit void xor_exit(void) { } +MODULE_DESCRIPTION ("RAID-5 checksumming functions" );MODULE_LICENSE ("GPL" );#ifndef MODULE
---
base-commit: 5c4069234f68372e80e4edfcce260e81fd9da007
change-id: 20240523-md-crypto-aa7be4a20cfc
Herbert Xu
maintainerQuoted 11 lines · Jeff Johnson
Fix the 'make W=1' warnings:
WARNING: modpost: missingMODULE_DESCRIPTION()incrypto/cast_common.o
WARNING: modpost: missingMODULE_DESCRIPTION()incrypto/af_alg.o
WARNING: modpost: missingMODULE_DESCRIPTION()incrypto/algif_hash.o
WARNING: modpost: missingMODULE_DESCRIPTION()incrypto/algif_skcipher.o
WARNING: modpost: missingMODULE_DESCRIPTION()incrypto/ecc.o
WARNING: modpost: missingMODULE_DESCRIPTION()incrypto/curve25519-generic.o
WARNING: modpost: missingMODULE_DESCRIPTION()incrypto/xor.o
WARNING: modpost: missingMODULE_DESCRIPTION()incrypto/crypto_simd.oSigned-off-by Jeff Johnson <[email protected]>
Quoted 10 lines
--- crypto/af_alg.c | 1 + crypto/algif_hash.c | 1 + crypto/algif_skcipher.c | 1 + crypto/cast_common.c | 1 + crypto/curve25519-generic.c | 1 + crypto/ecc.c | 1 + crypto/simd.c | 1 + crypto/xor.c | 1 + 8 files changed, 8 insertions(+)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt