All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mason <slash.tmp@free.fr>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH] delete_module: export license information
Date: Fri, 25 Mar 2016 15:53:44 +0100	[thread overview]
Message-ID: <56F550F8.3000609@free.fr> (raw)

Export license information to avoid kernel taint.

	dummy_del_mod: module license 'unspecified' taints kernel.
	Disabling lock debugging due to kernel taint
---
 testcases/kernel/module/delete_module/dummy_del_mod.c     | 1 +
 testcases/kernel/module/delete_module/dummy_del_mod_dep.c | 1 +
 2 files changed, 2 insertions(+)

diff --git a/testcases/kernel/module/delete_module/dummy_del_mod.c b/testcases/kernel/module/delete_module/dummy_del_mod.c
index dfda0e333f46..10932d0aa959 100644
--- a/testcases/kernel/module/delete_module/dummy_del_mod.c
+++ b/testcases/kernel/module/delete_module/dummy_del_mod.c
@@ -61,3 +61,4 @@ static void __exit dummy_exit(void)
 module_init(dummy_init);
 module_exit(dummy_exit);
 EXPORT_SYMBOL(dummy_func_test);
+MODULE_LICENSE("GPL");
diff --git a/testcases/kernel/module/delete_module/dummy_del_mod_dep.c b/testcases/kernel/module/delete_module/dummy_del_mod_dep.c
index a15b2ea5d7c0..c9f60e3cde9e 100644
--- a/testcases/kernel/module/delete_module/dummy_del_mod_dep.c
+++ b/testcases/kernel/module/delete_module/dummy_del_mod_dep.c
@@ -53,3 +53,4 @@ static void __exit dummy_exit(void)
 
 module_init(dummy_init);
 module_exit(dummy_exit);
+MODULE_LICENSE("GPL");
-- 
2.7.0


             reply	other threads:[~2016-03-25 14:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-25 14:53 Mason [this message]
2016-03-28 10:35 ` [LTP] [PATCH] delete_module: export license information Alexey Kodanev
2016-03-28 11:27   ` [LTP] [PATCH v2] " Mason
2016-03-29  9:05     ` Alexey Kodanev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56F550F8.3000609@free.fr \
    --to=slash.tmp@free.fr \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.