license: Update deprecated SPDX tag GPL-2.0 to GPL-2.0-only

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[ $]' \
        | egrep -v '^linux-headers|^include/standard-headers')

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
Philippe Mathieu-Daudé 2024-09-11 17:12:06 +02:00 committed by Michael Tokarev
parent 97d348cc15
commit 06e2329636
31 changed files with 31 additions and 31 deletions

View File

@ -1,5 +1,5 @@
/* /*
* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note * SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
* *
* Bootinfo tags from linux bootinfo.h and bootinfo-mac.h: * Bootinfo tags from linux bootinfo.h and bootinfo-mac.h:
* This is an easily parsable and extendable structure containing all * This is an easily parsable and extendable structure containing all

View File

@ -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 * This is copied + edited from kernel header files in
* drivers/net/ethernet/intel/igb * drivers/net/ethernet/intel/igb

View File

@ -8,7 +8,7 @@
* *
* From Linux kernel v5.10 include/linux/crc-ccitt.h * 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 #ifndef CRC_CCITT_H

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note # SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
# #
# system call numbers and entry vectors for alpha # system call numbers and entry vectors for alpha
# #

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note # SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
# #
# system call numbers and entry vectors for parisc # system call numbers and entry vectors for parisc
# #

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note # SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
# #
# system call numbers and entry vectors for m68k # system call numbers and entry vectors for m68k
# #

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note # SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
# #
# system call numbers and entry vectors for microblaze # system call numbers and entry vectors for microblaze
# #

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note # SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
# #
# system call numbers and entry vectors for mips # system call numbers and entry vectors for mips
# #

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note # SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
# #
# system call numbers and entry vectors for mips # system call numbers and entry vectors for mips
# #

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note # SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
# #
# system call numbers and entry vectors for mips # system call numbers and entry vectors for mips
# #

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note # SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
# #
# system call numbers and entry vectors for powerpc # system call numbers and entry vectors for powerpc
# #

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note # SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
# #
# System call table for s390 # System call table for s390
# #

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note # SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
# #
# system call numbers and entry vectors for sh # system call numbers and entry vectors for sh
# #

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note # SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
# #
# system call numbers and entry vectors for sparc # system call numbers and entry vectors for sparc
# #

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,4 +1,4 @@
# SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note # SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note
# #
# system call numbers and entry vectors for xtensa # system call numbers and entry vectors for xtensa
# #

View File

@ -1,5 +1,5 @@
#!/bin/sh #!/bin/sh
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
in="$1" in="$1"
out="$2" out="$2"

View File

@ -1,5 +1,5 @@
#!/usr/bin/env perl #!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0 # SPDX-License-Identifier: GPL-2.0-only
use warnings; use warnings;
use strict; use strict;

View File

@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */ /* SPDX-License-Identifier: GPL-2.0-only */
/* /*
* Copyright (c) 2021 Loongson Technology Corporation Limited * Copyright (c) 2021 Loongson Technology Corporation Limited
*/ */