All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] List LGPL (v2 / v2.1) as GPL compatible in license_is_gpl_compatible()
@ 2012-05-31 22:24 Harald Welte
  2012-06-01  8:00 ` Alan Cox
  0 siblings, 1 reply; 3+ messages in thread
From: Harald Welte @ 2012-05-31 22:24 UTC (permalink / raw)
  To: linux-kernel

It may be a highly unusual choice to license Linux kernel drivers under
LGPL, but at least as long as LGPLv2 or LGPLv2.1 is used, this is fully
GPL compatible and shouldn't taint the kernel.

Signed-off-by: Harald Welte <laforge@gnumonks.org>
---
 include/linux/license.h |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

 NOTE: I've actually seen this happen in practise, where an embedded
 system ships with a LPGL licensed driver which in turn taints the
 kernel.  I suppose this was not really the intention...

diff --git a/include/linux/license.h b/include/linux/license.h
index decdbf4..9c0df0e 100644
--- a/include/linux/license.h
+++ b/include/linux/license.h
@@ -8,7 +8,10 @@ static inline int license_is_gpl_compatible(const char *license)
 		|| strcmp(license, "GPL and additional rights") == 0
 		|| strcmp(license, "Dual BSD/GPL") == 0
 		|| strcmp(license, "Dual MIT/GPL") == 0
-		|| strcmp(license, "Dual MPL/GPL") == 0);
+		|| strcmp(license, "Dual MPL/GPL") == 0
+		|| strcmp(license, "LGPL") == 0
+		|| strcmp(license, "LGPL v2") == 0
+		|| strcmp(license, "LGPL v2.1") == 0);
 }
 
 #endif
-- 
1.7.10

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] List LGPL (v2 / v2.1) as GPL compatible in license_is_gpl_compatible()
  2012-05-31 22:24 [PATCH] List LGPL (v2 / v2.1) as GPL compatible in license_is_gpl_compatible() Harald Welte
@ 2012-06-01  8:00 ` Alan Cox
  2012-07-01 17:18   ` Harald Welte
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Cox @ 2012-06-01  8:00 UTC (permalink / raw)
  To: Harald Welte; +Cc: linux-kernel

On Fri, 1 Jun 2012 00:24:07 +0200
Harald Welte <laforge@gnumonks.org> wrote:

> It may be a highly unusual choice to license Linux kernel drivers under
> LGPL, but at least as long as LGPLv2 or LGPLv2.1 is used, this is fully
> GPL compatible and shouldn't taint the kernel.

We need to be careful here that people don't think they can use an LGPL
module with a GPL kernel and then use that to load proprietary bits, but
beyond that obvious interpretation point this seems reasonable.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] List LGPL (v2 / v2.1) as GPL compatible in license_is_gpl_compatible()
  2012-06-01  8:00 ` Alan Cox
@ 2012-07-01 17:18   ` Harald Welte
  0 siblings, 0 replies; 3+ messages in thread
From: Harald Welte @ 2012-07-01 17:18 UTC (permalink / raw)
  To: linux-kernel; +Cc: Alan Cox

Hi all,

I'd like to follow-up to this message, as the patch didn't get merged
during the last month.

It still feels odd to see messages about "LGPL" tainting the kernel.  Is
this really the intended behaviour?

Regards,
	Harald

-- 
- Harald Welte <laforge@gnumonks.org>           http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
                                                  (ETSI EN 300 175-7 Ch. A6)

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-07-02  2:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-31 22:24 [PATCH] List LGPL (v2 / v2.1) as GPL compatible in license_is_gpl_compatible() Harald Welte
2012-06-01  8:00 ` Alan Cox
2012-07-01 17:18   ` Harald Welte

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.