Skip to contentSkip to conversation

delete_module: export license information

PATCH Superseded Mason 2 participants 4 messages Mar 25, 2016 – Mar 29, 2016

lore
Share & tools
lore

Mason

author
#0 lore raw

PATCH 1/1 delete_module: export license information

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(+)
testcases/kernel/module/delete_module/dummy_del_mod.c +1 -0
index dfda0e333f46..10932d0aa959 100644
@@ -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");
testcases/kernel/module/delete_module/dummy_del_mod_dep.c +1 -0
index a15b2ea5d7c0..c9f60e3cde9e 100644
@@ -53,3 +53,4 @@ static void __exit dummy_exit(void)
 
 module_init(dummy_init);
 module_exit(dummy_exit);
+MODULE_LICENSE("GPL");
Signature · 1 line
2.7.0
#1 lore raw

PATCH 1/1 delete_module: export license information

Hi,

Quoted 4 lines · Mason

Export license information to avoid kernel taint.

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

Please add "Signed-off-by: ..." line to the patch.

Thanks,
Alexey

Quoted 23 lines
---
  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(+)
testcases/kernel/module/delete_module/dummy_del_mod.c +1 -0
index dfda0e333f46..10932d0aa959 100644
@@ -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");
testcases/kernel/module/delete_module/dummy_del_mod_dep.c +1 -0
index a15b2ea5d7c0..c9f60e3cde9e 100644
@@ -53,3 +53,4 @@ static void __exit dummy_exit(void)
 
  module_init(dummy_init);
  module_exit(dummy_exit);
+MODULE_LICENSE("GPL");
author
#2 lore raw

PATCH v2 1/1 delete_module: export license information

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(+)
testcases/kernel/module/delete_module/dummy_del_mod.c +1 -0
index dfda0e333f46..10932d0aa959 100644
@@ -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");
testcases/kernel/module/delete_module/dummy_del_mod_dep.c +1 -0
index a15b2ea5d7c0..c9f60e3cde9e 100644
@@ -53,3 +53,4 @@ static void __exit dummy_exit(void)
 
 module_init(dummy_init);
 module_exit(dummy_exit);
+MODULE_LICENSE("GPL");
Signature · 1 line
2.7.0
#3 lore raw

PATCH v2 1/1 delete_module: export license information

Hi,

Quoted 6 lines · Mason

Export license information to avoid kernel taint.

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

Patch applied, thanks!

Best regards,
Alexey