Skip to content

Commit 84edd7a

Browse files
Jeff Johnsonjarkkojs
authored andcommitted
KEYS: encrypted: add missing MODULE_DESCRIPTION()
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 <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
1 parent 0a1ba36 commit 84edd7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

security/keys/encrypted-keys/encrypted.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1040,4 +1040,5 @@ static void __exit cleanup_encrypted(void)
10401040
late_initcall(init_encrypted);
10411041
module_exit(cleanup_encrypted);
10421042

1043+
MODULE_DESCRIPTION("Encrypted key type");
10431044
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)