Skip to contentSkip to conversation

xen: fix wrong idents in MODULE_LICENSE in some drivers

PATCH Superseded Wei Liu 7 participants 25 messages Jan 22, 2016 – Jan 23, 2016

Subsystems (8)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
author
#1 lore raw

PATCH 1/3 xen-netback: fix license ident used in MODULE_LICENSE

In reply to Wei Liu

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.

---
 drivers/net/xen-netback/netback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/xen-netback/netback.c +1 -1
index 61b97c3..2427242 100644
@@ -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");
Signature · 1 line
2.1.4
author
#16 lore raw

PATCH 1/3 xen-netback: fix license ident used in MODULE_LICENSE

In reply to Wei Liu

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.

---
 drivers/net/xen-netback/netback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/xen-netback/netback.c +1 -1
index 61b97c3..2427242 100644
@@ -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");
Signature · 1 line
2.1.4
author
#17 lore raw

PATCH 2/3 xen-blkback: fix license ident used in MODULE_LICENSE

In reply to Wei Liu

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.

---
 drivers/block/xen-blkback/blkback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/xen-blkback/blkback.c +1 -1
index 4809c15..01cc572 100644
@@ -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");
Signature · 1 line
2.1.4

Wei Liu

author
#0 lore raw

cover xen: fix wrong idents in MODULE_LICENSE in some drivers

Wei Liu (3):
xen-netback: fix license ident used in MODULE_LICENSE
xen-blkback: fix license ident used in MODULE_LICENSE
xen-scsiback: fix license ident used in MODULE_LICENSE

 drivers/block/xen-blkback/blkback.c | 2 +-
 drivers/net/xen-netback/netback.c   | 2 +-
 drivers/xen/xen-scsiback.c          | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.1.4
author
#18 lore raw

PATCH 2/3 xen-blkback: fix license ident used in MODULE_LICENSE

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.

---
 drivers/block/xen-blkback/blkback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/block/xen-blkback/blkback.c +1 -1
index 4809c15..01cc572 100644
@@ -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");
Signature · 1 line
2.1.4
author
#21 lore raw

PATCH 3/3 xen-scsiback: fix license ident used in MODULE_LICENSE

In reply to Wei Liu

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.

---
 drivers/xen/xen-scsiback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/xen-scsiback.c +1 -1
index ad4eb10..0695cf8 100644
@@ -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 <[email protected]>");
Signature · 1 line
2.1.4
author
#24 lore raw

PATCH 3/3 xen-scsiback: fix license ident used in MODULE_LICENSE

In reply to Wei Liu

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.

---
 drivers/xen/xen-scsiback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/xen-scsiback.c +1 -1
index ad4eb10..0695cf8 100644
@@ -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 <[email protected]>");
Signature · 1 line
2.1.4
maintainer Acked-by on v1 3/3
#22 lore raw

Re: [PATCH 3/3] xen-scsiback: fix license ident used in MODULE_LICENSE

In reply to Wei Liu
Quoted 5 lines · Wei Liu

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.

Quoted 17 lines
---
 drivers/xen/xen-scsiback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/xen-scsiback.c +1 -1
index ad4eb10..0695cf8 100644
@@ -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 <[email protected]>");
maintainer Acked-by on v1 3/3
#23 lore raw

Re: [PATCH 3/3] xen-scsiback: fix license ident used in MODULE_LICENSE

In reply to Wei Liu
Quoted 5 lines · Wei Liu

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.

Quoted 17 lines
---
 drivers/xen/xen-scsiback.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/xen/xen-scsiback.c +1 -1
index ad4eb10..0695cf8 100644
@@ -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 <[email protected]>");
#2 lore raw

Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to Wei Liu
Quoted 3 lines · Wei Liu

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

#15 lore raw

Re: [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to Wei Liu
Quoted 3 lines · Wei Liu

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

author
#3 lore raw

Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to David Vrabel
Quoted 9 lines · David Vrabel
Quoted 3 lines · Wei Liu

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?

Quoted 8 lines

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.

Quoted 4 lines

David

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

author
#14 lore raw

Re: [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to David Vrabel
Quoted 9 lines · David Vrabel
Quoted 3 lines · Wei Liu

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?

Quoted 8 lines

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.

Quoted 4 lines

David

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

#4 lore raw

Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to Wei Liu
Quoted 7 lines · Wei Liu
Quoted 6 lines · David Vrabel
Quoted 4 lines · Wei Liu

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.

Quoted 7 lines
Quoted 4 lines

"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.

#13 lore raw

Re: [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to Wei Liu
Quoted 7 lines · Wei Liu
Quoted 6 lines · David Vrabel
Quoted 4 lines · Wei Liu

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.

Quoted 7 lines
Quoted 4 lines

"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.

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xen.org/xen-devel

#5 lore raw

Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to Ian Campbell
Quoted 13 lines · Ian Campbell
Quoted 12 lines · Wei Liu
Quoted 10 lines · David Vrabel
Quoted 4 lines · Wei Liu

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.

Quoted 6 lines
Quoted 2 lines

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

#6 lore raw

Re: [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to Ian Campbell
Quoted 13 lines · Ian Campbell
Quoted 12 lines · Wei Liu
Quoted 10 lines · David Vrabel
Quoted 4 lines · Wei Liu

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.

Quoted 6 lines
Quoted 2 lines

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

#7 lore raw

Re: [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to Ian Campbell
Quoted 3 lines

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

#8 lore raw

Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to Ian Campbell
Quoted 3 lines

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

maintainer
#9 lore raw

Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

From: One Thousand Gnomes <[email protected]>
Date: Fri, 22 Jan 2016 20:25:21 +0000

Quoted 10 lines
Quoted 3 lines

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

maintainer
#10 lore raw

Re: [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to One Thousand Gnomes

From: One Thousand Gnomes <[email protected]>
Date: Fri, 22 Jan 2016 20:25:21 +0000

Quoted 10 lines
Quoted 3 lines

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

author
#11 lore raw

Re: [Xen-devel] [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to One Thousand Gnomes
Quoted 11 lines · One Thousand Gnomes
Quoted 3 lines

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.

Quoted 1 line

Alan

author
#12 lore raw

Re: [PATCH 1/3] xen-netback: fix license ident used in MODULE_LICENSE

In reply to One Thousand Gnomes
Quoted 11 lines · One Thousand Gnomes
Quoted 3 lines

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.

Quoted 1 line

Alan