license: Fix typos and update deprecated SPDX tags
cover license: Fix typos and update deprecated SPDX tags
- Fix a pair of typos
- Upgrade the deprecated GPL-2.0+/LGPL-2.0+ SPDX tags to GPL-2.0-only / GPL-2.0-or-later / LGPL-2.0-or-later.
Philippe Mathieu-Daudé (5):
NSIS: Simplify license description
tests/functional: Correct typo in test_netdev_ethtool.py SPDX tag
license: Update deprecated SPDX tag LGPL-2.0+ to LGPL-2.0-or-later
license: Update deprecated SPDX tag GPL-2.0+ to GPL-2.0-or-later
license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only
include/gdbstub/syscalls.h | 2 +- include/gdbstub/user.h | 2 +- include/qemu/crc-ccitt.h | 2 +- target/alpha/cpu-param.h | 2 +- target/arm/cpu-param.h | 2 +- target/cris/cpu-param.h | 2 +- target/hppa/cpu-param.h | 2 +- target/i386/cpu-param.h | 2 +- target/m68k/cpu-param.h | 2 +- target/microblaze/cpu-param.h | 2 +- target/mips/cpu-param.h | 2 +- target/openrisc/cpu-param.h | 2 +- target/ppc/cpu-param.h | 2 +- target/riscv/cpu-param.h | 2 +- target/s390x/cpu-param.h | 2 +- target/sh4/cpu-param.h | 2 +- target/sparc/cpu-param.h | 2 +- target/sparc/insns.decode | 2 +- gdbstub/gdbstub.c | 2 +- gdbstub/syscalls.c | 2 +- gdbstub/system.c | 2 +- gdbstub/user-target.c | 2 +- gdbstub/user.c | 2 +- hw/nvram/fw_cfg-acpi.c | 2 +- hw/virtio/virtio-acpi.c | 2 +- linux-user/alpha/syscallhdr.sh | 2 +- linux-user/arm/syscallhdr.sh | 2 +- linux-user/hppa/syscallhdr.sh | 2 +- linux-user/i386/syscallhdr.sh | 2 +- linux-user/m68k/syscallhdr.sh | 2 +- linux-user/microblaze/syscallhdr.sh | 2 +- linux-user/mips/syscallhdr.sh | 2 +- linux-user/mips64/syscallhdr.sh | 2 +- linux-user/ppc/syscallhdr.sh | 2 +- linux-user/s390x/syscallhdr.sh | 2 +- linux-user/sh4/syscallhdr.sh | 2 +- linux-user/sparc/syscallhdr.sh | 2 +- linux-user/x86_64/syscallhdr.sh | 2 +- linux-user/xtensa/syscallhdr.sh | 2 +- qemu.nsi | 4 +++- scripts/kernel-doc | 2 +- tests/functional/test_netdev_ethtool.py | 2 +- 42 files changed, 44 insertions(+), 42 deletions(-)
Signature · 1 line
2.45.2
PATCH 1/5 NSIS: Simplify license description
Since the "2 | 3+" expression can be simplified as "2+", it is pointless to mention the GPLv3 license.
Add the corresponding SPDX identifier to remove all doubt.
--- qemu.nsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
qemu.nsi +3 -1
@@ -7,7 +7,7 @@ ; 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) version 3 or any later version. +; (at your option) any later version. ; ; This program is distributed in the hope that it will be useful, ; but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,6 +16,8 @@ ; ; You should have received a copy of the GNU General Public License ; along with this program. If not, see <http://www.gnu.org/licenses/>. +; +; SPDX-License-Identifier: GPL-2.0-or-later ; NSIS_WIN32_MAKENSIS
Signature · 1 line
2.45.2
Re: [PATCH 1/5] NSIS: Simplify license description
Quoted 9 lines · Philippe Mathieu-Daudé
Since the "2 | 3+" expression can be simplified as "2+", it is pointless to mention the GPLv3 license.
Add the corresponding SPDX identifier to remove all doubt.
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- qemu.nsi | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
PATCH 2/5 tests/functional: Correct typo in test_netdev_ethtool.py SPDX tag
In reply to Philippe Mathieu-Daudé--- tests/functional/test_netdev_ethtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/functional/test_netdev_ethtool.py +1 -1
@@ -5,7 +5,7 @@ # This test leverages ethtool's --test sequence to validate network # device behaviour. # -# SPDX-License-Identifier: GPL-2.0-or-late +# SPDX-License-Identifier: GPL-2.0-or-later from unittest import skip from qemu_test import QemuSystemTest, Asset
Signature · 1 line
2.45.2
Re: [PATCH 2/5] tests/functional: Correct typo in test_netdev_ethtool.py SPDX tag
Quoted 12 lines · Philippe Mathieu-Daudé
Cc Alex Bennée <[email protected]>Fixes 9f95111474 ("tests/avocado: re-factor igb test to avoid timeouts")Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- tests/functional/test_netdev_ethtool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/functional/test_netdev_ethtool.py +0
-0
tests/functional/test_netdev_ethtool.py line 11
Quoted 8 lines
tests/functional/test_netdev_ethtool.py +1
-1@@ -5,7 +5,7 @@ # This test leverages ethtool's --test sequence to validate network # device behaviour. # -# SPDX-License-Identifier: GPL-2.0-or-late +# SPDX-License-Identifier: GPL-2.0-or-later from unittest import skip from qemu_test import QemuSystemTest, Asset
PATCH 3/5 license: Update deprecated SPDX tag LGPL-2.0+ to LGPL-2.0-or-later
In reply to Philippe Mathieu-DaudéThe 'LGPL-2.0+' license identifier has been deprecated since license list version 2.0rc2 [1] and replaced by the 'LGPL-2.0-or-later' [2] tag.
[1] https://spdx.org/licenses/LGPL-2.0+.html
[2] https://spdx.org/licenses/LGPL-2.0-or-later.html
Mechanical patch running:
$ sed -i -e s/LGPL-2.0+/LGPL-2.0-or-later/ \
$(git grep -l 'SPDX-License-Identifier: LGPL-2.0+$')--- include/gdbstub/syscalls.h | 2 +- include/gdbstub/user.h | 2 +- target/alpha/cpu-param.h | 2 +- target/arm/cpu-param.h | 2 +- target/cris/cpu-param.h | 2 +- target/hppa/cpu-param.h | 2 +- target/i386/cpu-param.h | 2 +- target/m68k/cpu-param.h | 2 +- target/microblaze/cpu-param.h | 2 +- target/mips/cpu-param.h | 2 +- target/openrisc/cpu-param.h | 2 +- target/ppc/cpu-param.h | 2 +- target/sh4/cpu-param.h | 2 +- target/sparc/cpu-param.h | 2 +- target/sparc/insns.decode | 2 +- gdbstub/gdbstub.c | 2 +- gdbstub/syscalls.c | 2 +- gdbstub/system.c | 2 +- gdbstub/user-target.c | 2 +- gdbstub/user.c | 2 +- 20 files changed, 20 insertions(+), 20 deletions(-)
include/gdbstub/syscalls.h +1 -1
@@ -3,7 +3,7 @@* * Copyright (c) 2023 Linaro Ltd * -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef _SYSCALLS_H_
include/gdbstub/user.h +1 -1
@@ -3,7 +3,7 @@* * Copyright (c) 2022 Linaro Ltd * -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef GDBSTUB_USER_H
target/alpha/cpu-param.h +1 -1
@@ -2,7 +2,7 @@* Alpha cpu parameters for qemu. * * Copyright (c) 2007 Jocelyn Mayer -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef ALPHA_CPU_PARAM_H
target/arm/cpu-param.h +1 -1
@@ -2,7 +2,7 @@* ARM cpu parameters for qemu. * * Copyright (c) 2003 Fabrice Bellard -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef ARM_CPU_PARAM_H
target/cris/cpu-param.h +1 -1
@@ -2,7 +2,7 @@* CRIS cpu parameters for qemu. * * Copyright (c) 2007 AXIS Communications AB -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef CRIS_CPU_PARAM_H
target/hppa/cpu-param.h +1 -1
@@ -2,7 +2,7 @@* PA-RISC cpu parameters for qemu. * * Copyright (c) 2016 Richard Henderson <[email protected]> -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef HPPA_CPU_PARAM_H
target/i386/cpu-param.h +1 -1
@@ -2,7 +2,7 @@* i386 cpu parameters for qemu. * * Copyright (c) 2003 Fabrice Bellard -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef I386_CPU_PARAM_H
target/m68k/cpu-param.h +1 -1
@@ -2,7 +2,7 @@* m68k cpu parameters for qemu. * * Copyright (c) 2005-2007 CodeSourcery -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef M68K_CPU_PARAM_H
target/microblaze/cpu-param.h +1 -1
@@ -2,7 +2,7 @@* MicroBlaze cpu parameters for qemu. * * Copyright (c) 2009 Edgar E. Iglesias -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef MICROBLAZE_CPU_PARAM_H
target/mips/cpu-param.h +1 -1
@@ -1,7 +1,7 @@/* * MIPS cpu parameters for qemu. * -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef MIPS_CPU_PARAM_H
target/openrisc/cpu-param.h +1 -1
@@ -2,7 +2,7 @@* OpenRISC cpu parameters for qemu. * * Copyright (c) 2011-2012 Jia Liu <[email protected]> -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef OPENRISC_CPU_PARAM_H
target/ppc/cpu-param.h +1 -1
@@ -2,7 +2,7 @@* PowerPC cpu parameters for qemu. * * Copyright (c) 2007 Jocelyn Mayer -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef PPC_CPU_PARAM_H
target/sh4/cpu-param.h +1 -1
@@ -2,7 +2,7 @@* SH4 cpu parameters for qemu. * * Copyright (c) 2005 Samuel Tardieu -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef SH4_CPU_PARAM_H
target/sparc/cpu-param.h +1 -1
@@ -1,7 +1,7 @@/* * Sparc cpu parameters for qemu. * -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #ifndef SPARC_CPU_PARAM_H
target/sparc/insns.decode +1 -1
@@ -1,4 +1,4 @@ -# SPDX-License-Identifier: LGPL-2.0+ +# SPDX-License-Identifier: LGPL-2.0-or-later # # Sparc instruction decode definitions. # Copyright (c) 2023 Richard Henderson <[email protected]>
gdbstub/gdbstub.c +1 -1
@@ -20,7 +20,7 @@* 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/>. * -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #include "qemu/osdep.h"
gdbstub/syscalls.c +1 -1
@@ -7,7 +7,7 @@* Copyright (c) 2003-2005 Fabrice Bellard * Copyright (c) 2023 Linaro Ltd * -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #include "qemu/osdep.h"
gdbstub/system.c +1 -1
@@ -7,7 +7,7 @@* Copyright (c) 2003-2005 Fabrice Bellard * Copyright (c) 2022 Linaro Ltd * -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #include "qemu/osdep.h"
gdbstub/user-target.c +1 -1
@@ -4,7 +4,7 @@* Copyright (c) 2003-2005 Fabrice Bellard * Copyright (c) 2022 Linaro Ltd * -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #include "qemu/osdep.h"
gdbstub/user.c +1 -1
@@ -6,7 +6,7 @@* Copyright (c) 2003-2005 Fabrice Bellard * Copyright (c) 2022 Linaro Ltd * -* SPDX-License-Identifier: LGPL-2.0+ +* SPDX-License-Identifier: LGPL-2.0-or-later */ #include "qemu/osdep.h"
Signature · 1 line
2.45.2
Re: [PATCH 3/5] license: Update deprecated SPDX tag LGPL-2.0+ to LGPL-2.0-or-later
Quoted 7 lines · Philippe Mathieu-Daudé
The 'LGPL-2.0+' license identifier has been deprecated since license list version 2.0rc2 [1] and replaced by the 'LGPL-2.0-or-later' [2] tag.
[1] https://spdx.org/licenses/LGPL-2.0+.html
[2] https://spdx.org/licenses/LGPL-2.0-or-later.html
Quoted 7 lines
Mechanical patch running:
$ sed -i -e s/LGPL-2.0+/LGPL-2.0-or-later/ \ $(git grep -l 'SPDX-License-Identifier: LGPL-2.0+$')Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
PATCH 4/5 license: Update deprecated SPDX tag GPL-2.0+ to GPL-2.0-or-later
In reply to Philippe Mathieu-DaudéThe 'GPL-2.0+' license identifier has been deprecated since license list version 2.0rc2 [1] and replaced by the 'GPL-2.0-or-later' [2] tag.
[1] https://spdx.org/licenses/GPL-2.0+.html
[2] https://spdx.org/licenses/GPL-2.0-or-later.html
Mechanical patch running:
$ sed -i -e s/GPL-2.0+/GPL-2.0-or-later/ \
$(git grep -l 'SPDX-License-Identifier: GPL-2.0+$')--- target/riscv/cpu-param.h | 2 +- target/s390x/cpu-param.h | 2 +- hw/nvram/fw_cfg-acpi.c | 2 +- hw/virtio/virtio-acpi.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
target/riscv/cpu-param.h +1 -1
@@ -2,7 +2,7 @@* RISC-V cpu parameters for qemu. * * Copyright (c) 2017-2018 SiFive, Inc. -* SPDX-License-Identifier: GPL-2.0+ +* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef RISCV_CPU_PARAM_H
target/s390x/cpu-param.h +1 -1
@@ -2,7 +2,7 @@* S/390 cpu parameters for qemu. * * Copyright (c) 2009 Ulrich Hecht -* SPDX-License-Identifier: GPL-2.0+ +* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef S390_CPU_PARAM_H
hw/nvram/fw_cfg-acpi.c +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Add fw_cfg device in DSDT *
hw/virtio/virtio-acpi.c +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +// SPDX-License-Identifier: GPL-2.0-or-later /* * virtio ACPI Support *
Signature · 1 line
2.45.2
Re: [PATCH 4/5] license: Update deprecated SPDX tag GPL-2.0+ to GPL-2.0-or-later
Quoted 7 lines · Philippe Mathieu-Daudé
The 'GPL-2.0+' license identifier has been deprecated since license list version 2.0rc2 [1] and replaced by the 'GPL-2.0-or-later' [2] tag.
[1] https://spdx.org/licenses/GPL-2.0+.html
[2] https://spdx.org/licenses/GPL-2.0-or-later.html
Quoted 7 lines
Mechanical patch running:
$ sed -i -e s/GPL-2.0+/GPL-2.0-or-later/ \ $(git grep -l 'SPDX-License-Identifier: GPL-2.0+$')Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
PATCH 5/5 license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only
In reply to Philippe Mathieu-DaudéThe 'GPL-2.0' license identifier has been deprecated since license list version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].
[1] https://spdx.org/licenses/GPL-2.0.html
[2] https://spdx.org/licenses/GPL-2.0-only.html
Mechanical patch running:
$ sed -i -e s/GPL-2.0/GPL-2.0-only/ \
$(git grep -l 'SPDX-License-Identifier: GPL-2.0$')--- include/qemu/crc-ccitt.h | 2 +- linux-user/alpha/syscallhdr.sh | 2 +- linux-user/arm/syscallhdr.sh | 2 +- linux-user/hppa/syscallhdr.sh | 2 +- linux-user/i386/syscallhdr.sh | 2 +- linux-user/m68k/syscallhdr.sh | 2 +- linux-user/microblaze/syscallhdr.sh | 2 +- linux-user/mips/syscallhdr.sh | 2 +- linux-user/mips64/syscallhdr.sh | 2 +- linux-user/ppc/syscallhdr.sh | 2 +- linux-user/s390x/syscallhdr.sh | 2 +- linux-user/sh4/syscallhdr.sh | 2 +- linux-user/sparc/syscallhdr.sh | 2 +- linux-user/x86_64/syscallhdr.sh | 2 +- linux-user/xtensa/syscallhdr.sh | 2 +- scripts/kernel-doc | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-)
include/qemu/crc-ccitt.h +1 -1
@@ -8,7 +8,7 @@* * From Linux kernel v5.10 include/linux/crc-ccitt.h * -* SPDX-License-Identifier: GPL-2.0 +* SPDX-License-Identifier: GPL-2.0-only */ #ifndef CRC_CCITT_H
linux-user/alpha/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/arm/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/hppa/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/i386/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/m68k/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/microblaze/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/mips/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/mips64/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/ppc/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/s390x/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/sh4/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/sparc/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/x86_64/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
linux-user/xtensa/syscallhdr.sh +1 -1
@@ -1,5 +1,5 @@ #!/bin/sh -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only in="$1" out="$2"
scripts/kernel-doc +1 -1
@@ -1,5 +1,5 @@ #!/usr/bin/env perl -# SPDX-License-Identifier: GPL-2.0 +# SPDX-License-Identifier: GPL-2.0-only use warnings; use strict;
Signature · 1 line
2.45.2
Re: [PATCH 5/5] license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only
Quoted 10 lines · Philippe Mathieu-Daudé
The 'GPL-2.0' license identifier has been deprecated since license list version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].
[1] https://spdx.org/licenses/GPL-2.0.html
[2] https://spdx.org/licenses/GPL-2.0-only.htmlMechanical patch running:
$ sed -i -e s/GPL-2.0/GPL-2.0-only/ \ $(git grep -l 'SPDX-License-Identifier: GPL-2.0$')
This didn't catch the full list, this command does:
$ sed -i -e s/GPL-2.0/GPL-2.0-only/ \
$(git grep -lE 'SPDX-License-Identifier: GPL-2.0( \*|$)' \
| egrep -v '^linux-headers|^include/standard-headers')Thus squashing:
-- >8 --
hw/net/igb_regs.h +1 -1
@@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * This is copied + edited from kernel header files in * drivers/net/ethernet/intel/igb
tests/tcg/loongarch64/system/regdef.h +1 -1
@@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2021 Loongson Technology Corporation Limited */
---
Quoted 19 lines
Signed-off-by Philippe Mathieu-Daudé <[email protected]>--- include/qemu/crc-ccitt.h | 2 +- linux-user/alpha/syscallhdr.sh | 2 +- linux-user/arm/syscallhdr.sh | 2 +- linux-user/hppa/syscallhdr.sh | 2 +- linux-user/i386/syscallhdr.sh | 2 +- linux-user/m68k/syscallhdr.sh | 2 +- linux-user/microblaze/syscallhdr.sh | 2 +- linux-user/mips/syscallhdr.sh | 2 +- linux-user/mips64/syscallhdr.sh | 2 +- linux-user/ppc/syscallhdr.sh | 2 +- linux-user/s390x/syscallhdr.sh | 2 +- linux-user/sh4/syscallhdr.sh | 2 +- linux-user/sparc/syscallhdr.sh | 2 +- linux-user/x86_64/syscallhdr.sh | 2 +- linux-user/xtensa/syscallhdr.sh | 2 +- scripts/kernel-doc | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-)
Thomas Huth
Reviewed-byRe: [PATCH 5/5] license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only
Quoted 36 lines · Philippe Mathieu-Daudé
Quoted 10 lines · Philippe Mathieu-Daudé
The 'GPL-2.0' license identifier has been deprecated since license list version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].
[1] https://spdx.org/licenses/GPL-2.0.html
[2] https://spdx.org/licenses/GPL-2.0-only.htmlMechanical patch running:
$ sed -i -e s/GPL-2.0/GPL-2.0-only/ \ $(git grep -l 'SPDX-License-Identifier: GPL-2.0$')This didn't catch the full list, this command does:
$ sed -i -e s/GPL-2.0/GPL-2.0-only/ \ $(git grep -lE 'SPDX-License-Identifier: GPL-2.0( \*|$)' \ | egrep -v '^linux-headers|^include/standard-headers')Thus squashing:
-- >8 --
hw/net/igb_regs.h +1
-1@@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-only */ /** This is copied + edited from kernel header files in * drivers/net/ethernet/intel/igb tests/tcg/loongarch64/system/regdef.h +0
-0
tests/tcg/loongarch64/system/regdef.h line 4
Quoted 5 lines
tests/tcg/loongarch64/system/regdef.h +1
-1@@ -1,4 +1,4 @@ -/* SPDX-License-Identifier: GPL-2.0 */ +/* SPDX-License-Identifier: GPL-2.0-only */ /** Copyright (c) 2021 Loongson Technology Corporation Limited */
Looks good, you can keep:
Re: [PATCH 5/5] license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only
In reply to Philippe Mathieu-DaudéQuoted 6 lines · Philippe Mathieu-Daudé
The 'GPL-2.0' license identifier has been deprecated since license list version 3.0 [1] and replaced by the 'GPL-2.0-only' tag [2].
[1] https://spdx.org/licenses/GPL-2.0.html
[2] https://spdx.org/licenses/GPL-2.0-only.html
Quoted 7 lines
Mechanical patch running:
$ sed -i -e s/GPL-2.0/GPL-2.0-only/ \ $(git grep -l 'SPDX-License-Identifier: GPL-2.0$')Signed-off-by Philippe Mathieu-Daudé <[email protected]>---
Quoted 6 lines · Philippe Mathieu-Daudé
Philippe Mathieu-Daudé (5):
NSIS: Simplify license description
tests/functional: Correct typo intest_netdev_ethtool.pySPDX tag
license: Update deprecated SPDX tag LGPL-2.0+ to LGPL-2.0-or-later
license: Update deprecated SPDX tag GPL-2.0+ to GPL-2.0-or-later
license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only
r~