diff mbox

[v3] compiler: Swap 'public domain' header for license

Message ID 1474642971-11866-1-git-send-email-felipe@nutanix.com (mailing list archive)
State New, archived
Headers show

Commit Message

Felipe Franciosi Sept. 23, 2016, 3:02 p.m. UTC
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+.

Signed-off-by: Felipe Franciosi <felipe@nutanix.com>
---
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(-)

Comments

Eric Blake Sept. 23, 2016, 3:08 p.m. UTC | #1
On 09/23/2016 10:02 AM, Felipe Franciosi wrote:
> 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+.
> 
> Signed-off-by: Felipe Franciosi <felipe@nutanix.com>
> ---
> 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(-)

Reviewed-by: Eric Blake <eblake@redhat.com>
diff mbox

Patch

diff --git a/include/qemu/compiler.h b/include/qemu/compiler.h
index 338d3a6..157698b 100644
--- a/include/qemu/compiler.h
+++ b/include/qemu/compiler.h
@@ -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