Skip to content

Commit

Permalink
license: Update deprecated SPDX tag GPL-2.0+ to GPL-2.0-or-later
Browse files Browse the repository at this point in the history
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 -lP 'SPDX-License-Identifier: \W+GPL-2.0\+[ $]' \
        | egrep -v '^linux-headers|^include/standard-headers')

Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Richard Henderson <[email protected]>
Signed-off-by: Michael Tokarev <[email protected]>
  • Loading branch information
philmd authored and Michael Tokarev committed Sep 20, 2024
1 parent b14d064 commit 97d348c
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion hw/core/uboot_image.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0+ */
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* (C) Copyright 2008 Semihalf
*
Expand Down
2 changes: 1 addition & 1 deletion hw/nvram/fw_cfg-acpi.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0+
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* Add fw_cfg device in DSDT
*
Expand Down
2 changes: 1 addition & 1 deletion hw/virtio/virtio-acpi.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// SPDX-License-Identifier: GPL-2.0+
// SPDX-License-Identifier: GPL-2.0-or-later
/*
* virtio ACPI Support
*
Expand Down
2 changes: 1 addition & 1 deletion include/hw/nvram/fw_cfg_acpi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0+ */
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* ACPI support for fw_cfg
*
Expand Down
2 changes: 1 addition & 1 deletion include/hw/usb/dwc2-regs.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause) */
/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-3-Clause) */
/*
* Imported from the Linux kernel file drivers/usb/dwc2/hw.h, commit
* a89bae709b3492b478480a2c9734e7e9393b279c ("usb: dwc2: Move
Expand Down
2 changes: 1 addition & 1 deletion include/hw/virtio/virtio-acpi.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0+ */
/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* ACPI support for virtio
*/
Expand Down
2 changes: 1 addition & 1 deletion target/riscv/cpu-param.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion target/s390x/cpu-param.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 97d348c

Please sign in to comment.