Skip to content

Commit 772111a

Browse files
committed
PKCS#7: Add MODULE_LICENSE() to test module
Add a MODULE_LICENSE() line to the PKCS#7 test key module to fix this warning: WARNING: modpost: missing MODULE_LICENSE() in crypto/asymmetric_keys/pkcs7_test_key.o Whilst we're at it, also add a module description. Reported-by: James Morris <[email protected]> Signed-off-by: David Howells <[email protected]>
1 parent 228c37f commit 772111a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crypto/asymmetric_keys/pkcs7_key_type.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020
#include <keys/system_keyring.h>
2121
#include "pkcs7_parser.h"
2222

23+
MODULE_LICENSE("GPL");
24+
MODULE_DESCRIPTION("PKCS#7 testing key type");
25+
2326
static unsigned pkcs7_usage;
2427
module_param_named(usage, pkcs7_usage, uint, S_IWUSR | S_IRUGO);
2528
MODULE_PARM_DESC(pkcs7_usage,

0 commit comments

Comments
 (0)