public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Mason <slash.tmp@free.fr>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH v2] delete_module: export license information
Date: Mon, 28 Mar 2016 13:27:42 +0200	[thread overview]
Message-ID: <56F9152E.2050804@free.fr> (raw)
In-Reply-To: <56F908F8.7070902@oracle.com>

Export license information to avoid kernel taint.

	dummy_del_mod: module license 'unspecified' taints kernel.
	Disabling lock debugging due to kernel taint

Signed-off-by: Mason <slash.tmp@free.fr>
---
 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-28 11:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-25 14:53 [LTP] [PATCH] delete_module: export license information Mason
2016-03-28 10:35 ` Alexey Kodanev
2016-03-28 11:27   ` Mason [this message]
2016-03-29  9:05     ` [LTP] [PATCH v2] " 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=56F9152E.2050804@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox