From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 31 Jul 2023 11:44:10 +0200 Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qQPRi-000bkz-Pc for lore@lore.pengutronix.de; Mon, 31 Jul 2023 11:44:10 +0200 Received: from localhost ([127.0.0.1] helo=metis.ext.pengutronix.de) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qQPRf-0005Yd-ST; Mon, 31 Jul 2023 11:44:07 +0200 Received: from ptz.office.stw.pengutronix.de ([2a0a:edc0:0:900:1d::77] helo=[127.0.0.1]) by metis.ext.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1qQPRe-0005YD-HP; Mon, 31 Jul 2023 11:44:06 +0200 Message-ID: Date: Mon, 31 Jul 2023 11:44:06 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Roland Hieber , oss-tools@pengutronix.de References: <20230731091131.3696307-1-rhi@pengutronix.de> <20230731091131.3696307-7-rhi@pengutronix.de> From: Ahmad Fatoum In-Reply-To: <20230731091131.3696307-7-rhi@pengutronix.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [OSS-Tools] [PATCH dt-utils v2 6/9] treewide: add GPL-2.0-only SPDX identifiers to files without license X-BeenThere: oss-tools@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: Pengutronix Public Open-Source-Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "OSS-Tools" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: oss-tools-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false On 31.07.23 11:11, Roland Hieber wrote: > The dt-utils project license has effectively been GPL-2.0-only since > commit 2b39a389428224d96bbb (2014-11-27, Sascha Hauer: "COPYING: Change > to GPLv2"). Reflect this in the file headers so the license stays with > the code in case files get copied around. > > Link: https://git.pengutronix.de/cgit/tools/dt-utils/commit/?id=2b39a389428224d96bbb > Signed-off-by: Roland Hieber Reviewed-by: Ahmad Fatoum > --- > PATCH v2: > * rebase to next branch and add remaining files > > PATCH v1: https://lore.pengutronix.org/oss-tools/20210326210647.8648-4-rhi@pengutronix.de > --- > .gitignore | 1 + > Makefile.am | 2 ++ > NEWS | 2 ++ > README | 2 ++ > autogen.sh | 1 + > configure.ac | 2 ++ > m4/.gitignore | 1 + > meson.build | 1 + > meson_options.txt | 1 + > scripts/barebox-mark-successful-boot.sh | 1 + > src/.gitignore | 1 + > src/barebox-state.h | 1 + > src/base64.h | 1 + > src/crypto/sha.h | 1 + > src/dt/common.h | 1 + > src/dt/dt.h | 1 + > src/dt/fdt.h | 1 + > src/dt/list.h | 1 + > src/dtblint.h | 1 + > src/fdt.h | 1 + > src/fdtdump.c | 1 + > src/fs.h | 1 + > src/libbb.h | 1 + > src/libdt-utils.sym | 1 + > src/linux/list.h | 1 + > src/linux/mtd/mtd-abi.h | 1 + > src/of.h | 1 + > src/printk.h | 1 + > src/state.h | 1 + > test/01-fixed-partition-no-gpt.dts | 1 + > test/02-fixed-partition-before-gpt-partition.dts | 1 + > test/03-fixed-partition-is-gpt-partition.dts | 1 + > test/04-gpt-partition-by-partuuid.dts | 1 + > test/05-gpt-partition-by-typeuuid.dts | 1 + > test/06-fixed-partition-by-diskuuid.dts | 1 + > test/07-raw-disk-fail.dts | 1 + > test/08-gpt-disk-no-typeuuid-fail.dts | 1 + > test/09-no-disk-fail.dts | 1 + > test/31-fixed-partition-overlaps-two-gpt-partitions.dts | 1 + > ...32-fixed-partition-overlaps-two-gpt-partitions-partially.dts | 1 + > test/33-fixed-partition-part-of-gpt-partition.dts | 1 + > test/barebox-state.dtsi | 1 + > test/barebox-state.t | 1 + > test/crc32.c | 1 + > test/gpt-no-typeuuid.config | 1 + > test/gpt.config | 1 + > test/meson.build | 1 + > test/raw.config | 1 + > version-gen | 1 + > version.h.in | 1 + > 50 files changed, 54 insertions(+) > > diff --git a/.gitignore b/.gitignore > index 22060feceab3..f6afc0defbfa 100644 > --- a/.gitignore > +++ b/.gitignore > @@ -1,3 +1,4 @@ > +# SPDX-License-Identifier: GPL-2.0-only > *~ > *.o > .deps/ > diff --git a/Makefile.am b/Makefile.am > index d3077317ce9a..960ac4902af5 100644 > --- a/Makefile.am > +++ b/Makefile.am > @@ -1,3 +1,5 @@ > +# SPDX-License-Identifier: GPL-2.0-only > + > EXTRA_DIST = DCO > CLEANFILES = > ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} > diff --git a/NEWS b/NEWS > index e27f5efe20ac..fa169f9498d6 100644 > --- a/NEWS > +++ b/NEWS > @@ -1,3 +1,5 @@ > +# SPDX-License-Identifier: GPL-2.0-only > + > dt-utils 2021.03.0 > ================== > > diff --git a/README b/README > index acfd2c171286..3f53b47c03f8 100644 > --- a/README > +++ b/README > @@ -1,3 +1,5 @@ > +# SPDX-License-Identifier: GPL-2.0-only > + > Utilities to work with device trees in Linux userspace > > The following tools are available: > diff --git a/autogen.sh b/autogen.sh > index 0d60b0a96e9a..0c0353a20edd 100755 > --- a/autogen.sh > +++ b/autogen.sh > @@ -1,4 +1,5 @@ > #!/bin/sh -e > +# SPDX-License-Identifier: GPL-2.0-only > > if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then > cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \ > diff --git a/configure.ac b/configure.ac > index 5b5c74c2b582..31e19cabf3ab 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -1,3 +1,5 @@ > +# SPDX-License-Identifier: GPL-2.0-only > + > AC_PREREQ(2.60) > AC_INIT([dt-utils], > [2021.03.0], > diff --git a/m4/.gitignore b/m4/.gitignore > index 8bab51c22bf5..2f13470d7891 100644 > --- a/m4/.gitignore > +++ b/m4/.gitignore > @@ -1,3 +1,4 @@ > +# SPDX-License-Identifier: GPL-2.0-only > libtool.m4 > ltoptions.m4 > ltsugar.m4 > diff --git a/meson.build b/meson.build > index e03e1dbf6e85..423cc390d8be 100644 > --- a/meson.build > +++ b/meson.build > @@ -1,3 +1,4 @@ > +# SPDX-License-Identifier: GPL-2.0-only > # Copyright 2013-2023 The DT-Utils Authors > # Homepage: https://git.pengutronix.de/cgit/tools/dt-utils > > diff --git a/meson_options.txt b/meson_options.txt > index 04d9854a4b1b..83cbc6b2fae2 100644 > --- a/meson_options.txt > +++ b/meson_options.txt > @@ -1,3 +1,4 @@ > +# SPDX-License-Identifier: GPL-2.0-only > # feature options > option( > 'state-backward-compatibility', > diff --git a/scripts/barebox-mark-successful-boot.sh b/scripts/barebox-mark-successful-boot.sh > index 3120f57450fa..8aecabfc1912 100644 > --- a/scripts/barebox-mark-successful-boot.sh > +++ b/scripts/barebox-mark-successful-boot.sh > @@ -1,4 +1,5 @@ > #!/bin/sh > +# SPDX-License-Identifier: GPL-2.0-only > > DEFAULT_REMAINING_ATTEMPTS=3 > DEFAULT_PRIORITY=20 > diff --git a/src/.gitignore b/src/.gitignore > index 088ef797e64a..9ba44ac0b042 100644 > --- a/src/.gitignore > +++ b/src/.gitignore > @@ -1,3 +1,4 @@ > +# SPDX-License-Identifier: GPL-2.0-only > .dirstamp > .deps/ > .libs/ > diff --git a/src/barebox-state.h b/src/barebox-state.h > index a0f49a549649..9bc6b5715c36 100644 > --- a/src/barebox-state.h > +++ b/src/barebox-state.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef __BAREBOX_STATE__ > #define __BAREBOX_STATE__ > > diff --git a/src/base64.h b/src/base64.h > index 6ce0885822da..2bdd684cb2c8 100644 > --- a/src/base64.h > +++ b/src/base64.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef __BASE64_H > #define __BASE64_H > > diff --git a/src/crypto/sha.h b/src/crypto/sha.h > index 190f8a0e0242..355bb76171c8 100644 > --- a/src/crypto/sha.h > +++ b/src/crypto/sha.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Common values for SHA algorithms > */ > diff --git a/src/dt/common.h b/src/dt/common.h > index 38dc61cd65fe..9b29b27710ba 100644 > --- a/src/dt/common.h > +++ b/src/dt/common.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef __DT_COMMON_H > #define __DT_COMMON_H > > diff --git a/src/dt/dt.h b/src/dt/dt.h > index c2d9c62c9889..b8e136fa297b 100644 > --- a/src/dt/dt.h > +++ b/src/dt/dt.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef __DT_DT_H > #define __DT_DT_H > > diff --git a/src/dt/fdt.h b/src/dt/fdt.h > index 35278e30304b..50fab3da6414 100644 > --- a/src/dt/fdt.h > +++ b/src/dt/fdt.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef _FDT_H > #define _FDT_H > > diff --git a/src/dt/list.h b/src/dt/list.h > index c17b5d4b9ba1..f8cb0d47789e 100644 > --- a/src/dt/list.h > +++ b/src/dt/list.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef _LINUX_LIST_H > #define _LINUX_LIST_H > > diff --git a/src/dtblint.h b/src/dtblint.h > index 4efd5865a988..896bfe8ba9f5 100644 > --- a/src/dtblint.h > +++ b/src/dtblint.h > @@ -1 +1,2 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > void dtblint_imx_pinmux(void); > diff --git a/src/fdt.h b/src/fdt.h > index 261743394803..7831a56ef583 100644 > --- a/src/fdt.h > +++ b/src/fdt.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef _FDT_H > #define _FDT_H > > diff --git a/src/fdtdump.c b/src/fdtdump.c > index 1b609da0719a..282af57016d8 100644 > --- a/src/fdtdump.c > +++ b/src/fdtdump.c > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #include > #include > #include > diff --git a/src/fs.h b/src/fs.h > index 8b05b1aaf1ba..9f3c4619b2ee 100644 > --- a/src/fs.h > +++ b/src/fs.h > @@ -1 +1,2 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #include > diff --git a/src/libbb.h b/src/libbb.h > index 9f9d32d12d94..83768be67dbf 100644 > --- a/src/libbb.h > +++ b/src/libbb.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef __LIBBB_H > #define __LIBBB_H > > diff --git a/src/libdt-utils.sym b/src/libdt-utils.sym > index 636c3461e490..a473f004341f 100644 > --- a/src/libdt-utils.sym > +++ b/src/libdt-utils.sym > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > LIBDT_1 { > global: > crc32; > diff --git a/src/linux/list.h b/src/linux/list.h > index 83c6d7534446..5bcf36d9a5a3 100644 > --- a/src/linux/list.h > +++ b/src/linux/list.h > @@ -1 +1,2 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #include
> diff --git a/src/linux/mtd/mtd-abi.h b/src/linux/mtd/mtd-abi.h > index bd0de7680856..848d61cda4fe 100644 > --- a/src/linux/mtd/mtd-abi.h > +++ b/src/linux/mtd/mtd-abi.h > @@ -1 +1,2 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #include > diff --git a/src/of.h b/src/of.h > index 4cbf197439ca..7e3a447081a5 100644 > --- a/src/of.h > +++ b/src/of.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef __OF_H > #define __OF_H > > diff --git a/src/printk.h b/src/printk.h > index a0adcaaed223..f0fcbd6d8c57 100644 > --- a/src/printk.h > +++ b/src/printk.h > @@ -1 +1,2 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #include
> diff --git a/src/state.h b/src/state.h > index 889df43b5780..1c003d18265c 100644 > --- a/src/state.h > +++ b/src/state.h > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #ifndef __STATE_H > #define __STATE_H > > diff --git a/test/01-fixed-partition-no-gpt.dts b/test/01-fixed-partition-no-gpt.dts > index 3ed26e3da468..47d302b9ff0f 100644 > --- a/test/01-fixed-partition-no-gpt.dts > +++ b/test/01-fixed-partition-no-gpt.dts > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /dts-v1/; > > #include "barebox-state.dtsi" > diff --git a/test/02-fixed-partition-before-gpt-partition.dts b/test/02-fixed-partition-before-gpt-partition.dts > index b64f910a0cad..f4ac24b7c3e6 100644 > --- a/test/02-fixed-partition-before-gpt-partition.dts > +++ b/test/02-fixed-partition-before-gpt-partition.dts > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /dts-v1/; > > #include "barebox-state.dtsi" > diff --git a/test/03-fixed-partition-is-gpt-partition.dts b/test/03-fixed-partition-is-gpt-partition.dts > index a93c3f194314..248014937886 100644 > --- a/test/03-fixed-partition-is-gpt-partition.dts > +++ b/test/03-fixed-partition-is-gpt-partition.dts > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /dts-v1/; > > #include "barebox-state.dtsi" > diff --git a/test/04-gpt-partition-by-partuuid.dts b/test/04-gpt-partition-by-partuuid.dts > index 8c536f1c0c2e..0f73d5a76055 100644 > --- a/test/04-gpt-partition-by-partuuid.dts > +++ b/test/04-gpt-partition-by-partuuid.dts > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /dts-v1/; > > #include "barebox-state.dtsi" > diff --git a/test/05-gpt-partition-by-typeuuid.dts b/test/05-gpt-partition-by-typeuuid.dts > index ffd4ad9bc55c..a29ce018dc29 100644 > --- a/test/05-gpt-partition-by-typeuuid.dts > +++ b/test/05-gpt-partition-by-typeuuid.dts > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /dts-v1/; > > #include "barebox-state.dtsi" > diff --git a/test/06-fixed-partition-by-diskuuid.dts b/test/06-fixed-partition-by-diskuuid.dts > index 5eeab5b6b22b..47434b5ab219 100644 > --- a/test/06-fixed-partition-by-diskuuid.dts > +++ b/test/06-fixed-partition-by-diskuuid.dts > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /dts-v1/; > > #include "barebox-state.dtsi" > diff --git a/test/07-raw-disk-fail.dts b/test/07-raw-disk-fail.dts > index 1d8e8718bbb3..8a458657a1e4 100644 > --- a/test/07-raw-disk-fail.dts > +++ b/test/07-raw-disk-fail.dts > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /dts-v1/; > > #include "barebox-state.dtsi" > diff --git a/test/08-gpt-disk-no-typeuuid-fail.dts b/test/08-gpt-disk-no-typeuuid-fail.dts > index a5992b711fa1..43b2c7bbafb2 100644 > --- a/test/08-gpt-disk-no-typeuuid-fail.dts > +++ b/test/08-gpt-disk-no-typeuuid-fail.dts > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /dts-v1/; > > #include "barebox-state.dtsi" > diff --git a/test/09-no-disk-fail.dts b/test/09-no-disk-fail.dts > index 49cfa852525d..2154a94df00b 100644 > --- a/test/09-no-disk-fail.dts > +++ b/test/09-no-disk-fail.dts > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /dts-v1/; > > #include "barebox-state.dtsi" > diff --git a/test/31-fixed-partition-overlaps-two-gpt-partitions.dts b/test/31-fixed-partition-overlaps-two-gpt-partitions.dts > index 0d58526de8f5..2ee24314cab2 100644 > --- a/test/31-fixed-partition-overlaps-two-gpt-partitions.dts > +++ b/test/31-fixed-partition-overlaps-two-gpt-partitions.dts > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /dts-v1/; > > #include "barebox-state.dtsi" > diff --git a/test/32-fixed-partition-overlaps-two-gpt-partitions-partially.dts b/test/32-fixed-partition-overlaps-two-gpt-partitions-partially.dts > index 1d8920ecbb98..659214f7770a 100644 > --- a/test/32-fixed-partition-overlaps-two-gpt-partitions-partially.dts > +++ b/test/32-fixed-partition-overlaps-two-gpt-partitions-partially.dts > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /dts-v1/; > > #include "barebox-state.dtsi" > diff --git a/test/33-fixed-partition-part-of-gpt-partition.dts b/test/33-fixed-partition-part-of-gpt-partition.dts > index e56b11f7c6c0..78786d76b55f 100644 > --- a/test/33-fixed-partition-part-of-gpt-partition.dts > +++ b/test/33-fixed-partition-part-of-gpt-partition.dts > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /dts-v1/; > > #include "barebox-state.dtsi" > diff --git a/test/barebox-state.dtsi b/test/barebox-state.dtsi > index 6a5cc90d5026..77a13f879bc9 100644 > --- a/test/barebox-state.dtsi > +++ b/test/barebox-state.dtsi > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > / { > aliases { > state = &state; > diff --git a/test/barebox-state.t b/test/barebox-state.t > index 5d34a8d593d1..9b31ce8a52d5 100755 > --- a/test/barebox-state.t > +++ b/test/barebox-state.t > @@ -1,4 +1,5 @@ > #!/bin/sh > +# SPDX-License-Identifier: GPL-2.0-only > > set -e > > diff --git a/test/crc32.c b/test/crc32.c > index 9a99254c8f22..eae5d12f1149 100644 > --- a/test/crc32.c > +++ b/test/crc32.c > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #include > #include > > diff --git a/test/gpt-no-typeuuid.config b/test/gpt-no-typeuuid.config > index 0fa4a20e8324..d0cf4411106d 100644 > --- a/test/gpt-no-typeuuid.config > +++ b/test/gpt-no-typeuuid.config > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > image __IMAGE__ { > hdimage { > align = 32K > diff --git a/test/gpt.config b/test/gpt.config > index 12f4c0dc27f3..8a4e590258ff 100644 > --- a/test/gpt.config > +++ b/test/gpt.config > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > image __IMAGE__ { > hdimage { > align = 32K > diff --git a/test/meson.build b/test/meson.build > index ad7a79906aed..d7a39064c15e 100644 > --- a/test/meson.build > +++ b/test/meson.build > @@ -1,3 +1,4 @@ > +# SPDX-License-Identifier: GPL-2.0-only > if not get_option('tests') > subdir_done() > endif > diff --git a/test/raw.config b/test/raw.config > index a712d18b7f7d..28d078fa65d6 100644 > --- a/test/raw.config > +++ b/test/raw.config > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > image __IMAGE__ { > hdimage { > align = 32K > diff --git a/version-gen b/version-gen > index bf77f50bc1e7..501f77ab0cf1 100755 > --- a/version-gen > +++ b/version-gen > @@ -1,3 +1,4 @@ > #!/bin/sh > +# SPDX-License-Identifier: GPL-2.0-only > > echo "$1" > "$MESON_DIST_ROOT/.tarball-version" > diff --git a/version.h.in b/version.h.in > index a0c0ce367ab7..ed6ba6d4d20d 100644 > --- a/version.h.in > +++ b/version.h.in > @@ -1,3 +1,4 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > #define PACKAGE_STRING "dt-utils @VCS_TAG@" > > #define PACKAGE_VERSION "@VCS_TAG@" -- Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |