]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
KEYS: encrypted: add missing MODULE_DESCRIPTION()
authorJeff Johnson <quic_jjohnson@quicinc.com>
Fri, 7 Jun 2024 01:47:07 +0000 (18:47 -0700)
committerJarkko Sakkinen <jarkko.sakkinen@iki.fi>
Mon, 1 Jul 2024 14:16:54 +0000 (14:16 +0000)
During kbuild, with W=1, modpost will warn when a module doesn't have
a MODULE_DESCRIPTION(). The encrypted-keys module does not have a
MODULE_DESCRIPTION().  But currently, even with an allmodconfig
configuration, this module is built-in, and as a result, kbuild does
not currently warn about the missing MODULE_DESCRIPTION().

However, just in case it is built as a module in the future, add the
missing MODULE_DESCRIPTION() macro invocation.

Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com>
Reviewed-by: Jarkko Sakkinen <jarkko@kernel.org>
Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
security/keys/encrypted-keys/encrypted.c

index 8af2136069d239129c2994e5ee0f3e9b696ed7ea..831cb84fd75a1c9c7ecbbdaa5ef62a9999aaf344 100644 (file)
@@ -1040,4 +1040,5 @@ static void __exit cleanup_encrypted(void)
 late_initcall(init_encrypted);
 module_exit(cleanup_encrypted);
 
+MODULE_DESCRIPTION("Encrypted key type");
 MODULE_LICENSE("GPL");