diff options
author | Tudor Ambarus <tudor-dan.ambarus@nxp.com> | 2016-04-29 16:48:08 +0200 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2016-05-11 15:32:37 +0200 |
commit | cc74545a8b67fb193d01f4639d0b93dc913c3c4c (patch) | |
tree | 0160dc63a6defd447b4d0c412f6b231d485e4bc2 | |
parent | KEYS: The PKCS#7 test key type should use the secondary keyring (diff) | |
download | linux-cc74545a8b67fb193d01f4639d0b93dc913c3c4c.tar.xz linux-cc74545a8b67fb193d01f4639d0b93dc913c3c4c.zip |
lib: asn1_decoder - add MODULE_LICENSE("GPL")
A kernel taint results when loading the rsa_generic module:
root@(none):~# modprobe rsa_generic
asn1_decoder: module license 'unspecified' taints kernel.
Disabling lock debugging due to kernel taint
"Tainting" of the kernel is (usually) a way of indicating that
a proprietary module has been inserted, which is not the case here.
Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com>
Signed-off-by: David Howells <dhowells@redhat.com>
-rw-r--r-- | lib/asn1_decoder.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/asn1_decoder.c b/lib/asn1_decoder.c index 2b3f46c049d4..b1ffcab7211a 100644 --- a/lib/asn1_decoder.c +++ b/lib/asn1_decoder.c @@ -12,6 +12,7 @@ #include <linux/export.h> #include <linux/kernel.h> #include <linux/errno.h> +#include <linux/module.h> #include <linux/asn1_decoder.h> #include <linux/asn1_ber_bytecode.h> @@ -504,3 +505,5 @@ error: return -EBADMSG; } EXPORT_SYMBOL_GPL(asn1_ber_decoder); + +MODULE_LICENSE("GPL"); |