Skip to contentSkip to conversation

compiler: Swap 'public domain' header for license

PATCH In review Felipe Franciosi 2 participants 2 messages Sep 23, 2016

lore
Share & tools
lore
#0 lore raw

PATCH v3 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

Worth noting, compiler.h was originally created on 5c026320 by splitting qemu-common.h. At the time, qemu-common.h was already GPLv2+.

---
v3: Explicitly call out 5c026320 on the commit message.
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
index 338d3a6..157698b 100644
@@ -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
Reviewed-by on v3 1/1
#1 lore raw
Quoted 10 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

Worth noting, compiler.h was originally created on 5c026320 by splitting qemu-common.h. At the time, qemu-common.h was already GPLv2+.

Quoted 8 lines

---
v3: Explicitly call out 5c026320 on the commit message.
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(-)
Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org