lkml.org 
[lkml]   [2010]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] leds-net5501: taints kernel, add license
From: Randy Dunlap <randy.dunlap@oracle.com>

Add MODULE_LICENSE() that matches file comments so that kernel
is not tainted.

leds_net5501: module license 'unspecified' taints kernel.

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
---
drivers/leds/leds-net5501.c | 2 ++
1 file changed, 2 insertions(+)

Alessandro, why does this module not have a module_exit() function?
I.e., why can it not be unloaded?


--- lnx-2637-rc1.orig/drivers/leds/leds-net5501.c
+++ lnx-2637-rc1/drivers/leds/leds-net5501.c
@@ -92,3 +92,5 @@ unmap:
}

arch_initcall(soekris_init);
+
+MODULE_LICENSE("GPL");

\
 
 \ /
  Last update: 2010-11-04 18:31    [W:0.046 / U:1.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site