diff options
author | Tudor Ambarus <tudor-dan.ambarus@nxp.com> | 2016-04-29 10:48:08 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-05-03 04:10:12 -0400 |
commit | ccab6058daa4933def4194b8ff6a4bb33c7f2a97 (patch) | |
tree | 71fe4235c1af11272a9bb27138208de39e6e7014 | |
parent | dbe246209bc1a2a870250499b8f584251838d5b4 (diff) |
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: Herbert Xu <herbert@gondor.apana.org.au>
-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 @@ | |||
12 | #include <linux/export.h> | 12 | #include <linux/export.h> |
13 | #include <linux/kernel.h> | 13 | #include <linux/kernel.h> |
14 | #include <linux/errno.h> | 14 | #include <linux/errno.h> |
15 | #include <linux/module.h> | ||
15 | #include <linux/asn1_decoder.h> | 16 | #include <linux/asn1_decoder.h> |
16 | #include <linux/asn1_ber_bytecode.h> | 17 | #include <linux/asn1_ber_bytecode.h> |
17 | 18 | ||
@@ -504,3 +505,5 @@ error: | |||
504 | return -EBADMSG; | 505 | return -EBADMSG; |
505 | } | 506 | } |
506 | EXPORT_SYMBOL_GPL(asn1_ber_decoder); | 507 | EXPORT_SYMBOL_GPL(asn1_ber_decoder); |
508 | |||
509 | MODULE_LICENSE("GPL"); | ||