Skip to content

Commit ccab605

Browse files
Tudor Ambarusherbertx
authored andcommitted
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>
1 parent dbe2462 commit ccab605

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

‎lib/asn1_decoder.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#include <linux/export.h>
1313
#include <linux/kernel.h>
1414
#include <linux/errno.h>
15+
#include <linux/module.h>
1516
#include <linux/asn1_decoder.h>
1617
#include <linux/asn1_ber_bytecode.h>
1718

@@ -504,3 +505,5 @@ int asn1_ber_decoder(const struct asn1_decoder *decoder,
504505
return -EBADMSG;
505506
}
506507
EXPORT_SYMBOL_GPL(asn1_ber_decoder);
508+
509+
MODULE_LICENSE("GPL");

0 commit comments

Comments
 (0)