libfdt: fix SPDX license identifiers

License identifiers should be machine readable.

According to the SPDX v2.3.0 specification annex E parentheses are not
used in the SPDX identifier field when specifying multiple licenses [1].

[1] https://spdx.github.io/spdx-spec/v2.3/using-SPDX-short-identifiers-in-source-files/

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
Heinrich Schuchardt 2023-07-14 13:07:36 +02:00 committed by Anup Patel
parent 0ad866067d
commit 0e2111e12c
16 changed files with 16 additions and 16 deletions

View file

@ -1,4 +1,4 @@
# SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) # SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
# Makefile.libfdt # Makefile.libfdt
# #
# This is not a complete Makefile of itself. Instead, it is designed to # This is not a complete Makefile of itself. Instead, it is designed to

View file

@ -1,4 +1,4 @@
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
/* /*
* libfdt - Flat Device Tree manipulation * libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation. * Copyright (C) 2006 David Gibson, IBM Corporation.

View file

@ -1,4 +1,4 @@
/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ /* SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause */
#ifndef FDT_H #ifndef FDT_H
#define FDT_H #define FDT_H
/* /*

View file

@ -1,4 +1,4 @@
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
/* /*
* libfdt - Flat Device Tree manipulation * libfdt - Flat Device Tree manipulation
* Copyright (C) 2014 David Gibson <david@gibson.dropbear.id.au> * Copyright (C) 2014 David Gibson <david@gibson.dropbear.id.au>

View file

@ -1,4 +1,4 @@
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
/* /*
* libfdt - Flat Device Tree manipulation * libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation. * Copyright (C) 2006 David Gibson, IBM Corporation.

View file

@ -1,4 +1,4 @@
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
/* /*
* libfdt - Flat Device Tree manipulation * libfdt - Flat Device Tree manipulation
* Copyright (C) 2012 David Gibson, IBM Corporation. * Copyright (C) 2012 David Gibson, IBM Corporation.

View file

@ -1,4 +1,4 @@
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
/* /*
* libfdt - Flat Device Tree manipulation * libfdt - Flat Device Tree manipulation
* Copyright (C) 2016 Free Electrons * Copyright (C) 2016 Free Electrons

View file

@ -1,4 +1,4 @@
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
/* /*
* libfdt - Flat Device Tree manipulation * libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation. * Copyright (C) 2006 David Gibson, IBM Corporation.

View file

@ -1,4 +1,4 @@
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
/* /*
* libfdt - Flat Device Tree manipulation * libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation. * Copyright (C) 2006 David Gibson, IBM Corporation.

View file

@ -1,4 +1,4 @@
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
/* /*
* libfdt - Flat Device Tree manipulation * libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation. * Copyright (C) 2006 David Gibson, IBM Corporation.

View file

@ -1,4 +1,4 @@
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
/* /*
* libfdt - Flat Device Tree manipulation * libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation. * Copyright (C) 2006 David Gibson, IBM Corporation.

View file

@ -1,4 +1,4 @@
// SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause
/* /*
* libfdt - Flat Device Tree manipulation * libfdt - Flat Device Tree manipulation
* Copyright (C) 2006 David Gibson, IBM Corporation. * Copyright (C) 2006 David Gibson, IBM Corporation.

View file

@ -1,4 +1,4 @@
/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ /* SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause */
#ifndef LIBFDT_H #ifndef LIBFDT_H
#define LIBFDT_H #define LIBFDT_H
/* /*

View file

@ -1,4 +1,4 @@
/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ /* SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause */
#ifndef LIBFDT_ENV_H #ifndef LIBFDT_ENV_H
#define LIBFDT_ENV_H #define LIBFDT_ENV_H
/* /*

View file

@ -1,4 +1,4 @@
/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ /* SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause */
#ifndef LIBFDT_INTERNAL_H #ifndef LIBFDT_INTERNAL_H
#define LIBFDT_INTERNAL_H #define LIBFDT_INTERNAL_H
/* /*

View file

@ -1,4 +1,4 @@
/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ /* SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause */
LIBFDT_1.2 { LIBFDT_1.2 {
global: global:
fdt_next_node; fdt_next_node;