Skip to content

Commit

Permalink
PKCS#7: Add MODULE_LICENSE() to test module
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
dhowells committed Aug 13, 2015
1 parent 228c37f commit 772111a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crypto/asymmetric_keys/pkcs7_key_type.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#include <keys/system_keyring.h>
#include "pkcs7_parser.h"

MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("PKCS#7 testing key type");

static unsigned pkcs7_usage;
module_param_named(usage, pkcs7_usage, uint, S_IWUSR | S_IRUGO);
MODULE_PARM_DESC(pkcs7_usage,
Expand Down

0 comments on commit 772111a

Please sign in to comment.