linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE
       [not found] <1453466057-7176-1-git-send-email-wei.liu2@citrix.com>
@ 2016-01-22 12:34 ` Wei Liu
  2016-01-22 13:14   ` [Xen-devel] " David Vrabel
  2016-01-22 12:34 ` [PATCH 2/3] xen-blkback: " Wei Liu
  2016-01-22 12:34 ` [PATCH 3/3] xen-scsiback: " Wei Liu
  2 siblings, 1 reply; 12+ messages in thread
From: Wei Liu @ 2016-01-22 12:34 UTC (permalink / raw)
  To: Xen-devel
  Cc: David Vrabel, Konrad Rzeszutek Wilk, Boris Ostrovsky, Wei Liu,
	Ian Campbell, open list:XEN NETWORK BACKEND DRIVER, open list

The comment at the beginning of the file is the canonical source of
licenses for this module. Currently it contains GPL and MIT license. Fix
the code to reflect the reality.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 drivers/net/xen-netback/netback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/xen-netback/netback.c b/drivers/net/xen-netback/netback.c
index 61b97c3..2427242 100644
--- a/drivers/net/xen-netback/netback.c
+++ b/drivers/net/xen-netback/netback.c
@@ -2192,5 +2192,5 @@ static void __exit netback_fini(void)
 }
 module_exit(netback_fini);
 
-MODULE_LICENSE("Dual BSD/GPL");
+MODULE_LICENSE("Dual MIT/GPL");
 MODULE_ALIAS("xen-backend:vif");
-- 
2.1.4

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

* [PATCH 2/3] xen-blkback: fix license ident used in MODULE_LICENSE
       [not found] <1453466057-7176-1-git-send-email-wei.liu2@citrix.com>
  2016-01-22 12:34 ` [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE Wei Liu
@ 2016-01-22 12:34 ` Wei Liu
  2016-01-22 12:44   ` Roger Pau Monné
  2016-01-22 12:34 ` [PATCH 3/3] xen-scsiback: " Wei Liu
  2 siblings, 1 reply; 12+ messages in thread
From: Wei Liu @ 2016-01-22 12:34 UTC (permalink / raw)
  To: Xen-devel
  Cc: David Vrabel, Konrad Rzeszutek Wilk, Boris Ostrovsky, Wei Liu,
	Roger Pau Monné,
	open list

The comment at the beginning of the file is the canonical source of
licenses for this module. Currently it contains GPL and MIT license.
Fix the code to reflect the reality.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 drivers/block/xen-blkback/blkback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/block/xen-blkback/blkback.c b/drivers/block/xen-blkback/blkback.c
index 4809c15..01cc572 100644
--- a/drivers/block/xen-blkback/blkback.c
+++ b/drivers/block/xen-blkback/blkback.c
@@ -1496,5 +1496,5 @@ static int __init xen_blkif_init(void)
 
 module_init(xen_blkif_init);
 
-MODULE_LICENSE("Dual BSD/GPL");
+MODULE_LICENSE("Dual MIT/GPL");
 MODULE_ALIAS("xen-backend:vbd");
-- 
2.1.4

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

* [PATCH 3/3] xen-scsiback: fix license ident used in MODULE_LICENSE
       [not found] <1453466057-7176-1-git-send-email-wei.liu2@citrix.com>
  2016-01-22 12:34 ` [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE Wei Liu
  2016-01-22 12:34 ` [PATCH 2/3] xen-blkback: " Wei Liu
@ 2016-01-22 12:34 ` Wei Liu
  2016-01-22 12:55   ` Juergen Gross
  2 siblings, 1 reply; 12+ messages in thread
From: Wei Liu @ 2016-01-22 12:34 UTC (permalink / raw)
  To: Xen-devel
  Cc: David Vrabel, Konrad Rzeszutek Wilk, Boris Ostrovsky, Wei Liu,
	Juergen Gross, open list:XEN PVSCSI DRIVERS, open list

The comment at the beginning of the file is the canonical source of
licenses for this module. Currently it contains GPL and MIT license.
Fix the code to reflect the reality.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
---
 drivers/xen/xen-scsiback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/xen/xen-scsiback.c b/drivers/xen/xen-scsiback.c
index ad4eb10..0695cf8 100644
--- a/drivers/xen/xen-scsiback.c
+++ b/drivers/xen/xen-scsiback.c
@@ -1915,6 +1915,6 @@ module_init(scsiback_init);
 module_exit(scsiback_exit);
 
 MODULE_DESCRIPTION("Xen SCSI backend driver");
-MODULE_LICENSE("Dual BSD/GPL");
+MODULE_LICENSE("Dual MIT/GPL");
 MODULE_ALIAS("xen-backend:vscsi");
 MODULE_AUTHOR("Juergen Gross <jgross@suse.com>");
-- 
2.1.4

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

* Re: [PATCH 2/3] xen-blkback: fix license ident used in MODULE_LICENSE
  2016-01-22 12:34 ` [PATCH 2/3] xen-blkback: " Wei Liu
@ 2016-01-22 12:44   ` Roger Pau Monné
  0 siblings, 0 replies; 12+ messages in thread
From: Roger Pau Monné @ 2016-01-22 12:44 UTC (permalink / raw)
  To: Wei Liu, Xen-devel
  Cc: David Vrabel, Konrad Rzeszutek Wilk, Boris Ostrovsky, open list

El 22/01/16 a les 13.34, Wei Liu ha escrit:
> The comment at the beginning of the file is the canonical source of
> licenses for this module. Currently it contains GPL and MIT license.
> Fix the code to reflect the reality.
> 
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>

Acked-by: Roger Pau Monné <roger.pau@citrix.com>

Thanks.

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

* Re: [PATCH 3/3] xen-scsiback: fix license ident used in MODULE_LICENSE
  2016-01-22 12:34 ` [PATCH 3/3] xen-scsiback: " Wei Liu
@ 2016-01-22 12:55   ` Juergen Gross
  0 siblings, 0 replies; 12+ messages in thread
From: Juergen Gross @ 2016-01-22 12:55 UTC (permalink / raw)
  To: Wei Liu, Xen-devel
  Cc: David Vrabel, Konrad Rzeszutek Wilk, Boris Ostrovsky,
	open list:XEN PVSCSI DRIVERS, open list

On 22/01/16 13:34, Wei Liu wrote:
> The comment at the beginning of the file is the canonical source of
> licenses for this module. Currently it contains GPL and MIT license.
> Fix the code to reflect the reality.
> 
> Signed-off-by: Wei Liu <wei.liu2@citrix.com>

Acked-by: Juergen Gross <jgross@suse.com>

> ---
>  drivers/xen/xen-scsiback.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/xen/xen-scsiback.c b/drivers/xen/xen-scsiback.c
> index ad4eb10..0695cf8 100644
> --- a/drivers/xen/xen-scsiback.c
> +++ b/drivers/xen/xen-scsiback.c
> @@ -1915,6 +1915,6 @@ module_init(scsiback_init);
>  module_exit(scsiback_exit);
>  
>  MODULE_DESCRIPTION("Xen SCSI backend driver");
> -MODULE_LICENSE("Dual BSD/GPL");
> +MODULE_LICENSE("Dual MIT/GPL");
>  MODULE_ALIAS("xen-backend:vscsi");
>  MODULE_AUTHOR("Juergen Gross <jgross@suse.com>");
> 

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

* Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE
  2016-01-22 12:34 ` [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE Wei Liu
@ 2016-01-22 13:14   ` David Vrabel
  2016-01-22 13:49     ` Wei Liu
  0 siblings, 1 reply; 12+ messages in thread
From: David Vrabel @ 2016-01-22 13:14 UTC (permalink / raw)
  To: Wei Liu, Xen-devel
  Cc: Ian Campbell, open list:XEN NETWORK BACKEND DRIVER, open list,
	David Vrabel, Boris Ostrovsky

On 22/01/16 12:34, Wei Liu wrote:
> The comment at the beginning of the file is the canonical source of
> licenses for this module. Currently it contains GPL and MIT license. Fix
> the code to reflect the reality.

"The MIT license" isn't really a thing.  The closest is the X11
license[1], but this not applicable here either since the text in the
drivers does not refer to X11 trademarks etc.

You can either use "GPL" which would be correct for a Linux kernel
module since the alternate only applies when distributed separately from
Linux ("or, when distributed separately from the Linux kernel or
incorporated into other software packages, subject to the following
license:"); or you can use "GPL and additional rights".

(Or you could just leave it as-is since "Dual BSD/GPL" is close enough.)

David

[1] http://www.gnu.org/licenses/license-list.html#X11License

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

* Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE
  2016-01-22 13:14   ` [Xen-devel] " David Vrabel
@ 2016-01-22 13:49     ` Wei Liu
  2016-01-22 14:15       ` Ian Campbell
  0 siblings, 1 reply; 12+ messages in thread
From: Wei Liu @ 2016-01-22 13:49 UTC (permalink / raw)
  To: David Vrabel
  Cc: Wei Liu, Xen-devel, Ian Campbell,
	open list:XEN NETWORK BACKEND DRIVER, open list, Boris Ostrovsky

On Fri, Jan 22, 2016 at 01:14:24PM +0000, David Vrabel wrote:
> On 22/01/16 12:34, Wei Liu wrote:
> > The comment at the beginning of the file is the canonical source of
> > licenses for this module. Currently it contains GPL and MIT license. Fix
> > the code to reflect the reality.
> 
> "The MIT license" isn't really a thing.  The closest is the X11
> license[1], but this not applicable here either since the text in the
> drivers does not refer to X11 trademarks etc.
> 

That was referring to the license ident string in Linux.  If MIT license
isn't a thing, why would Linux have it at all?

> You can either use "GPL" which would be correct for a Linux kernel
> module since the alternate only applies when distributed separately from
> Linux ("or, when distributed separately from the Linux kernel or
> incorporated into other software packages, subject to the following
> license:"); or you can use "GPL and additional rights".
> 
> (Or you could just leave it as-is since "Dual BSD/GPL" is close enough.)
> 

No, I don't want to leave it as-is. That's not BSD license.

I can change that to "GPL". That is acceptable to me.

Wei.

> David
> 
> [1] http://www.gnu.org/licenses/license-list.html#X11License
> 

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

* Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE
  2016-01-22 13:49     ` Wei Liu
@ 2016-01-22 14:15       ` Ian Campbell
  2016-01-22 14:34         ` David Vrabel
  2016-01-22 20:25         ` One Thousand Gnomes
  0 siblings, 2 replies; 12+ messages in thread
From: Ian Campbell @ 2016-01-22 14:15 UTC (permalink / raw)
  To: Wei Liu, David Vrabel
  Cc: Xen-devel, open list:XEN NETWORK BACKEND DRIVER, open list,
	Boris Ostrovsky

On Fri, 2016-01-22 at 13:49 +0000, Wei Liu wrote:
> On Fri, Jan 22, 2016 at 01:14:24PM +0000, David Vrabel wrote:
> > On 22/01/16 12:34, Wei Liu wrote:
> > > The comment at the beginning of the file is the canonical source of
> > > licenses for this module. Currently it contains GPL and MIT license.
> > > Fix
> > > the code to reflect the reality.
> > 
> > "The MIT license" isn't really a thing.  The closest is the X11
> > license[1], but this not applicable here either since the text in the
> > drivers does not refer to X11 trademarks etc.
> > 
> 
> That was referring to the license ident string in Linux.  If MIT license
> isn't a thing, why would Linux have it at all?

The fact what include/linux/license.h:license_is_gpl_compatible includes
"Dual MIT/GPL" as an option seems to suggest that it is enough of a thing
to be validly used as the contents of a MODULE_LICENSE() thing.

It's also in https://opensource.org/licenses/MIT , the fact that it might
be confused for other licenses used by MIT notwithstanding.

FWIW https://en.wikipedia.org/wiki/MIT_License seems to think that the
wording most commonly called the "MIT License" might be the "Expat
license", rather than the "X11 License" which is similar but different.

Ian.

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

* Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE
  2016-01-22 14:15       ` Ian Campbell
@ 2016-01-22 14:34         ` David Vrabel
  2016-01-22 20:25         ` One Thousand Gnomes
  1 sibling, 0 replies; 12+ messages in thread
From: David Vrabel @ 2016-01-22 14:34 UTC (permalink / raw)
  To: Ian Campbell, Wei Liu
  Cc: Xen-devel, open list:XEN NETWORK BACKEND DRIVER, open list,
	Boris Ostrovsky

On 22/01/16 14:15, Ian Campbell wrote:
> On Fri, 2016-01-22 at 13:49 +0000, Wei Liu wrote:
>> On Fri, Jan 22, 2016 at 01:14:24PM +0000, David Vrabel wrote:
>>> On 22/01/16 12:34, Wei Liu wrote:
>>>> The comment at the beginning of the file is the canonical source of
>>>> licenses for this module. Currently it contains GPL and MIT license.
>>>> Fix
>>>> the code to reflect the reality.
>>>
>>> "The MIT license" isn't really a thing.  The closest is the X11
>>> license[1], but this not applicable here either since the text in the
>>> drivers does not refer to X11 trademarks etc.
>>>
>>
>> That was referring to the license ident string in Linux.  If MIT license
>> isn't a thing, why would Linux have it at all?
> 
> The fact what include/linux/license.h:license_is_gpl_compatible includes
> "Dual MIT/GPL" as an option seems to suggest that it is enough of a thing
> to be validly used as the contents of a MODULE_LICENSE() thing.

"Dual MIT/GPL" is used exactly once in the source in a file that has no
license text and there is no other documentation.

David

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

* Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE
  2016-01-22 14:15       ` Ian Campbell
  2016-01-22 14:34         ` David Vrabel
@ 2016-01-22 20:25         ` One Thousand Gnomes
  2016-01-22 21:00           ` David Miller
  2016-01-23 14:54           ` Wei Liu
  1 sibling, 2 replies; 12+ messages in thread
From: One Thousand Gnomes @ 2016-01-22 20:25 UTC (permalink / raw)
  To: Ian Campbell
  Cc: Wei Liu, David Vrabel, Xen-devel,
	open list:XEN NETWORK BACKEND DRIVER, open list, Boris Ostrovsky

> The fact what include/linux/license.h:license_is_gpl_compatible includes
> "Dual MIT/GPL" as an option seems to suggest that it is enough of a thing
> to be validly used as the contents of a MODULE_LICENSE() thing.

Yes. The MIT licence most definitely exists, and people know what it
means.

Also nobody should be changing the licence on anything unless they have
the written permission of all rights holders on record, so it's best to
leave it be 8)

Alan

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

* Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE
  2016-01-22 20:25         ` One Thousand Gnomes
@ 2016-01-22 21:00           ` David Miller
  2016-01-23 14:54           ` Wei Liu
  1 sibling, 0 replies; 12+ messages in thread
From: David Miller @ 2016-01-22 21:00 UTC (permalink / raw)
  To: gnomes
  Cc: ian.campbell, wei.liu2, david.vrabel, xen-devel, netdev,
	linux-kernel, boris.ostrovsky

From: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
Date: Fri, 22 Jan 2016 20:25:21 +0000

>> The fact what include/linux/license.h:license_is_gpl_compatible includes
>> "Dual MIT/GPL" as an option seems to suggest that it is enough of a thing
>> to be validly used as the contents of a MODULE_LICENSE() thing.
> 
> Yes. The MIT licence most definitely exists, and people know what it
> means.
> 
> Also nobody should be changing the licence on anything unless they have
> the written permission of all rights holders on record, so it's best to
> leave it be 8)

+1

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

* Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE
  2016-01-22 20:25         ` One Thousand Gnomes
  2016-01-22 21:00           ` David Miller
@ 2016-01-23 14:54           ` Wei Liu
  1 sibling, 0 replies; 12+ messages in thread
From: Wei Liu @ 2016-01-23 14:54 UTC (permalink / raw)
  To: One Thousand Gnomes
  Cc: Ian Campbell, Wei Liu, David Vrabel, Xen-devel,
	open list:XEN NETWORK BACKEND DRIVER, open list, Boris Ostrovsky

On Fri, Jan 22, 2016 at 08:25:21PM +0000, One Thousand Gnomes wrote:
> > The fact what include/linux/license.h:license_is_gpl_compatible includes
> > "Dual MIT/GPL" as an option seems to suggest that it is enough of a thing
> > to be validly used as the contents of a MODULE_LICENSE() thing.
> 
> Yes. The MIT licence most definitely exists, and people know what it
> means.
> 
> Also nobody should be changing the licence on anything unless they have
> the written permission of all rights holders on record, so it's best to
> leave it be 8)
> 

I knew from the beginning anything related to license will be fun. :-)

In this particular case, I don't think I need to get confirmation from
all rights holder because they've agreed to the licenses listed in
the comment. I'm merely fixing a bug in code.

I understand people have different opinion on how this should be
interpreted. And I'm not a lawyer. Let's just leave it be now and divert
our energy to more useful things in life.

Wei.

> Alan

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

end of thread, other threads:[~2016-01-23 14:54 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1453466057-7176-1-git-send-email-wei.liu2@citrix.com>
2016-01-22 12:34 ` [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE Wei Liu
2016-01-22 13:14   ` [Xen-devel] " David Vrabel
2016-01-22 13:49     ` Wei Liu
2016-01-22 14:15       ` Ian Campbell
2016-01-22 14:34         ` David Vrabel
2016-01-22 20:25         ` One Thousand Gnomes
2016-01-22 21:00           ` David Miller
2016-01-23 14:54           ` Wei Liu
2016-01-22 12:34 ` [PATCH 2/3] xen-blkback: " Wei Liu
2016-01-22 12:44   ` Roger Pau Monné
2016-01-22 12:34 ` [PATCH 3/3] xen-scsiback: " Wei Liu
2016-01-22 12:55   ` Juergen Gross

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).