Skip to contentSkip to conversation

fix tokenring license

PATCH Applied Meelis Roos 2 participants 2 messages Mar 3, 2009 – Mar 4, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix tokenring license

Currently, modular tokenring ("tr") lacks a license and fails to load:

tr: module license 'unspecified' taints kernel.
tr: Unknown symbol proc_net_fops_create

Beacuse of this, no tokenring driver can load if it depends on modular tr. Fix this by adding GPL module license as it is in the kernel.

With this fix, tr module loads fine and tms380 driver also loads. Well, it does'nt work but that's a different bug.

net/802/tr.c +2 -0
index 158150f..f47ae28 100644
@@ -668,3 +668,5 @@ module_init(rif_init);
 
 EXPORT_SYMBOL(tr_type_trans);
 EXPORT_SYMBOL(alloc_trdev);
+
+MODULE_LICENSE("GPL");
Signature · 1 line
Meelis Roos ([email protected])
maintainer Applied
#1 lore raw

From: Meelis Roos <[email protected]>
Date: Tue, 3 Mar 2009 20:11:26 +0200 (EET)

Quoted 5 lines

Currently, modular tokenring ("tr") lacks a license and fails to load:

tr: module license 'unspecified' taints kernel.
tr: Unknown symbol proc_net_fops_create

Quoted 7 lines

Beacuse of this, no tokenring driver can load if it depends on modular tr. Fix this by adding GPL module license as it is in the kernel.

With this fix, tr module loads fine and tms380 driver also loads. Well, it does'nt work but that's a different bug.

Applied, thanks.