compiler: Swap 'public domain' header for license
PATCH v2 1/1 compiler: Swap 'public domain' header for license
As discussed on the list [1], having a comment stating that this file is "public domain" is arguably wrong and not legally binding. This patch replaces that comment with a clear GPLv2+ license, as proposed in [2].
[1] http://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg06151.html
[2] http://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg06217.html
---
v2: Add a GPLv2+ statement after removing 'public domain' text.
Amend the commit message and text to reflect it.
include/qemu/compiler.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
include/qemu/compiler.h +5 -1
@@ -1,4 +1,8 @@ -/* public domain */ +/* compiler.h: macros to abstract away compiler specifics +* +* This work is licensed under the terms of the GNU GPL, version 2 or later. +* See the COPYING file in the top-level directory. +*/ #ifndef COMPILER_H #define COMPILER_H
Signature · 1 line
1.9.5
Quoted 20 lines · Felipe Franciosi
As discussed on the list [1], having a comment stating that this file is "public domain" is arguably wrong and not legally binding. This patch replaces that comment with a clear GPLv2+ license, as proposed in [2].
[1] http://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg06151.html
[2] http://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg06217.htmlSigned-off-by Felipe Franciosi <[email protected]>---
v2: Add a GPLv2+ statement after removing 'public domain' text.
Amend the commit message and text to reflect it.include/qemu/compiler.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)include/qemu/compiler.h +0
-0
include/qemu/compiler.h line 8
Quoted 9 lines
include/qemu/compiler.h +5
-1@@ -1,4 +1,8 @@ -/* public domain */ +/* compiler.h: macros to abstract away compiler specifics +* +* This work is licensed under the terms of the GNU GPL, version 2 or later. +* See the COPYING file in the top-level directory. +*/ #ifndef COMPILER_H #define COMPILER_H
thanks
-- PMM
Quoted 7 lines · Felipe Franciosi
As discussed on the list [1], having a comment stating that this file is "public domain" is arguably wrong and not legally binding. This patch replaces that comment with a clear GPLv2+ license, as proposed in [2].
[1] http://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg06151.html
[2] http://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg06217.html
Quoted 7 lines
Signed-off-by Felipe Franciosi <[email protected]>---
v2: Add a GPLv2+ statement after removing 'public domain' text.
Amend the commit message and text to reflect it.include/qemu/compiler.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
I personally think that calling out [L]GPL without also asserting copyright is awkward (the GPL works BECAUSE of copyright, so if you don't know who is asserting the copyright, it's hard to say how you got the copyleft permissions). But it's not a show-stopper for me to approve this patch, because qemu.git can be used to track contributors regardless of what the current file contents say about any copyright claims, and the overall project has plenty of documentation on copyright holders.
I also think the commit message would be a LOT stronger if you explicitly call out commit 5c026320 as the point where the file was split off of the larger qemu-common.h, which was indeed GPLv2+ at the time of the split (in addition to pointing to the list traffic discussing the issue).
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Quoted 28 lines · Eric Blake
Quoted 7 lines · Felipe Franciosi
As discussed on the list [1], having a comment stating that this file is "public domain" is arguably wrong and not legally binding. This patch replaces that comment with a clear GPLv2+ license, as proposed in [2].
[1] http://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg06151.html
[2] http://lists.nongnu.org/archive/html/qemu-devel/2016-09/msg06217.htmlQuoted 7 lines
Signed-off-by Felipe Franciosi <[email protected]>---
v2: Add a GPLv2+ statement after removing 'public domain' text.
Amend the commit message and text to reflect it.
include/qemu/compiler.h| 6 +++++-1 file changed, 5 insertions(+), 1 deletion(-)I personally think that calling out [L]GPL without also asserting copyright is awkward (the GPL works BECAUSE of copyright, so if you don't know who is asserting the copyright, it's hard to say how you got the copyleft permissions). But it's not a show-stopper for me to approve this patch, because qemu.git can be used to track contributors regardless of what the current file contents say about any copyright claims, and the overall project has plenty of documentation on copyright holders.
Quoted 5 lines
I also think the commit message would be a LOT stronger if you explicitly call out commit
5c026320as the point where the file was split off of the largerqemu-common.h, which was indeed GPLv2+ at the time of the split (in addition to pointing to the list traffic discussing the issue).
Makes sense! Done.
As soon as this is confirmed to go in, I'll go back to addressing the series which adds the ignore_value() macro and uses it to fix the build with -Werror=unused-result.
Thanks,
Felipe
Quoted 5 lines
Signature · 3 lines
-- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org