Don't talk about the LGPL if the file is licensed under the GPL
PATCH 1/1 Don't talk about the LGPL if the file is licensed under the GPL
Some files claim that the code is licensed under the GPL, but then suddenly suggest that the user should have a look at the LGPL. That's of course non-sense, replace it with the correct GPL wording instead.
--- crypto/afsplit.c | 11 +++++------ include/crypto/afsplit.h | 11 +++++------ include/hw/pci-host/gpex.h | 4 ++-- include/hw/pci-host/q35.h | 4 ++-- include/qemu/range.h | 11 +++++------ target/i386/hvf/hvf.c | 6 +++--- util/range.c | 11 +++++------ 7 files changed, 27 insertions(+), 31 deletions(-)
crypto/afsplit.c +5 -6
@@ -8,19 +8,18 @@* Copyright (C) 2004, Clemens Fruhwirth <[email protected]> * Copyright (C) 2009-2012, Red Hat, Inc. All rights reserved. * -* This library is free software; you can redistribute it and/or +* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * -* This library is distributed in the hope that it will be useful, +* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details. -* -* You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/>. +* General Public License for more details. * +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
include/crypto/afsplit.h +5 -6
@@ -3,19 +3,18 @@* * Copyright (c) 2015-2016 Red Hat, Inc. * -* This library is free software; you can redistribute it and/or +* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * -* This library is distributed in the hope that it will be useful, +* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details. -* -* You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/>. +* General Public License for more details. * +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef QCRYPTO_AFSPLIT_H
include/hw/pci-host/gpex.h +2 -2
@@ -13,8 +13,8 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/> +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/> */ #ifndef HW_GPEX_H
include/hw/pci-host/q35.h +2 -2
@@ -15,8 +15,8 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/> +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/> */ #ifndef HW_Q35_H
include/qemu/range.h +5 -6
@@ -3,19 +3,18 @@* * Copyright (c) 2015-2016 Red Hat, Inc. * -* This library is free software; you can redistribute it and/or +* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * -* This library is distributed in the hope that it will be useful, +* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details. -* -* You should have received a copy of the GNU General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/>. +* General Public License for more details. * +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef QEMU_RANGE_H
target/i386/hvf/hvf.c +3 -3
@@ -13,10 +13,10 @@* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details. +* General Public License for more details. * -* You should have received a copy of the GNU Lesser General Public -* License along with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/>. * * This file contain code under public domain from the hvdos project: * https://github.com/mist64/hvdos
util/range.c +5 -6
@@ -3,19 +3,18 @@* * Copyright (c) 2015-2016 Red Hat, Inc. * -* This library is free software; you can redistribute it and/or +* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * -* This library is distributed in the hope that it will be useful, +* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details. -* -* You should have received a copy of the GNU General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/>. +* General Public License for more details. * +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
Signature · 1 line
1.8.3.1
Quoted 6 lines · Thomas Huth
Some files claim that the code is licensed under the GPL, but then suddenly suggest that the user should have a look at the LGPL. That's of course non-sense, replace it with the correct GPL wording instead.
Signed-off-by Thomas Huth <[email protected]>
Quoted 9 lines
--- crypto/afsplit.c | 11 +++++------ include/crypto/afsplit.h | 11 +++++------ include/hw/pci-host/gpex.h | 4 ++-- include/hw/pci-host/q35.h | 4 ++-- include/qemu/range.h | 11 +++++------ target/i386/hvf/hvf.c | 6 +++--- util/range.c | 11 +++++------ 7 files changed, 27 insertions(+), 31 deletions(-)
Laurent Vivier
AppliedQuoted 171 lines · Thomas Huth
Some files claim that the code is licensed under the GPL, but then suddenly suggest that the user should have a look at the LGPL. That's of course non-sense, replace it with the correct GPL wording instead.
Signed-off-by Thomas Huth <[email protected]>--- crypto/afsplit.c | 11 +++++------ include/crypto/afsplit.h | 11 +++++------ include/hw/pci-host/gpex.h | 4 ++-- include/hw/pci-host/q35.h | 4 ++-- include/qemu/range.h | 11 +++++------ target/i386/hvf/hvf.c | 6 +++--- util/range.c | 11 +++++------ 7 files changed, 27 insertions(+), 31 deletions(-)crypto/afsplit.c +5
-6@@ -8,19 +8,18 @@* Copyright (C) 2004, Clemens Fruhwirth <[email protected]> * Copyright (C) 2009-2012, Red Hat, Inc. All rights reserved. * -* This library is free software; you can redistribute it and/or +* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * -* This library is distributed in the hope that it will be useful, +* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details. -* -* You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/>. +* General Public License for more details. * +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" include/crypto/afsplit.h +5
-6@@ -3,19 +3,18 @@* * Copyright (c) 2015-2016 Red Hat, Inc. * -* This library is free software; you can redistribute it and/or +* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * -* This library is distributed in the hope that it will be useful, +* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details. -* -* You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/>. +* General Public License for more details. * +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef QCRYPTO_AFSPLIT_H include/hw/pci-host/gpex.h +2
-2@@ -13,8 +13,8 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/> +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/> */ #ifndef HW_GPEX_H include/hw/pci-host/q35.h +2
-2@@ -15,8 +15,8 @@* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * -* You should have received a copy of the GNU Lesser General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/> +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/> */ #ifndef HW_Q35_H include/qemu/range.h +5
-6@@ -3,19 +3,18 @@* * Copyright (c) 2015-2016 Red Hat, Inc. * -* This library is free software; you can redistribute it and/or +* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * -* This library is distributed in the hope that it will be useful, +* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details. -* -* You should have received a copy of the GNU General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/>. +* General Public License for more details. * +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/>. */ #ifndef QEMU_RANGE_H target/i386/hvf/hvf.c +3
-3@@ -13,10 +13,10 @@* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details. +* General Public License for more details. * -* You should have received a copy of the GNU Lesser General Public -* License along with this program; if not, see <http://www.gnu.org/licenses/>. +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/>. * * This file contain code under public domain from the hvdos project: * https://github.com/mist64/hvdos util/range.c +2
-3@@ -3,19 +3,18 @@* * Copyright (c) 2015-2016 Red Hat, Inc. * -* This library is free software; you can redistribute it and/or +* This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * -* This library is distributed in the hope that it will be useful, +* This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -* Lesser General Public License for more details.
util/range.c line 20
Quoted 10 lines
util/range.c +3
-3-* -* You should have received a copy of the GNU General Public -* License along with this library; if not, see <http://www.gnu.org/licenses/>. +* General Public License for more details. * +* You should have received a copy of the GNU General Public License +* along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h"
Applied to my trivial-patches branch.
Thanks,
Laurent