Skip to contentSkip to conversation

mb862xxfb: fix acceleration module license

PATCH In review Randy Dunlap 2 participants 2 messages Apr 2, 2010 – Apr 5, 2010 Framebuffer layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mb862xxfb: fix acceleration module license

From: Randy Dunlap <[email protected]>

mb862xxfb_accel built as a separate module, but it does not have a MODULE_LICENSE, so it taints the kernel. Add a MODULE_LICENSE to it (same as mb862xxfb license).

mb862xxfb_accel: module license 'unspecified' taints kernel.

or should mb862xxfb_accel be built into the mb862xxfb binary file instead?

Cc Alexander Shishkin <[email protected]>
Cc Valentin Sitdikov <[email protected]>
---
 drivers/video/mb862xx/mb862xxfb_accel.c |    3 +++
 1 file changed, 3 insertions(+)
drivers/video/mb862xx/mb862xxfb_accel.c +3 -0
@@ -16,6 +16,7 @@
 #include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 #include <linux/pci.h>
 #if defined(CONFIG_OF)
 #include <linux/of_platform.h>
@@ -329,3 +330,5 @@ void mb862xxfb_init_accel(struct fb_info
 	info->fix.accel = 0xff;	/*FIXME: add right define */
 }
 EXPORT_SYMBOL(mb862xxfb_init_accel);
+
+MODULE_LICENSE("GPL v2");
Acked-by on v1 1/1
#1 lore raw

On Fri, Apr 02, 2010 at 11:57:38 -0700, Randy Dunlap wrote:

(adding Valentin's new email address to the loop)

Quoted 10 lines

From: Randy Dunlap <[email protected]>

mb862xxfb_accel built as a separate module, but it does not have a MODULE_LICENSE, so it taints the kernel. Add a MODULE_LICENSE to it (same as mb862xxfb license).

mb862xxfb_accel: module license 'unspecified' taints kernel.

or should mb862xxfb_accel be built into the mb862xxfb binary file instead?

It's ok to have this licensed GPLv2 as far I'm concerned. Valentin, what do you say?

Quoted 3 lines
Cc Alexander Shishkin <[email protected]>
Cc Valentin Sitdikov <[email protected]>
Quoted 20 lines
---
 drivers/video/mb862xx/mb862xxfb_accel.c |    3 +++
 1 file changed, 3 insertions(+)
drivers/video/mb862xx/mb862xxfb_accel.c +3 -0
@@ -16,6 +16,7 @@
 #include <linux/delay.h>
 #include <linux/init.h>
 #include <linux/interrupt.h>
+#include <linux/module.h>
 #include <linux/pci.h>
 #if defined(CONFIG_OF)
 #include <linux/of_platform.h>
@@ -329,3 +330,5 @@ void mb862xxfb_init_accel(struct fb_info
 	info->fix.accel = 0xff;	/*FIXME: add right define */
 }
 EXPORT_SYMBOL(mb862xxfb_init_accel);
+
+MODULE_LICENSE("GPL v2");