[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/5] license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-o
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 5/5] license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only |
Date: |
Tue, 10 Sep 2024 14:04:16 +0200 |
User-agent: |
Mozilla Thunderbird |
On 10/9/24 13:51, Philippe Mathieu-Daudé wrote:
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$')
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 --
diff --git a/hw/net/igb_regs.h b/hw/net/igb_regs.h
index e5a47eab64..4dc4c31da2 100644
--- a/hw/net/igb_regs.h
+++ b/hw/net/igb_regs.h
@@ -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
diff --git a/tests/tcg/loongarch64/system/regdef.h
b/tests/tcg/loongarch64/system/regdef.h
index faa09b2377..b586b4e86d 100644
--- a/tests/tcg/loongarch64/system/regdef.h
+++ b/tests/tcg/loongarch64/system/regdef.h
@@ -1,4 +1,4 @@
-/* SPDX-License-Identifier: GPL-2.0 */
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2021 Loongson Technology Corporation Limited
*/
---
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
---
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(-)
- [PATCH 0/5] license: Fix typos and update deprecated SPDX tags, Philippe Mathieu-Daudé, 2024/09/10
- [PATCH 1/5] NSIS: Simplify license description, Philippe Mathieu-Daudé, 2024/09/10
- [PATCH 2/5] tests/functional: Correct typo in test_netdev_ethtool.py SPDX tag, Philippe Mathieu-Daudé, 2024/09/10
- [PATCH 4/5] license: Update deprecated SPDX tag GPL-2.0+ to GPL-2.0-or-later, Philippe Mathieu-Daudé, 2024/09/10
- [PATCH 3/5] license: Update deprecated SPDX tag LGPL-2.0+ to LGPL-2.0-or-later, Philippe Mathieu-Daudé, 2024/09/10
- [PATCH 5/5] license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only, Philippe Mathieu-Daudé, 2024/09/10
- Re: [PATCH 0/5] license: Fix typos and update deprecated SPDX tags, Richard Henderson, 2024/09/10