mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: ukl@pengutronix.de, rhi@pengutronix.de,
	Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH 05/11] fs: jffs2: add SPDX-License-Identifier: GPL-2.0-only
Date: Mon,  3 Jan 2022 13:05:33 +0100	[thread overview]
Message-ID: <20220103120539.1730644-6-a.fatoum@pengutronix.de> (raw)
In-Reply-To: <20220103120539.1730644-1-a.fatoum@pengutronix.de>

The files refer to the (Linux) top-level LICENSE file. Replace that with
GPL-2.0-only.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 fs/jffs2/acl.h         | 4 +---
 fs/jffs2/build.c       | 4 +---
 fs/jffs2/compr.c       | 4 +---
 fs/jffs2/compr.h       | 4 +---
 fs/jffs2/compr_lzo.c   | 4 +---
 fs/jffs2/compr_rtime.c | 5 +----
 fs/jffs2/compr_rubin.c | 4 +---
 fs/jffs2/compr_zlib.c  | 4 +---
 fs/jffs2/debug.c       | 4 +---
 fs/jffs2/debug.h       | 5 ++---
 fs/jffs2/dir.c         | 4 +---
 fs/jffs2/fs.c          | 4 +---
 fs/jffs2/jffs2_fs_i.h  | 5 ++---
 fs/jffs2/jffs2_fs_sb.h | 5 ++---
 fs/jffs2/malloc.c      | 4 +---
 fs/jffs2/nodelist.c    | 4 +---
 fs/jffs2/nodelist.h    | 4 +---
 fs/jffs2/os-linux.h    | 5 ++---
 fs/jffs2/read.c        | 4 +---
 fs/jffs2/readinode.c   | 4 +---
 fs/jffs2/scan.c        | 4 +---
 fs/jffs2/summary.h     | 4 +---
 fs/jffs2/super.c       | 5 ++---
 fs/jffs2/xattr.h       | 4 +---
 24 files changed, 29 insertions(+), 73 deletions(-)

diff --git a/fs/jffs2/acl.h b/fs/jffs2/acl.h
index 12d0271bdde3..2e1794f5aee4 100644
--- a/fs/jffs2/acl.h
+++ b/fs/jffs2/acl.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2006  NEC Corporation
  *
  * Created by KaiGai Kohei <kaigai@ak.jp.nec.com>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 struct jffs2_acl_entry {
diff --git a/fs/jffs2/build.c b/fs/jffs2/build.c
index f3fc0ade207c..d5757d100bf5 100644
--- a/fs/jffs2/build.c
+++ b/fs/jffs2/build.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/compr.c b/fs/jffs2/compr.c
index 1c5a7d9137e2..04b014199fde 100644
--- a/fs/jffs2/compr.c
+++ b/fs/jffs2/compr.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -7,9 +8,6 @@
  *		    University of Szeged, Hungary
  *
  * Created by Arjan van de Ven <arjan@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/compr.h b/fs/jffs2/compr.h
index 2e3c368acee5..20267beeca8e 100644
--- a/fs/jffs2/compr.h
+++ b/fs/jffs2/compr.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2004   Ferenc Havasi <havasi@inf.u-szeged.hu>,
  *		      University of Szeged, Hungary
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef __JFFS2_COMPR_H__
diff --git a/fs/jffs2/compr_lzo.c b/fs/jffs2/compr_lzo.c
index 1be30dc60443..643b83fa7474 100644
--- a/fs/jffs2/compr_lzo.c
+++ b/fs/jffs2/compr_lzo.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by Richard Purdie <rpurdie@openedhand.com>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #include <common.h>
diff --git a/fs/jffs2/compr_rtime.c b/fs/jffs2/compr_rtime.c
index d74d7d3d794a..f8bc4ab1142e 100644
--- a/fs/jffs2/compr_rtime.c
+++ b/fs/jffs2/compr_rtime.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -6,10 +7,6 @@
  *
  * Created by Arjan van de Ven <arjanv@redhat.com>
  *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
- *
- *
  * Very simple lz77-ish encoder.
  *
  * Theory of operation: Both encoder and decoder have a list of "last
diff --git a/fs/jffs2/compr_rubin.c b/fs/jffs2/compr_rubin.c
index 3e4faa739a3e..91a500f4fb29 100644
--- a/fs/jffs2/compr_rubin.c
+++ b/fs/jffs2/compr_rubin.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by Arjan van de Ven <arjanv@redhat.com>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/compr_zlib.c b/fs/jffs2/compr_zlib.c
index 222e0d6e5fcf..2b7914f1f5d2 100644
--- a/fs/jffs2/compr_zlib.c
+++ b/fs/jffs2/compr_zlib.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/debug.c b/fs/jffs2/debug.c
index 536a1786c163..edf853976223 100644
--- a/fs/jffs2/debug.c
+++ b/fs/jffs2/debug.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/debug.h b/fs/jffs2/debug.h
index 97733ecca72f..d40569e6fed9 100644
--- a/fs/jffs2/debug.h
+++ b/fs/jffs2/debug.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +7,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef _JFFS2_DEBUG_H_
diff --git a/fs/jffs2/dir.c b/fs/jffs2/dir.c
index 4d28d2b5531c..34f8d141f289 100644
--- a/fs/jffs2/dir.c
+++ b/fs/jffs2/dir.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/fs.c b/fs/jffs2/fs.c
index a267ec0669cc..f3f472d6876c 100644
--- a/fs/jffs2/fs.c
+++ b/fs/jffs2/fs.c
@@ -1,3 +1,4 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/jffs2_fs_i.h b/fs/jffs2/jffs2_fs_i.h
index 2d4b03040fad..5d420a926dd0 100644
--- a/fs/jffs2/jffs2_fs_i.h
+++ b/fs/jffs2/jffs2_fs_i.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +7,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef _JFFS2_FS_I
diff --git a/fs/jffs2/jffs2_fs_sb.h b/fs/jffs2/jffs2_fs_sb.h
index 84d118c2e9de..20fa9a26a4ff 100644
--- a/fs/jffs2/jffs2_fs_sb.h
+++ b/fs/jffs2/jffs2_fs_sb.h
@@ -1,3 +1,5 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +7,6 @@
  * Copyright © 2004-2010 David Woodhouse <dwmw2@infradead.org>
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef _JFFS2_FS_SB
diff --git a/fs/jffs2/malloc.c b/fs/jffs2/malloc.c
index 7e3e0797b3b8..202191be944a 100644
--- a/fs/jffs2/malloc.c
+++ b/fs/jffs2/malloc.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/nodelist.c b/fs/jffs2/nodelist.c
index 446407e1380e..94753e1995cb 100644
--- a/fs/jffs2/nodelist.c
+++ b/fs/jffs2/nodelist.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/nodelist.h b/fs/jffs2/nodelist.h
index 26afb7ccd789..b5f7716ce2d0 100644
--- a/fs/jffs2/nodelist.h
+++ b/fs/jffs2/nodelist.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef __JFFS2_NODELIST_H__
diff --git a/fs/jffs2/os-linux.h b/fs/jffs2/os-linux.h
index b86a55e482bc..3f6af905829d 100644
--- a/fs/jffs2/os-linux.h
+++ b/fs/jffs2/os-linux.h
@@ -1,12 +1,11 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef __JFFS2_OS_LINUX_H__
diff --git a/fs/jffs2/read.c b/fs/jffs2/read.c
index 2848e4d1d86d..a1c3b9d47bb4 100644
--- a/fs/jffs2/read.c
+++ b/fs/jffs2/read.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/readinode.c b/fs/jffs2/readinode.c
index 0fe67cbb6b30..aaf26196135b 100644
--- a/fs/jffs2/readinode.c
+++ b/fs/jffs2/readinode.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/scan.c b/fs/jffs2/scan.c
index 64a5e02c216c..0d74a8f51f97 100644
--- a/fs/jffs2/scan.c
+++ b/fs/jffs2/scan.c
@@ -1,12 +1,10 @@
+// SPDX-License-Identifier: GPL-2.0-only
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/fs/jffs2/summary.h b/fs/jffs2/summary.h
index a4b4747825e5..87a782f11ec3 100644
--- a/fs/jffs2/summary.h
+++ b/fs/jffs2/summary.h
@@ -1,3 +1,4 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
@@ -5,9 +6,6 @@
  *		     Zoltan Sogor <weth@inf.u-szeged.hu>,
  *		     Patrik Kluba <pajko@halom.u-szeged.hu>,
  *		     University of Szeged, Hungary
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef JFFS2_SUMMARY_H
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c
index d9bb6d0bff9c..6001be8e1038 100644
--- a/fs/jffs2/super.c
+++ b/fs/jffs2/super.c
@@ -1,12 +1,11 @@
+// SPDX-License-Identifier: GPL-2.0-only
+
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2001-2007 Red Hat, Inc.
  *
  * Created by David Woodhouse <dwmw2@infradead.org>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <common.h>
diff --git a/fs/jffs2/xattr.h b/fs/jffs2/xattr.h
index dced8737669e..e348190bd3d1 100644
--- a/fs/jffs2/xattr.h
+++ b/fs/jffs2/xattr.h
@@ -1,12 +1,10 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
 /*
  * JFFS2 -- Journalling Flash File System, Version 2.
  *
  * Copyright © 2006  NEC Corporation
  *
  * Created by KaiGai Kohei <kaigai@ak.jp.nec.com>
- *
- * For licensing information, see the file 'LICENCE' in this directory.
- *
  */
 
 #ifndef _JFFS2_FS_XATTR_H_
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

  parent reply	other threads:[~2022-01-03 12:07 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-03 12:05 [PATCH 00/11] treewide: SPDXify files without license statement Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 01/11] commands: set SPDX-License-Identifier for " Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 02/11] treewide: add SPDX-License-Identifier for Kbuild/Kconfig Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 03/11] treewide: add SPDX-License-Identifier for .gitignore Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 04/11] images: add SPDX-License-Identifiers Ahmad Fatoum
2022-01-03 12:05 ` Ahmad Fatoum [this message]
2022-01-03 12:05 ` [PATCH 06/11] include: add SPDX-License-Identifier Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 07/11] ARM: i.MX: add SPDX-License-Identifier for DCD Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 08/11] arch: add SPDX-License-Identifier to all headers Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 09/11] arch: add SPDX-License-Identifier to all .S files Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 10/11] arch: add SPDX-License-Identifier to all .c files Ahmad Fatoum
2022-01-03 12:05 ` [PATCH 11/11] treewide: add SPDX-License-Identifier for files without explicit license Ahmad Fatoum
2022-01-03 12:20   ` Uwe Kleine-König
2022-01-03 16:50     ` Roland Hieber
2022-01-05  8:00 ` [PATCH 00/11] treewide: SPDXify files without license statement Sascha Hauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220103120539.1730644-6-a.fatoum@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    --cc=rhi@pengutronix.de \
    --cc=ukl@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox