Message ID | Pine.SOC.4.64.0903031933400.26090@math.ut.ee |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Meelis Roos <mroos@linux.ee> Date: Tue, 3 Mar 2009 20:11:26 +0200 (EET) > 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. > > Signed-off-by: Meelis Roos <mroos@linux.ee> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/802/tr.c b/net/802/tr.c index 158150f..f47ae28 100644 --- a/net/802/tr.c +++ b/net/802/tr.c @@ -668,3 +668,5 @@ module_init(rif_init); EXPORT_SYMBOL(tr_type_trans); EXPORT_SYMBOL(alloc_trdev); + +MODULE_LICENSE("GPL");
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. Signed-off-by: Meelis Roos <mroos@linux.ee>