summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-06-03 01:44:46 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-19 11:09:06 -0400
commit40b0b3f8fb2d8f55d13ceed41593d46689a6b496 (patch)
tree3246ae03f24996e62708065a0ecf3a8302ab9f17
parent33eea064b2b183a8eb351fe867db49c3dbcee545 (diff)
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 230
Based on 2 normalized pattern(s): this source code is licensed under the gnu general public license version 2 see the file copying for more details this source code is licensed under general public license version 2 see extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 52 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Enrico Weigelt <info@metux.net> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Alexios Zavras <alexios.zavras@intel.com> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190602204653.449021192@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/ia64/kernel/machine_kexec.c4
-rw-r--r--arch/ia64/kernel/relocate_kernel.S4
-rw-r--r--arch/mips/include/asm/kexec.h4
-rw-r--r--arch/mips/kernel/machine_kexec.c4
-rw-r--r--arch/mips/kernel/relocate_kernel.S4
-rw-r--r--arch/powerpc/kernel/crash.c5
-rw-r--r--arch/powerpc/kernel/crash_dump.c4
-rw-r--r--arch/powerpc/kernel/machine_kexec.c4
-rw-r--r--arch/powerpc/kernel/machine_kexec_32.c4
-rw-r--r--arch/powerpc/kernel/machine_kexec_64.c4
-rw-r--r--arch/x86/kernel/kexec-bzimage64.c4
-rw-r--r--arch/x86/kernel/machine_kexec_32.c4
-rw-r--r--arch/x86/kernel/machine_kexec_64.c4
-rw-r--r--arch/x86/kernel/relocate_kernel_32.S4
-rw-r--r--arch/x86/kernel/relocate_kernel_64.S4
-rw-r--r--arch/x86/kernel/verify_cpu.S4
-rw-r--r--arch/x86/purgatory/entry64.S4
-rw-r--r--arch/x86/purgatory/purgatory.c4
-rw-r--r--arch/x86/purgatory/setup-x86_64.S4
-rw-r--r--arch/x86/purgatory/stack.S4
-rw-r--r--arch/x86/purgatory/string.c4
-rw-r--r--drivers/w1/slaves/w1_ds2406.c4
-rw-r--r--drivers/w1/slaves/w1_ds2408.c4
-rw-r--r--drivers/w1/slaves/w1_ds2413.c4
-rw-r--r--drivers/w1/slaves/w1_ds2431.c4
-rw-r--r--drivers/w1/slaves/w1_ds2433.c4
-rw-r--r--drivers/w1/slaves/w1_ds2438.c4
-rw-r--r--drivers/w1/slaves/w1_ds2805.c4
-rw-r--r--drivers/w1/slaves/w1_ds28e04.c4
-rw-r--r--drivers/w1/slaves/w1_ds28e17.c4
-rw-r--r--include/linux/crc-itu-t.h4
-rw-r--r--include/linux/crc16.h4
-rw-r--r--include/linux/genalloc.h4
-rw-r--r--include/linux/sha256.h4
-rw-r--r--kernel/crash_core.c4
-rw-r--r--kernel/kexec.c4
-rw-r--r--kernel/kexec_core.c4
-rw-r--r--kernel/kexec_file.c4
-rw-r--r--lib/bitmap.c4
-rw-r--r--lib/cmdline.c5
-rw-r--r--lib/crc-ccitt.c4
-rw-r--r--lib/crc-itu-t.c4
-rw-r--r--lib/crc-t10dif.c4
-rw-r--r--lib/crc16.c4
-rw-r--r--lib/crc4.c4
-rw-r--r--lib/crc7.c4
-rw-r--r--lib/genalloc.c4
-rw-r--r--lib/parser.c4
-rw-r--r--lib/scatterlist.c4
-rw-r--r--lib/sg_split.c4
-rw-r--r--net/netfilter/nf_conntrack_h323_asn1.c4
-rw-r--r--tools/lib/bitmap.c4
52 files changed, 52 insertions, 158 deletions
diff --git a/arch/ia64/kernel/machine_kexec.c b/arch/ia64/kernel/machine_kexec.c
index c14815dca747..3b1dd5496d08 100644
--- a/arch/ia64/kernel/machine_kexec.c
+++ b/arch/ia64/kernel/machine_kexec.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * arch/ia64/kernel/machine_kexec.c 3 * arch/ia64/kernel/machine_kexec.c
3 * 4 *
@@ -5,9 +6,6 @@
5 * Copyright (C) 2005 Hewlett-Packard Development Comapny, L.P. 6 * Copyright (C) 2005 Hewlett-Packard Development Comapny, L.P.
6 * Copyright (C) 2005 Khalid Aziz <khalid.aziz@hp.com> 7 * Copyright (C) 2005 Khalid Aziz <khalid.aziz@hp.com>
7 * Copyright (C) 2006 Intel Corp, Zou Nan hai <nanhai.zou@intel.com> 8 * Copyright (C) 2006 Intel Corp, Zou Nan hai <nanhai.zou@intel.com>
8 *
9 * This source code is licensed under the GNU General Public License,
10 * Version 2. See the file COPYING for more details.
11 */ 9 */
12 10
13#include <linux/mm.h> 11#include <linux/mm.h>
diff --git a/arch/ia64/kernel/relocate_kernel.S b/arch/ia64/kernel/relocate_kernel.S
index c370e02f0061..7124fe7bec7c 100644
--- a/arch/ia64/kernel/relocate_kernel.S
+++ b/arch/ia64/kernel/relocate_kernel.S
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * arch/ia64/kernel/relocate_kernel.S 3 * arch/ia64/kernel/relocate_kernel.S
3 * 4 *
@@ -6,9 +7,6 @@
6 * Copyright (C) 2005 Hewlett-Packard Development Company, L.P. 7 * Copyright (C) 2005 Hewlett-Packard Development Company, L.P.
7 * Copyright (C) 2005 Khalid Aziz <khalid.aziz@hp.com> 8 * Copyright (C) 2005 Khalid Aziz <khalid.aziz@hp.com>
8 * Copyright (C) 2005 Intel Corp, Zou Nan hai <nanhai.zou@intel.com> 9 * Copyright (C) 2005 Intel Corp, Zou Nan hai <nanhai.zou@intel.com>
9 *
10 * This source code is licensed under the GNU General Public License,
11 * Version 2. See the file COPYING for more details.
12 */ 10 */
13#include <asm/asmmacro.h> 11#include <asm/asmmacro.h>
14#include <asm/kregs.h> 12#include <asm/kregs.h>
diff --git a/arch/mips/include/asm/kexec.h b/arch/mips/include/asm/kexec.h
index 40795ca89961..d6d5fa5cc31d 100644
--- a/arch/mips/include/asm/kexec.h
+++ b/arch/mips/include/asm/kexec.h
@@ -1,9 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * kexec.h for kexec 3 * kexec.h for kexec
3 * Created by <nschichan@corp.free.fr> on Thu Oct 12 14:59:34 2006 4 * Created by <nschichan@corp.free.fr> on Thu Oct 12 14:59:34 2006
4 *
5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.
7 */ 5 */
8 6
9#ifndef _MIPS_KEXEC 7#ifndef _MIPS_KEXEC
diff --git a/arch/mips/kernel/machine_kexec.c b/arch/mips/kernel/machine_kexec.c
index 93936dce04d6..432bfd3e7f22 100644
--- a/arch/mips/kernel/machine_kexec.c
+++ b/arch/mips/kernel/machine_kexec.c
@@ -1,9 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * machine_kexec.c for kexec 3 * machine_kexec.c for kexec
3 * Created by <nschichan@corp.free.fr> on Thu Oct 12 15:15:06 2006 4 * Created by <nschichan@corp.free.fr> on Thu Oct 12 15:15:06 2006
4 *
5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.
7 */ 5 */
8#include <linux/compiler.h> 6#include <linux/compiler.h>
9#include <linux/kexec.h> 7#include <linux/kexec.h>
diff --git a/arch/mips/kernel/relocate_kernel.S b/arch/mips/kernel/relocate_kernel.S
index 419c92197b2f..ac870893ba2d 100644
--- a/arch/mips/kernel/relocate_kernel.S
+++ b/arch/mips/kernel/relocate_kernel.S
@@ -1,9 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * relocate_kernel.S for kexec 3 * relocate_kernel.S for kexec
3 * Created by <nschichan@corp.free.fr> on Thu Oct 12 17:49:57 2006 4 * Created by <nschichan@corp.free.fr> on Thu Oct 12 17:49:57 2006
4 *
5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.
7 */ 5 */
8 6
9#include <asm/asm.h> 7#include <asm/asm.h>
diff --git a/arch/powerpc/kernel/crash.c b/arch/powerpc/kernel/crash.c
index 43a3ce2301e8..d488311efab1 100644
--- a/arch/powerpc/kernel/crash.c
+++ b/arch/powerpc/kernel/crash.c
@@ -1,13 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Architecture specific (PPC64) functions for kexec based crash dumps. 3 * Architecture specific (PPC64) functions for kexec based crash dumps.
3 * 4 *
4 * Copyright (C) 2005, IBM Corp. 5 * Copyright (C) 2005, IBM Corp.
5 * 6 *
6 * Created by: Haren Myneni 7 * Created by: Haren Myneni
7 *
8 * This source code is licensed under the GNU General Public License,
9 * Version 2. See the file COPYING for more details.
10 *
11 */ 8 */
12 9
13#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/arch/powerpc/kernel/crash_dump.c b/arch/powerpc/kernel/crash_dump.c
index bbdc4706c159..05745ddbd229 100644
--- a/arch/powerpc/kernel/crash_dump.c
+++ b/arch/powerpc/kernel/crash_dump.c
@@ -1,12 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Routines for doing kexec-based kdump. 3 * Routines for doing kexec-based kdump.
3 * 4 *
4 * Copyright (C) 2005, IBM Corp. 5 * Copyright (C) 2005, IBM Corp.
5 * 6 *
6 * Created by: Michael Ellerman 7 * Created by: Michael Ellerman
7 *
8 * This source code is licensed under the GNU General Public License,
9 * Version 2. See the file COPYING for more details.
10 */ 8 */
11 9
12#undef DEBUG 10#undef DEBUG
diff --git a/arch/powerpc/kernel/machine_kexec.c b/arch/powerpc/kernel/machine_kexec.c
index 63f5a9311a29..c4ed328a7b96 100644
--- a/arch/powerpc/kernel/machine_kexec.c
+++ b/arch/powerpc/kernel/machine_kexec.c
@@ -1,12 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Code to handle transition of Linux booting another kernel. 3 * Code to handle transition of Linux booting another kernel.
3 * 4 *
4 * Copyright (C) 2002-2003 Eric Biederman <ebiederm@xmission.com> 5 * Copyright (C) 2002-2003 Eric Biederman <ebiederm@xmission.com>
5 * GameCube/ppc32 port Copyright (C) 2004 Albert Herranz 6 * GameCube/ppc32 port Copyright (C) 2004 Albert Herranz
6 * Copyright (C) 2005 IBM Corporation. 7 * Copyright (C) 2005 IBM Corporation.
7 *
8 * This source code is licensed under the GNU General Public License,
9 * Version 2. See the file COPYING for more details.
10 */ 8 */
11 9
12#include <linux/kexec.h> 10#include <linux/kexec.h>
diff --git a/arch/powerpc/kernel/machine_kexec_32.c b/arch/powerpc/kernel/machine_kexec_32.c
index 2b160d68db49..bf9f1f906d64 100644
--- a/arch/powerpc/kernel/machine_kexec_32.c
+++ b/arch/powerpc/kernel/machine_kexec_32.c
@@ -1,12 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * PPC32 code to handle Linux booting another kernel. 3 * PPC32 code to handle Linux booting another kernel.
3 * 4 *
4 * Copyright (C) 2002-2003 Eric Biederman <ebiederm@xmission.com> 5 * Copyright (C) 2002-2003 Eric Biederman <ebiederm@xmission.com>
5 * GameCube/ppc32 port Copyright (C) 2004 Albert Herranz 6 * GameCube/ppc32 port Copyright (C) 2004 Albert Herranz
6 * Copyright (C) 2005 IBM Corporation. 7 * Copyright (C) 2005 IBM Corporation.
7 *
8 * This source code is licensed under the GNU General Public License,
9 * Version 2. See the file COPYING for more details.
10 */ 8 */
11 9
12#include <linux/kexec.h> 10#include <linux/kexec.h>
diff --git a/arch/powerpc/kernel/machine_kexec_64.c b/arch/powerpc/kernel/machine_kexec_64.c
index 75692c327ba0..18481b0e2788 100644
--- a/arch/powerpc/kernel/machine_kexec_64.c
+++ b/arch/powerpc/kernel/machine_kexec_64.c
@@ -1,12 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * PPC64 code to handle Linux booting another kernel. 3 * PPC64 code to handle Linux booting another kernel.
3 * 4 *
4 * Copyright (C) 2004-2005, IBM Corp. 5 * Copyright (C) 2004-2005, IBM Corp.
5 * 6 *
6 * Created by: Milton D Miller II 7 * Created by: Milton D Miller II
7 *
8 * This source code is licensed under the GNU General Public License,
9 * Version 2. See the file COPYING for more details.
10 */ 8 */
11 9
12 10
diff --git a/arch/x86/kernel/kexec-bzimage64.c b/arch/x86/kernel/kexec-bzimage64.c
index 22f60dd26460..f03237e3f192 100644
--- a/arch/x86/kernel/kexec-bzimage64.c
+++ b/arch/x86/kernel/kexec-bzimage64.c
@@ -1,12 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Kexec bzImage loader 3 * Kexec bzImage loader
3 * 4 *
4 * Copyright (C) 2014 Red Hat Inc. 5 * Copyright (C) 2014 Red Hat Inc.
5 * Authors: 6 * Authors:
6 * Vivek Goyal <vgoyal@redhat.com> 7 * Vivek Goyal <vgoyal@redhat.com>
7 *
8 * This source code is licensed under the GNU General Public License,
9 * Version 2. See the file COPYING for more details.
10 */ 8 */
11 9
12#define pr_fmt(fmt) "kexec-bzImage64: " fmt 10#define pr_fmt(fmt) "kexec-bzImage64: " fmt
diff --git a/arch/x86/kernel/machine_kexec_32.c b/arch/x86/kernel/machine_kexec_32.c
index 5409c2800ab5..77854b192fef 100644
--- a/arch/x86/kernel/machine_kexec_32.c
+++ b/arch/x86/kernel/machine_kexec_32.c
@@ -1,9 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * handle transition of Linux booting another kernel 3 * handle transition of Linux booting another kernel
3 * Copyright (C) 2002-2005 Eric Biederman <ebiederm@xmission.com> 4 * Copyright (C) 2002-2005 Eric Biederman <ebiederm@xmission.com>
4 *
5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.
7 */ 5 */
8 6
9#include <linux/mm.h> 7#include <linux/mm.h>
diff --git a/arch/x86/kernel/machine_kexec_64.c b/arch/x86/kernel/machine_kexec_64.c
index ceba408ea982..d7be2376ac0b 100644
--- a/arch/x86/kernel/machine_kexec_64.c
+++ b/arch/x86/kernel/machine_kexec_64.c
@@ -1,9 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * handle transition of Linux booting another kernel 3 * handle transition of Linux booting another kernel
3 * Copyright (C) 2002-2005 Eric Biederman <ebiederm@xmission.com> 4 * Copyright (C) 2002-2005 Eric Biederman <ebiederm@xmission.com>
4 *
5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.
7 */ 5 */
8 6
9#define pr_fmt(fmt) "kexec: " fmt 7#define pr_fmt(fmt) "kexec: " fmt
diff --git a/arch/x86/kernel/relocate_kernel_32.S b/arch/x86/kernel/relocate_kernel_32.S
index 77630d57e7bf..ee26df08002e 100644
--- a/arch/x86/kernel/relocate_kernel_32.S
+++ b/arch/x86/kernel/relocate_kernel_32.S
@@ -1,9 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * relocate_kernel.S - put the kernel image in place to boot 3 * relocate_kernel.S - put the kernel image in place to boot
3 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com> 4 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com>
4 *
5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.
7 */ 5 */
8 6
9#include <linux/linkage.h> 7#include <linux/linkage.h>
diff --git a/arch/x86/kernel/relocate_kernel_64.S b/arch/x86/kernel/relocate_kernel_64.S
index 11eda21eb697..c51ccff5cd01 100644
--- a/arch/x86/kernel/relocate_kernel_64.S
+++ b/arch/x86/kernel/relocate_kernel_64.S
@@ -1,9 +1,7 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * relocate_kernel.S - put the kernel image in place to boot 3 * relocate_kernel.S - put the kernel image in place to boot
3 * Copyright (C) 2002-2005 Eric Biederman <ebiederm@xmission.com> 4 * Copyright (C) 2002-2005 Eric Biederman <ebiederm@xmission.com>
4 *
5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.
7 */ 5 */
8 6
9#include <linux/linkage.h> 7#include <linux/linkage.h>
diff --git a/arch/x86/kernel/verify_cpu.S b/arch/x86/kernel/verify_cpu.S
index 3d3c2f71f617..a024c4f7ba56 100644
--- a/arch/x86/kernel/verify_cpu.S
+++ b/arch/x86/kernel/verify_cpu.S
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * 3 *
3 * verify_cpu.S - Code for cpu long mode and SSE verification. This 4 * verify_cpu.S - Code for cpu long mode and SSE verification. This
@@ -9,9 +10,6 @@
9 * Copyright (c) 2007 Vivek Goyal (vgoyal@in.ibm.com) 10 * Copyright (c) 2007 Vivek Goyal (vgoyal@in.ibm.com)
10 * Copyright (c) 2010 Kees Cook (kees.cook@canonical.com) 11 * Copyright (c) 2010 Kees Cook (kees.cook@canonical.com)
11 * 12 *
12 * This source code is licensed under the GNU General Public License,
13 * Version 2. See the file COPYING for more details.
14 *
15 * This is a common code for verification whether CPU supports 13 * This is a common code for verification whether CPU supports
16 * long mode and SSE or not. It is not called directly instead this 14 * long mode and SSE or not. It is not called directly instead this
17 * file is included at various places and compiled in that context. 15 * file is included at various places and compiled in that context.
diff --git a/arch/x86/purgatory/entry64.S b/arch/x86/purgatory/entry64.S
index d1a4291d3568..275a646d1048 100644
--- a/arch/x86/purgatory/entry64.S
+++ b/arch/x86/purgatory/entry64.S
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2003,2004 Eric Biederman (ebiederm@xmission.com) 3 * Copyright (C) 2003,2004 Eric Biederman (ebiederm@xmission.com)
3 * Copyright (C) 2014 Red Hat Inc. 4 * Copyright (C) 2014 Red Hat Inc.
@@ -5,9 +6,6 @@
5 * Author(s): Vivek Goyal <vgoyal@redhat.com> 6 * Author(s): Vivek Goyal <vgoyal@redhat.com>
6 * 7 *
7 * This code has been taken from kexec-tools. 8 * This code has been taken from kexec-tools.
8 *
9 * This source code is licensed under the GNU General Public License,
10 * Version 2. See the file COPYING for more details.
11 */ 9 */
12 10
13 .text 11 .text
diff --git a/arch/x86/purgatory/purgatory.c b/arch/x86/purgatory/purgatory.c
index 025c34ac0d84..6d8d5a34c377 100644
--- a/arch/x86/purgatory/purgatory.c
+++ b/arch/x86/purgatory/purgatory.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * purgatory: Runs between two kernels 3 * purgatory: Runs between two kernels
3 * 4 *
@@ -5,9 +6,6 @@
5 * 6 *
6 * Author: 7 * Author:
7 * Vivek Goyal <vgoyal@redhat.com> 8 * Vivek Goyal <vgoyal@redhat.com>
8 *
9 * This source code is licensed under the GNU General Public License,
10 * Version 2. See the file COPYING for more details.
11 */ 9 */
12 10
13#include <linux/bug.h> 11#include <linux/bug.h>
diff --git a/arch/x86/purgatory/setup-x86_64.S b/arch/x86/purgatory/setup-x86_64.S
index dfae9b9e60b5..321146be741d 100644
--- a/arch/x86/purgatory/setup-x86_64.S
+++ b/arch/x86/purgatory/setup-x86_64.S
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * purgatory: setup code 3 * purgatory: setup code
3 * 4 *
@@ -5,9 +6,6 @@
5 * Copyright (C) 2014 Red Hat Inc. 6 * Copyright (C) 2014 Red Hat Inc.
6 * 7 *
7 * This code has been taken from kexec-tools. 8 * This code has been taken from kexec-tools.
8 *
9 * This source code is licensed under the GNU General Public License,
10 * Version 2. See the file COPYING for more details.
11 */ 9 */
12#include <asm/purgatory.h> 10#include <asm/purgatory.h>
13 11
diff --git a/arch/x86/purgatory/stack.S b/arch/x86/purgatory/stack.S
index 50a4147f91fb..8b1427422dfc 100644
--- a/arch/x86/purgatory/stack.S
+++ b/arch/x86/purgatory/stack.S
@@ -1,10 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * purgatory: stack 3 * purgatory: stack
3 * 4 *
4 * Copyright (C) 2014 Red Hat Inc. 5 * Copyright (C) 2014 Red Hat Inc.
5 *
6 * This source code is licensed under the GNU General Public License,
7 * Version 2. See the file COPYING for more details.
8 */ 6 */
9 7
10 /* A stack for the loaded kernel. 8 /* A stack for the loaded kernel.
diff --git a/arch/x86/purgatory/string.c b/arch/x86/purgatory/string.c
index 795ca4f2cb3c..01ad43873ad9 100644
--- a/arch/x86/purgatory/string.c
+++ b/arch/x86/purgatory/string.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Simple string functions. 3 * Simple string functions.
3 * 4 *
@@ -5,9 +6,6 @@
5 * 6 *
6 * Author: 7 * Author:
7 * Vivek Goyal <vgoyal@redhat.com> 8 * Vivek Goyal <vgoyal@redhat.com>
8 *
9 * This source code is licensed under the GNU General Public License,
10 * Version 2. See the file COPYING for more details.
11 */ 9 */
12 10
13#include <linux/types.h> 11#include <linux/types.h>
diff --git a/drivers/w1/slaves/w1_ds2406.c b/drivers/w1/slaves/w1_ds2406.c
index fac266366ca3..762e5e4e2b48 100644
--- a/drivers/w1/slaves/w1_ds2406.c
+++ b/drivers/w1/slaves/w1_ds2406.c
@@ -1,11 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * w1_ds2406.c - w1 family 12 (DS2406) driver 3 * w1_ds2406.c - w1 family 12 (DS2406) driver
3 * based on w1_ds2413.c by Mariusz Bialonczyk <manio@skyboo.net> 4 * based on w1_ds2413.c by Mariusz Bialonczyk <manio@skyboo.net>
4 * 5 *
5 * Copyright (c) 2014 Scott Alfter <scott@alfter.us> 6 * Copyright (c) 2014 Scott Alfter <scott@alfter.us>
6 *
7 * This source code is licensed under the GNU General Public License,
8 * Version 2. See the file COPYING for more details.
9 */ 7 */
10 8
11#include <linux/kernel.h> 9#include <linux/kernel.h>
diff --git a/drivers/w1/slaves/w1_ds2408.c b/drivers/w1/slaves/w1_ds2408.c
index edf0bc98012c..83f8d94bb814 100644
--- a/drivers/w1/slaves/w1_ds2408.c
+++ b/drivers/w1/slaves/w1_ds2408.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * w1_ds2408.c - w1 family 29 (DS2408) driver 3 * w1_ds2408.c - w1 family 29 (DS2408) driver
3 * 4 *
4 * Copyright (c) 2010 Jean-Francois Dagenais <dagenaisj@sonatest.com> 5 * Copyright (c) 2010 Jean-Francois Dagenais <dagenaisj@sonatest.com>
5 *
6 * This source code is licensed under the GNU General Public License,
7 * Version 2. See the file COPYING for more details.
8 */ 6 */
9 7
10#include <linux/kernel.h> 8#include <linux/kernel.h>
diff --git a/drivers/w1/slaves/w1_ds2413.c b/drivers/w1/slaves/w1_ds2413.c
index 492e3d010321..5ae74d5545e6 100644
--- a/drivers/w1/slaves/w1_ds2413.c
+++ b/drivers/w1/slaves/w1_ds2413.c
@@ -1,11 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * w1_ds2413.c - w1 family 3a (DS2413) driver 3 * w1_ds2413.c - w1 family 3a (DS2413) driver
3 * based on w1_ds2408.c by Jean-Francois Dagenais <dagenaisj@sonatest.com> 4 * based on w1_ds2408.c by Jean-Francois Dagenais <dagenaisj@sonatest.com>
4 * 5 *
5 * Copyright (c) 2013 Mariusz Bialonczyk <manio@skyboo.net> 6 * Copyright (c) 2013 Mariusz Bialonczyk <manio@skyboo.net>
6 *
7 * This source code is licensed under the GNU General Public License,
8 * Version 2. See the file COPYING for more details.
9 */ 7 */
10 8
11#include <linux/kernel.h> 9#include <linux/kernel.h>
diff --git a/drivers/w1/slaves/w1_ds2431.c b/drivers/w1/slaves/w1_ds2431.c
index 5adecd3face1..e5bd7e2354d7 100644
--- a/drivers/w1/slaves/w1_ds2431.c
+++ b/drivers/w1/slaves/w1_ds2431.c
@@ -1,12 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * w1_ds2431.c - w1 family 2d (DS2431) driver 3 * w1_ds2431.c - w1 family 2d (DS2431) driver
3 * 4 *
4 * Copyright (c) 2008 Bernhard Weirich <bernhard.weirich@riedel.net> 5 * Copyright (c) 2008 Bernhard Weirich <bernhard.weirich@riedel.net>
5 * 6 *
6 * Heavily inspired by w1_DS2433 driver from Ben Gardner <bgardner@wabtec.com> 7 * Heavily inspired by w1_DS2433 driver from Ben Gardner <bgardner@wabtec.com>
7 *
8 * This source code is licensed under the GNU General Public License,
9 * Version 2. See the file COPYING for more details.
10 */ 8 */
11 9
12#include <linux/kernel.h> 10#include <linux/kernel.h>
diff --git a/drivers/w1/slaves/w1_ds2433.c b/drivers/w1/slaves/w1_ds2433.c
index 75ad70cfe8e8..1f805c86517a 100644
--- a/drivers/w1/slaves/w1_ds2433.c
+++ b/drivers/w1/slaves/w1_ds2433.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * w1_ds2433.c - w1 family 23 (DS2433) driver 3 * w1_ds2433.c - w1 family 23 (DS2433) driver
3 * 4 *
4 * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com> 5 * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com>
5 *
6 * This source code is licensed under the GNU General Public License,
7 * Version 2. See the file COPYING for more details.
8 */ 6 */
9 7
10#include <linux/kernel.h> 8#include <linux/kernel.h>
diff --git a/drivers/w1/slaves/w1_ds2438.c b/drivers/w1/slaves/w1_ds2438.c
index 7c4e33dbee4d..d199e5a25cc0 100644
--- a/drivers/w1/slaves/w1_ds2438.c
+++ b/drivers/w1/slaves/w1_ds2438.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * 1-Wire implementation for the ds2438 chip 3 * 1-Wire implementation for the ds2438 chip
3 * 4 *
4 * Copyright (c) 2017 Mariusz Bialonczyk <manio@skyboo.net> 5 * Copyright (c) 2017 Mariusz Bialonczyk <manio@skyboo.net>
5 *
6 * This source code is licensed under the GNU General Public License,
7 * Version 2. See the file COPYING for more details.
8 */ 6 */
9 7
10#include <linux/kernel.h> 8#include <linux/kernel.h>
diff --git a/drivers/w1/slaves/w1_ds2805.c b/drivers/w1/slaves/w1_ds2805.c
index 29348d283a65..ee1ec9867a78 100644
--- a/drivers/w1/slaves/w1_ds2805.c
+++ b/drivers/w1/slaves/w1_ds2805.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * w1_ds2805 - w1 family 0d (DS28E05) driver 3 * w1_ds2805 - w1 family 0d (DS28E05) driver
3 * 4 *
4 * Copyright (c) 2016 Andrew Worsley amworsley@gmail.com 5 * Copyright (c) 2016 Andrew Worsley amworsley@gmail.com
5 *
6 * This source code is licensed under the GNU General Public License,
7 * Version 2. See the file COPYING for more details.
8 */ 6 */
9 7
10#include <linux/kernel.h> 8#include <linux/kernel.h>
diff --git a/drivers/w1/slaves/w1_ds28e04.c b/drivers/w1/slaves/w1_ds28e04.c
index ec234b846eb3..8a640f159078 100644
--- a/drivers/w1/slaves/w1_ds28e04.c
+++ b/drivers/w1/slaves/w1_ds28e04.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * w1_ds28e04.c - w1 family 1C (DS28E04) driver 3 * w1_ds28e04.c - w1 family 1C (DS28E04) driver
3 * 4 *
4 * Copyright (c) 2012 Markus Franke <franke.m@sebakmt.com> 5 * Copyright (c) 2012 Markus Franke <franke.m@sebakmt.com>
5 *
6 * This source code is licensed under the GNU General Public License,
7 * Version 2. See the file COPYING for more details.
8 */ 6 */
9 7
10#include <linux/kernel.h> 8#include <linux/kernel.h>
diff --git a/drivers/w1/slaves/w1_ds28e17.c b/drivers/w1/slaves/w1_ds28e17.c
index e78b63ea4daf..046ddda83df9 100644
--- a/drivers/w1/slaves/w1_ds28e17.c
+++ b/drivers/w1/slaves/w1_ds28e17.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * w1_ds28e17.c - w1 family 19 (DS28E17) driver 3 * w1_ds28e17.c - w1 family 19 (DS28E17) driver
3 * 4 *
4 * Copyright (c) 2016 Jan Kandziora <jjj@gmx.de> 5 * Copyright (c) 2016 Jan Kandziora <jjj@gmx.de>
5 *
6 * This source code is licensed under the GNU General Public License,
7 * Version 2. See the file COPYING for more details.
8 */ 6 */
9 7
10#include <linux/crc16.h> 8#include <linux/crc16.h>
diff --git a/include/linux/crc-itu-t.h b/include/linux/crc-itu-t.h
index a9953c762eee..a4367051e192 100644
--- a/include/linux/crc-itu-t.h
+++ b/include/linux/crc-itu-t.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * crc-itu-t.h - CRC ITU-T V.41 routine 3 * crc-itu-t.h - CRC ITU-T V.41 routine
3 * 4 *
@@ -5,9 +6,6 @@
5 * Width 16 6 * Width 16
6 * Poly 0x1021 (x^16 + x^12 + x^15 + 1) 7 * Poly 0x1021 (x^16 + x^12 + x^15 + 1)
7 * Init 0 8 * Init 0
8 *
9 * This source code is licensed under the GNU General Public License,
10 * Version 2. See the file COPYING for more details.
11 */ 9 */
12 10
13#ifndef CRC_ITU_T_H 11#ifndef CRC_ITU_T_H
diff --git a/include/linux/crc16.h b/include/linux/crc16.h
index 9443c084f881..9fa74529b317 100644
--- a/include/linux/crc16.h
+++ b/include/linux/crc16.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * crc16.h - CRC-16 routine 3 * crc16.h - CRC-16 routine
3 * 4 *
@@ -7,9 +8,6 @@
7 * Init 0 8 * Init 0
8 * 9 *
9 * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com> 10 * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com>
10 *
11 * This source code is licensed under the GNU General Public License,
12 * Version 2. See the file COPYING for more details.
13 */ 11 */
14 12
15#ifndef __CRC16_H 13#ifndef __CRC16_H
diff --git a/include/linux/genalloc.h b/include/linux/genalloc.h
index a337313e064f..205f62b8d291 100644
--- a/include/linux/genalloc.h
+++ b/include/linux/genalloc.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Basic general purpose allocator for managing special purpose 3 * Basic general purpose allocator for managing special purpose
3 * memory, for example, memory that is not managed by the regular 4 * memory, for example, memory that is not managed by the regular
@@ -21,9 +22,6 @@
21 * the allocator can NOT be used in NMI handler. So code uses the 22 * the allocator can NOT be used in NMI handler. So code uses the
22 * allocator in NMI handler should depend on 23 * allocator in NMI handler should depend on
23 * CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG. 24 * CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG.
24 *
25 * This source code is licensed under the GNU General Public License,
26 * Version 2. See the file COPYING for more details.
27 */ 25 */
28 26
29 27
diff --git a/include/linux/sha256.h b/include/linux/sha256.h
index 244fe01a65fb..26972b9e92db 100644
--- a/include/linux/sha256.h
+++ b/include/linux/sha256.h
@@ -1,10 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2014 Red Hat Inc. 3 * Copyright (C) 2014 Red Hat Inc.
3 * 4 *
4 * Author: Vivek Goyal <vgoyal@redhat.com> 5 * Author: Vivek Goyal <vgoyal@redhat.com>
5 *
6 * This source code is licensed under the GNU General Public License,
7 * Version 2. See the file COPYING for more details.
8 */ 6 */
9 7
10#ifndef SHA256_H 8#ifndef SHA256_H
diff --git a/kernel/crash_core.c b/kernel/crash_core.c
index 093c9f917ed0..9f1557b98468 100644
--- a/kernel/crash_core.c
+++ b/kernel/crash_core.c
@@ -1,9 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * crash.c - kernel crash support code. 3 * crash.c - kernel crash support code.
3 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com> 4 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com>
4 *
5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.
7 */ 5 */
8 6
9#include <linux/crash_core.h> 7#include <linux/crash_core.h>
diff --git a/kernel/kexec.c b/kernel/kexec.c
index 68559808fdfa..1b018f1a6e0d 100644
--- a/kernel/kexec.c
+++ b/kernel/kexec.c
@@ -1,9 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * kexec.c - kexec_load system call 3 * kexec.c - kexec_load system call
3 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com> 4 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com>
4 *
5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.
7 */ 5 */
8 6
9#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 7#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/kernel/kexec_core.c b/kernel/kexec_core.c
index fd5c95ff9251..d5870723b8ad 100644
--- a/kernel/kexec_core.c
+++ b/kernel/kexec_core.c
@@ -1,9 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * kexec.c - kexec system call core code. 3 * kexec.c - kexec system call core code.
3 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com> 4 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com>
4 *
5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.
7 */ 5 */
8 6
9#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 7#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/kernel/kexec_file.c b/kernel/kexec_file.c
index 072b6ee55e3f..ef7b951a8087 100644
--- a/kernel/kexec_file.c
+++ b/kernel/kexec_file.c
@@ -1,12 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * kexec: kexec_file_load system call 3 * kexec: kexec_file_load system call
3 * 4 *
4 * Copyright (C) 2014 Red Hat Inc. 5 * Copyright (C) 2014 Red Hat Inc.
5 * Authors: 6 * Authors:
6 * Vivek Goyal <vgoyal@redhat.com> 7 * Vivek Goyal <vgoyal@redhat.com>
7 *
8 * This source code is licensed under the GNU General Public License,
9 * Version 2. See the file COPYING for more details.
10 */ 8 */
11 9
12#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 10#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/lib/bitmap.c b/lib/bitmap.c
index f235434df87b..bbe2589e8497 100644
--- a/lib/bitmap.c
+++ b/lib/bitmap.c
@@ -1,9 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * lib/bitmap.c 3 * lib/bitmap.c
3 * Helper functions for bitmap.h. 4 * Helper functions for bitmap.h.
4 *
5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.
7 */ 5 */
8#include <linux/export.h> 6#include <linux/export.h>
9#include <linux/thread_info.h> 7#include <linux/thread_info.h>
diff --git a/lib/cmdline.c b/lib/cmdline.c
index dc59d6216318..fbb9981a04a4 100644
--- a/lib/cmdline.c
+++ b/lib/cmdline.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/lib/cmdline.c 3 * linux/lib/cmdline.c
3 * Helper functions generally used for parsing kernel command line 4 * Helper functions generally used for parsing kernel command line
@@ -5,11 +6,7 @@
5 * 6 *
6 * Code and copyrights come from init/main.c and arch/i386/kernel/setup.c. 7 * Code and copyrights come from init/main.c and arch/i386/kernel/setup.c.
7 * 8 *
8 * This source code is licensed under the GNU General Public License,
9 * Version 2. See the file COPYING for more details.
10 *
11 * GNU Indent formatting options for this file: -kr -i8 -npsl -pcs 9 * GNU Indent formatting options for this file: -kr -i8 -npsl -pcs
12 *
13 */ 10 */
14 11
15#include <linux/export.h> 12#include <linux/export.h>
diff --git a/lib/crc-ccitt.c b/lib/crc-ccitt.c
index d873b34039ff..d1a7d29d2ac9 100644
--- a/lib/crc-ccitt.c
+++ b/lib/crc-ccitt.c
@@ -1,8 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/lib/crc-ccitt.c 3 * linux/lib/crc-ccitt.c
3 *
4 * This source code is licensed under the GNU General Public License,
5 * Version 2. See the file COPYING for more details.
6 */ 4 */
7 5
8#include <linux/types.h> 6#include <linux/types.h>
diff --git a/lib/crc-itu-t.c b/lib/crc-itu-t.c
index b3219d0abfb4..1974b355c148 100644
--- a/lib/crc-itu-t.c
+++ b/lib/crc-itu-t.c
@@ -1,8 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * crc-itu-t.c 3 * crc-itu-t.c
3 *
4 * This source code is licensed under the GNU General Public License,
5 * Version 2. See the file COPYING for more details.
6 */ 4 */
7 5
8#include <linux/types.h> 6#include <linux/types.h>
diff --git a/lib/crc-t10dif.c b/lib/crc-t10dif.c
index e89ebfdbb0fc..8cc01a603416 100644
--- a/lib/crc-t10dif.c
+++ b/lib/crc-t10dif.c
@@ -1,11 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * T10 Data Integrity Field CRC16 calculation 3 * T10 Data Integrity Field CRC16 calculation
3 * 4 *
4 * Copyright (c) 2007 Oracle Corporation. All rights reserved. 5 * Copyright (c) 2007 Oracle Corporation. All rights reserved.
5 * Written by Martin K. Petersen <martin.petersen@oracle.com> 6 * Written by Martin K. Petersen <martin.petersen@oracle.com>
6 *
7 * This source code is licensed under the GNU General Public License,
8 * Version 2. See the file COPYING for more details.
9 */ 7 */
10 8
11#include <linux/types.h> 9#include <linux/types.h>
diff --git a/lib/crc16.c b/lib/crc16.c
index 8737b084d1f9..5c3a803c01e0 100644
--- a/lib/crc16.c
+++ b/lib/crc16.c
@@ -1,8 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * crc16.c 3 * crc16.c
3 *
4 * This source code is licensed under the GNU General Public License,
5 * Version 2. See the file COPYING for more details.
6 */ 4 */
7 5
8#include <linux/types.h> 6#include <linux/types.h>
diff --git a/lib/crc4.c b/lib/crc4.c
index 164ed9444cd3..e7e1779c67d9 100644
--- a/lib/crc4.c
+++ b/lib/crc4.c
@@ -1,8 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * crc4.c - simple crc-4 calculations. 3 * crc4.c - simple crc-4 calculations.
3 *
4 * This source code is licensed under the GNU General Public License, Version
5 * 2. See the file COPYING for more details.
6 */ 4 */
7 5
8#include <linux/crc4.h> 6#include <linux/crc4.h>
diff --git a/lib/crc7.c b/lib/crc7.c
index bf6255e23919..6a848d73e804 100644
--- a/lib/crc7.c
+++ b/lib/crc7.c
@@ -1,8 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * crc7.c 3 * crc7.c
3 *
4 * This source code is licensed under the GNU General Public License,
5 * Version 2. See the file COPYING for more details.
6 */ 4 */
7 5
8#include <linux/types.h> 6#include <linux/types.h>
diff --git a/lib/genalloc.c b/lib/genalloc.c
index 770c769d7cb7..5257f74fccf3 100644
--- a/lib/genalloc.c
+++ b/lib/genalloc.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Basic general purpose allocator for managing special purpose 3 * Basic general purpose allocator for managing special purpose
3 * memory, for example, memory that is not managed by the regular 4 * memory, for example, memory that is not managed by the regular
@@ -23,9 +24,6 @@
23 * CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG. 24 * CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG.
24 * 25 *
25 * Copyright 2005 (C) Jes Sorensen <jes@trained-monkey.org> 26 * Copyright 2005 (C) Jes Sorensen <jes@trained-monkey.org>
26 *
27 * This source code is licensed under the GNU General Public License,
28 * Version 2. See the file COPYING for more details.
29 */ 27 */
30 28
31#include <linux/slab.h> 29#include <linux/slab.h>
diff --git a/lib/parser.c b/lib/parser.c
index dd70e5e6c9e2..f5b3e5d7a7f9 100644
--- a/lib/parser.c
+++ b/lib/parser.c
@@ -1,8 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * lib/parser.c - simple parser for mount, etc. options. 3 * lib/parser.c - simple parser for mount, etc. options.
3 *
4 * This source code is licensed under the GNU General Public License,
5 * Version 2. See the file COPYING for more details.
6 */ 4 */
7 5
8#include <linux/ctype.h> 6#include <linux/ctype.h>
diff --git a/lib/scatterlist.c b/lib/scatterlist.c
index 739dc9fe2c55..2882d9ba6607 100644
--- a/lib/scatterlist.c
+++ b/lib/scatterlist.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2007 Jens Axboe <jens.axboe@oracle.com> 3 * Copyright (C) 2007 Jens Axboe <jens.axboe@oracle.com>
3 * 4 *
4 * Scatterlist handling helpers. 5 * Scatterlist handling helpers.
5 *
6 * This source code is licensed under the GNU General Public License,
7 * Version 2. See the file COPYING for more details.
8 */ 6 */
9#include <linux/export.h> 7#include <linux/export.h>
10#include <linux/slab.h> 8#include <linux/slab.h>
diff --git a/lib/sg_split.c b/lib/sg_split.c
index b063410c3593..9982c63d1063 100644
--- a/lib/sg_split.c
+++ b/lib/sg_split.c
@@ -1,10 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2015 Robert Jarzmik <robert.jarzmik@free.fr> 3 * Copyright (C) 2015 Robert Jarzmik <robert.jarzmik@free.fr>
3 * 4 *
4 * Scatterlist splitting helpers. 5 * Scatterlist splitting helpers.
5 *
6 * This source code is licensed under the GNU General Public License,
7 * Version 2. See the file COPYING for more details.
8 */ 6 */
9 7
10#include <linux/scatterlist.h> 8#include <linux/scatterlist.h>
diff --git a/net/netfilter/nf_conntrack_h323_asn1.c b/net/netfilter/nf_conntrack_h323_asn1.c
index 4c2ef42e189c..8f6ba8162f0b 100644
--- a/net/netfilter/nf_conntrack_h323_asn1.c
+++ b/net/netfilter/nf_conntrack_h323_asn1.c
@@ -1,13 +1,11 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ip_conntrack_helper_h323_asn1.c - BER and PER decoding library for H.323 3 * ip_conntrack_helper_h323_asn1.c - BER and PER decoding library for H.323
3 * conntrack/NAT module. 4 * conntrack/NAT module.
4 * 5 *
5 * Copyright (c) 2006 by Jing Min Zhao <zhaojingmin@users.sourceforge.net> 6 * Copyright (c) 2006 by Jing Min Zhao <zhaojingmin@users.sourceforge.net>
6 * 7 *
7 * This source code is licensed under General Public License version 2.
8 *
9 * See ip_conntrack_helper_h323_asn1.h for details. 8 * See ip_conntrack_helper_h323_asn1.h for details.
10 *
11 */ 9 */
12 10
13#ifdef __KERNEL__ 11#ifdef __KERNEL__
diff --git a/tools/lib/bitmap.c b/tools/lib/bitmap.c
index 38748b0e342f..38494782be06 100644
--- a/tools/lib/bitmap.c
+++ b/tools/lib/bitmap.c
@@ -1,9 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * From lib/bitmap.c 3 * From lib/bitmap.c
3 * Helper functions for bitmap.h. 4 * Helper functions for bitmap.h.
4 *
5 * This source code is licensed under the GNU General Public License,
6 * Version 2. See the file COPYING for more details.
7 */ 5 */
8#include <linux/bitmap.h> 6#include <linux/bitmap.h>
9 7