summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-06-01 04:08:42 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-06-05 11:37:16 -0400
commit55716d26439f5c4008b0bcb7f17d1f7c0d8fbcfc (patch)
tree6b4e0660979dabfa39e852aaeecc6b2e8b4c5af7
parent1623de843dd23da23e139b03453f2f5822473bfb (diff)
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 428
Based on 1 normalized pattern(s): this file is released under the gplv2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 68 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Armijn Hemel <armijn@tjaldur.nl> Reviewed-by: Allison Randal <allison@lohutok.net> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190531190114.292346262@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/alpha/include/asm/device.h3
-rw-r--r--arch/arm/include/asm/device.h3
-rw-r--r--arch/ia64/include/asm/device.h3
-rw-r--r--arch/powerpc/include/asm/device.h3
-rw-r--r--arch/powerpc/platforms/512x/mpc512x_lpbfifo.c3
-rw-r--r--arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c3
-rw-r--r--arch/sparc/include/asm/device.h3
-rw-r--r--arch/x86/kernel/kdebugfs.c3
-rw-r--r--arch/x86/kernel/ksysfs.c3
-rw-r--r--drivers/acpi/glue.c3
-rw-r--r--drivers/acpi/nvs.c3
-rw-r--r--drivers/acpi/sleep.c4
-rw-r--r--drivers/ata/libata-pmp.c3
-rw-r--r--drivers/cpuidle/poll_state.c3
-rw-r--r--drivers/firmware/efi/efi.c3
-rw-r--r--drivers/firmware/efi/runtime-wrappers.c3
-rw-r--r--drivers/gpu/drm/drm_sysfs.c4
-rw-r--r--drivers/gpu/drm/i915/selftests/lib_sw_fence.h4
-rw-r--r--drivers/hwmon/asus_atk0110.c2
-rw-r--r--drivers/i2c/busses/i2c-ali1563.c3
-rw-r--r--drivers/md/dm-verity-target.c3
-rw-r--r--drivers/md/dm-verity.h3
-rw-r--r--drivers/of/of_mdio.c3
-rw-r--r--drivers/of/of_net.c3
-rw-r--r--drivers/scsi/scsi_logging.c3
-rw-r--r--drivers/spi/spi-mpc52xx.c3
-rw-r--r--drivers/video/display_timing.c3
-rw-r--r--drivers/video/of_display_timing.c3
-rw-r--r--drivers/video/of_videomode.c3
-rw-r--r--drivers/video/videomode.c3
-rw-r--r--fs/fuse/cuse.c3
-rw-r--r--fs/kernfs/dir.c3
-rw-r--r--fs/kernfs/file.c3
-rw-r--r--fs/kernfs/inode.c3
-rw-r--r--fs/kernfs/kernfs-internal.h3
-rw-r--r--fs/kernfs/mount.c3
-rw-r--r--fs/kernfs/symlink.c3
-rw-r--r--include/acpi/hed.h3
-rw-r--r--include/asm-generic/device.h3
-rw-r--r--include/linux/iova.h4
-rw-r--r--include/linux/kernfs.h3
-rw-r--r--include/linux/kref.h4
-rw-r--r--include/linux/of_mdio.h3
-rw-r--r--include/linux/of_net.h3
-rw-r--r--include/linux/platform_data/i2c-imx.h3
-rw-r--r--include/linux/platform_device.h3
-rw-r--r--include/linux/pm_clock.h3
-rw-r--r--include/linux/pm_domain.h3
-rw-r--r--include/linux/pm_runtime.h3
-rw-r--r--include/linux/stmp3xxx_rtc_wdt.h3
-rw-r--r--include/linux/syscore_ops.h3
-rw-r--r--include/linux/uwb/umc.h3
-rw-r--r--include/video/display_timing.h3
-rw-r--r--include/video/of_display_timing.h3
-rw-r--r--include/video/of_videomode.h3
-rw-r--r--include/video/videomode.h3
-rw-r--r--kernel/power/hibernate.c3
-rw-r--r--kernel/power/main.c4
-rw-r--r--kernel/power/snapshot.c4
-rw-r--r--kernel/power/suspend.c3
-rw-r--r--kernel/power/suspend_test.c3
-rw-r--r--kernel/power/swap.c4
-rw-r--r--kernel/power/user.c4
-rw-r--r--lib/ratelimit.c3
-rw-r--r--mm/percpu-km.c3
-rw-r--r--mm/percpu-stats.c3
-rw-r--r--mm/percpu-vm.c3
-rw-r--r--mm/percpu.c3
68 files changed, 68 insertions, 144 deletions
diff --git a/arch/alpha/include/asm/device.h b/arch/alpha/include/asm/device.h
index d8f9872b0e2d..9ca75a7db23e 100644
--- a/arch/alpha/include/asm/device.h
+++ b/arch/alpha/include/asm/device.h
@@ -1,7 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Arch specific extensions to struct device 3 * Arch specific extensions to struct device
3 *
4 * This file is released under the GPLv2
5 */ 4 */
6#include <asm-generic/device.h> 5#include <asm-generic/device.h>
7 6
diff --git a/arch/arm/include/asm/device.h b/arch/arm/include/asm/device.h
index 3234fe9bba6e..f6955b55c544 100644
--- a/arch/arm/include/asm/device.h
+++ b/arch/arm/include/asm/device.h
@@ -1,7 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Arch specific extensions to struct device 3 * Arch specific extensions to struct device
3 *
4 * This file is released under the GPLv2
5 */ 4 */
6#ifndef ASMARM_DEVICE_H 5#ifndef ASMARM_DEVICE_H
7#define ASMARM_DEVICE_H 6#define ASMARM_DEVICE_H
diff --git a/arch/ia64/include/asm/device.h b/arch/ia64/include/asm/device.h
index f69c32ffbe6a..410a769ece95 100644
--- a/arch/ia64/include/asm/device.h
+++ b/arch/ia64/include/asm/device.h
@@ -1,7 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Arch specific extensions to struct device 3 * Arch specific extensions to struct device
3 *
4 * This file is released under the GPLv2
5 */ 4 */
6#ifndef _ASM_IA64_DEVICE_H 5#ifndef _ASM_IA64_DEVICE_H
7#define _ASM_IA64_DEVICE_H 6#define _ASM_IA64_DEVICE_H
diff --git a/arch/powerpc/include/asm/device.h b/arch/powerpc/include/asm/device.h
index a130be13ee83..266542769e4b 100644
--- a/arch/powerpc/include/asm/device.h
+++ b/arch/powerpc/include/asm/device.h
@@ -1,7 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Arch specific extensions to struct device 3 * Arch specific extensions to struct device
3 *
4 * This file is released under the GPLv2
5 */ 4 */
6#ifndef _ASM_POWERPC_DEVICE_H 5#ifndef _ASM_POWERPC_DEVICE_H
7#define _ASM_POWERPC_DEVICE_H 6#define _ASM_POWERPC_DEVICE_H
diff --git a/arch/powerpc/platforms/512x/mpc512x_lpbfifo.c b/arch/powerpc/platforms/512x/mpc512x_lpbfifo.c
index cec3f88f153d..13631f35cd14 100644
--- a/arch/powerpc/platforms/512x/mpc512x_lpbfifo.c
+++ b/arch/powerpc/platforms/512x/mpc512x_lpbfifo.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * The driver for Freescale MPC512x LocalPlus Bus FIFO 3 * The driver for Freescale MPC512x LocalPlus Bus FIFO
3 * (called SCLPC in the Reference Manual). 4 * (called SCLPC in the Reference Manual).
4 * 5 *
5 * Copyright (C) 2013-2015 Alexander Popov <alex.popov@linux.com>. 6 * Copyright (C) 2013-2015 Alexander Popov <alex.popov@linux.com>.
6 *
7 * This file is released under the GPLv2.
8 */ 7 */
9 8
10#include <linux/interrupt.h> 9#include <linux/interrupt.h>
diff --git a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
index 7bb42a0100de..05e19470d523 100644
--- a/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
+++ b/arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * LocalPlus Bus FIFO driver for the Freescale MPC52xx. 3 * LocalPlus Bus FIFO driver for the Freescale MPC52xx.
3 * 4 *
4 * Copyright (C) 2009 Secret Lab Technologies Ltd. 5 * Copyright (C) 2009 Secret Lab Technologies Ltd.
5 * 6 *
6 * This file is released under the GPLv2
7 *
8 * Todo: 7 * Todo:
9 * - Add support for multiple requests to be queued. 8 * - Add support for multiple requests to be queued.
10 */ 9 */
diff --git a/arch/sparc/include/asm/device.h b/arch/sparc/include/asm/device.h
index bb3f0b0c6754..a797d5e86406 100644
--- a/arch/sparc/include/asm/device.h
+++ b/arch/sparc/include/asm/device.h
@@ -1,7 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Arch specific extensions to struct device 3 * Arch specific extensions to struct device
3 *
4 * This file is released under the GPLv2
5 */ 4 */
6#ifndef _ASM_SPARC_DEVICE_H 5#ifndef _ASM_SPARC_DEVICE_H
7#define _ASM_SPARC_DEVICE_H 6#define _ASM_SPARC_DEVICE_H
diff --git a/arch/x86/kernel/kdebugfs.c b/arch/x86/kernel/kdebugfs.c
index fd6f8fbbe6f2..7670ac2bda3a 100644
--- a/arch/x86/kernel/kdebugfs.c
+++ b/arch/x86/kernel/kdebugfs.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Architecture specific debugfs files 3 * Architecture specific debugfs files
3 * 4 *
4 * Copyright (C) 2007, Intel Corp. 5 * Copyright (C) 2007, Intel Corp.
5 * Huang Ying <ying.huang@intel.com> 6 * Huang Ying <ying.huang@intel.com>
6 *
7 * This file is released under the GPLv2.
8 */ 7 */
9#include <linux/debugfs.h> 8#include <linux/debugfs.h>
10#include <linux/uaccess.h> 9#include <linux/uaccess.h>
diff --git a/arch/x86/kernel/ksysfs.c b/arch/x86/kernel/ksysfs.c
index 163ae706a0d4..7969da939213 100644
--- a/arch/x86/kernel/ksysfs.c
+++ b/arch/x86/kernel/ksysfs.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Architecture specific sysfs attributes in /sys/kernel 3 * Architecture specific sysfs attributes in /sys/kernel
3 * 4 *
@@ -5,8 +6,6 @@
5 * Huang Ying <ying.huang@intel.com> 6 * Huang Ying <ying.huang@intel.com>
6 * Copyright (C) 2013, 2013 Red Hat, Inc. 7 * Copyright (C) 2013, 2013 Red Hat, Inc.
7 * Dave Young <dyoung@redhat.com> 8 * Dave Young <dyoung@redhat.com>
8 *
9 * This file is released under the GPLv2
10 */ 9 */
11 10
12#include <linux/kobject.h> 11#include <linux/kobject.h>
diff --git a/drivers/acpi/glue.c b/drivers/acpi/glue.c
index edd10b3c7ec8..36b24b0658cb 100644
--- a/drivers/acpi/glue.c
+++ b/drivers/acpi/glue.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Link physical devices with ACPI devices support 3 * Link physical devices with ACPI devices support
3 * 4 *
4 * Copyright (c) 2005 David Shaohua Li <shaohua.li@intel.com> 5 * Copyright (c) 2005 David Shaohua Li <shaohua.li@intel.com>
5 * Copyright (c) 2005 Intel Corp. 6 * Copyright (c) 2005 Intel Corp.
6 *
7 * This file is released under the GPLv2.
8 */ 7 */
9 8
10#include <linux/acpi_iort.h> 9#include <linux/acpi_iort.h>
diff --git a/drivers/acpi/nvs.c b/drivers/acpi/nvs.c
index 85287b8fe3aa..9f8712a557b3 100644
--- a/drivers/acpi/nvs.c
+++ b/drivers/acpi/nvs.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * nvs.c - Routines for saving and restoring ACPI NVS memory region 3 * nvs.c - Routines for saving and restoring ACPI NVS memory region
3 * 4 *
4 * Copyright (C) 2008-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 5 * Copyright (C) 2008-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
5 *
6 * This file is released under the GPLv2.
7 */ 6 */
8 7
9#include <linux/io.h> 8#include <linux/io.h>
diff --git a/drivers/acpi/sleep.c b/drivers/acpi/sleep.c
index a34deccd7317..8ff08e531443 100644
--- a/drivers/acpi/sleep.c
+++ b/drivers/acpi/sleep.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * sleep.c - ACPI sleep support. 3 * sleep.c - ACPI sleep support.
3 * 4 *
@@ -5,9 +6,6 @@
5 * Copyright (c) 2004 David Shaohua Li <shaohua.li@intel.com> 6 * Copyright (c) 2004 David Shaohua Li <shaohua.li@intel.com>
6 * Copyright (c) 2000-2003 Patrick Mochel 7 * Copyright (c) 2000-2003 Patrick Mochel
7 * Copyright (c) 2003 Open Source Development Lab 8 * Copyright (c) 2003 Open Source Development Lab
8 *
9 * This file is released under the GPLv2.
10 *
11 */ 9 */
12 10
13#include <linux/delay.h> 11#include <linux/delay.h>
diff --git a/drivers/ata/libata-pmp.c b/drivers/ata/libata-pmp.c
index 2ae1799f4992..3ff14071617c 100644
--- a/drivers/ata/libata-pmp.c
+++ b/drivers/ata/libata-pmp.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * libata-pmp.c - libata port multiplier support 3 * libata-pmp.c - libata port multiplier support
3 * 4 *
4 * Copyright (c) 2007 SUSE Linux Products GmbH 5 * Copyright (c) 2007 SUSE Linux Products GmbH
5 * Copyright (c) 2007 Tejun Heo <teheo@suse.de> 6 * Copyright (c) 2007 Tejun Heo <teheo@suse.de>
6 *
7 * This file is released under the GPLv2.
8 */ 7 */
9 8
10#include <linux/kernel.h> 9#include <linux/kernel.h>
diff --git a/drivers/cpuidle/poll_state.c b/drivers/cpuidle/poll_state.c
index 23a1b27579a5..02b9315a9e96 100644
--- a/drivers/cpuidle/poll_state.c
+++ b/drivers/cpuidle/poll_state.c
@@ -1,7 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * poll_state.c - Polling idle state 3 * poll_state.c - Polling idle state
3 *
4 * This file is released under the GPLv2.
5 */ 4 */
6 5
7#include <linux/cpuidle.h> 6#include <linux/cpuidle.h>
diff --git a/drivers/firmware/efi/efi.c b/drivers/firmware/efi/efi.c
index 521a541d02ad..16b2137d117c 100644
--- a/drivers/firmware/efi/efi.c
+++ b/drivers/firmware/efi/efi.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * efi.c - EFI subsystem 3 * efi.c - EFI subsystem
3 * 4 *
@@ -9,8 +10,6 @@
9 * allowing the efivarfs to be mounted or the efivars module to be loaded. 10 * allowing the efivarfs to be mounted or the efivars module to be loaded.
10 * The existance of /sys/firmware/efi may also be used by userspace to 11 * The existance of /sys/firmware/efi may also be used by userspace to
11 * determine that the system supports EFI. 12 * determine that the system supports EFI.
12 *
13 * This file is released under the GPLv2.
14 */ 13 */
15 14
16#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt 15#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
diff --git a/drivers/firmware/efi/runtime-wrappers.c b/drivers/firmware/efi/runtime-wrappers.c
index 6fa2df383f22..65fffaa22210 100644
--- a/drivers/firmware/efi/runtime-wrappers.c
+++ b/drivers/firmware/efi/runtime-wrappers.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * runtime-wrappers.c - Runtime Services function call wrappers 3 * runtime-wrappers.c - Runtime Services function call wrappers
3 * 4 *
@@ -19,8 +20,6 @@
19 * Copyright (C) 1999-2002 Hewlett-Packard Co. 20 * Copyright (C) 1999-2002 Hewlett-Packard Co.
20 * Copyright (C) 2005-2008 Intel Co. 21 * Copyright (C) 2005-2008 Intel Co.
21 * Copyright (C) 2013 SuSE Labs 22 * Copyright (C) 2013 SuSE Labs
22 *
23 * This file is released under the GPLv2.
24 */ 23 */
25 24
26#define pr_fmt(fmt) "efi: " fmt 25#define pr_fmt(fmt) "efi: " fmt
diff --git a/drivers/gpu/drm/drm_sysfs.c b/drivers/gpu/drm/drm_sysfs.c
index ecb7b33002bb..74857fafb0b8 100644
--- a/drivers/gpu/drm/drm_sysfs.c
+++ b/drivers/gpu/drm/drm_sysfs.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1 2
2/* 3/*
3 * drm_sysfs.c - Modifications to drm_sysfs_class.c to support 4 * drm_sysfs.c - Modifications to drm_sysfs_class.c to support
@@ -7,9 +8,6 @@
7 * Copyright (c) 2004 Jon Smirl <jonsmirl@gmail.com> 8 * Copyright (c) 2004 Jon Smirl <jonsmirl@gmail.com>
8 * Copyright (c) 2003-2004 Greg Kroah-Hartman <greg@kroah.com> 9 * Copyright (c) 2003-2004 Greg Kroah-Hartman <greg@kroah.com>
9 * Copyright (c) 2003-2004 IBM Corp. 10 * Copyright (c) 2003-2004 IBM Corp.
10 *
11 * This file is released under the GPLv2
12 *
13 */ 11 */
14 12
15#include <linux/device.h> 13#include <linux/device.h>
diff --git a/drivers/gpu/drm/i915/selftests/lib_sw_fence.h b/drivers/gpu/drm/i915/selftests/lib_sw_fence.h
index 1f9927e10f3a..e54d6bc23dc3 100644
--- a/drivers/gpu/drm/i915/selftests/lib_sw_fence.h
+++ b/drivers/gpu/drm/i915/selftests/lib_sw_fence.h
@@ -1,10 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * lib_sw_fence.h - library routines for testing N:M synchronisation points 3 * lib_sw_fence.h - library routines for testing N:M synchronisation points
3 * 4 *
4 * Copyright (C) 2017 Intel Corporation 5 * Copyright (C) 2017 Intel Corporation
5 *
6 * This file is released under the GPLv2.
7 *
8 */ 6 */
9 7
10#ifndef _LIB_SW_FENCE_H_ 8#ifndef _LIB_SW_FENCE_H_
diff --git a/drivers/hwmon/asus_atk0110.c b/drivers/hwmon/asus_atk0110.c
index 22be78cc5a4c..8dd5b1b8db60 100644
--- a/drivers/hwmon/asus_atk0110.c
+++ b/drivers/hwmon/asus_atk0110.c
@@ -1,7 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2007-2009 Luca Tettamanti <kronos.it@gmail.com> 3 * Copyright (C) 2007-2009 Luca Tettamanti <kronos.it@gmail.com>
3 * 4 *
4 * This file is released under the GPLv2
5 * See COPYING in the top level directory of the kernel tree. 5 * See COPYING in the top level directory of the kernel tree.
6 */ 6 */
7 7
diff --git a/drivers/i2c/busses/i2c-ali1563.c b/drivers/i2c/busses/i2c-ali1563.c
index 15517d78d5ff..4d12e3da12f0 100644
--- a/drivers/i2c/busses/i2c-ali1563.c
+++ b/drivers/i2c/busses/i2c-ali1563.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/** 2/**
2 * i2c-ali1563.c - i2c driver for the ALi 1563 Southbridge 3 * i2c-ali1563.c - i2c driver for the ALi 1563 Southbridge
3 * 4 *
@@ -12,8 +13,6 @@
12 * 13 *
13 * This driver is based on a mix of the 15x3, 1535, and i801 drivers, 14 * This driver is based on a mix of the 15x3, 1535, and i801 drivers,
14 * with a little help from the ALi 1563 spec. 15 * with a little help from the ALi 1563 spec.
15 *
16 * This file is released under the GPLv2
17 */ 16 */
18 17
19#include <linux/module.h> 18#include <linux/module.h>
diff --git a/drivers/md/dm-verity-target.c b/drivers/md/dm-verity-target.c
index f4c31ffaa88e..720d06531aa3 100644
--- a/drivers/md/dm-verity-target.c
+++ b/drivers/md/dm-verity-target.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2012 Red Hat, Inc. 3 * Copyright (C) 2012 Red Hat, Inc.
3 * 4 *
@@ -5,8 +6,6 @@
5 * 6 *
6 * Based on Chromium dm-verity driver (C) 2011 The Chromium OS Authors 7 * Based on Chromium dm-verity driver (C) 2011 The Chromium OS Authors
7 * 8 *
8 * This file is released under the GPLv2.
9 *
10 * In the file "/sys/module/dm_verity/parameters/prefetch_cluster" you can set 9 * In the file "/sys/module/dm_verity/parameters/prefetch_cluster" you can set
11 * default prefetch value. Data are read in "prefetch_cluster" chunks from the 10 * default prefetch value. Data are read in "prefetch_cluster" chunks from the
12 * hash device. Setting this greatly improves performance when data and hash 11 * hash device. Setting this greatly improves performance when data and hash
diff --git a/drivers/md/dm-verity.h b/drivers/md/dm-verity.h
index 3441c10b840c..eeaf940aef6d 100644
--- a/drivers/md/dm-verity.h
+++ b/drivers/md/dm-verity.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (C) 2012 Red Hat, Inc. 3 * Copyright (C) 2012 Red Hat, Inc.
3 * Copyright (C) 2015 Google, Inc. 4 * Copyright (C) 2015 Google, Inc.
@@ -5,8 +6,6 @@
5 * Author: Mikulas Patocka <mpatocka@redhat.com> 6 * Author: Mikulas Patocka <mpatocka@redhat.com>
6 * 7 *
7 * Based on Chromium dm-verity driver (C) 2011 The Chromium OS Authors 8 * Based on Chromium dm-verity driver (C) 2011 The Chromium OS Authors
8 *
9 * This file is released under the GPLv2.
10 */ 9 */
11 10
12#ifndef DM_VERITY_H 11#ifndef DM_VERITY_H
diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c
index de6157357e26..3b67896d9d74 100644
--- a/drivers/of/of_mdio.c
+++ b/drivers/of/of_mdio.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * OF helpers for the MDIO (Ethernet PHY) API 3 * OF helpers for the MDIO (Ethernet PHY) API
3 * 4 *
4 * Copyright (c) 2009 Secret Lab Technologies, Ltd. 5 * Copyright (c) 2009 Secret Lab Technologies, Ltd.
5 * 6 *
6 * This file is released under the GPLv2
7 *
8 * This file provides helper functions for extracting PHY device information 7 * This file provides helper functions for extracting PHY device information
9 * out of the OpenFirmware device tree and using it to populate an mii_bus. 8 * out of the OpenFirmware device tree and using it to populate an mii_bus.
10 */ 9 */
diff --git a/drivers/of/of_net.c b/drivers/of/of_net.c
index 6f1be80e8c4e..b02734aff8c1 100644
--- a/drivers/of/of_net.c
+++ b/drivers/of/of_net.c
@@ -1,8 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * OF helpers for network devices. 3 * OF helpers for network devices.
3 * 4 *
4 * This file is released under the GPLv2
5 *
6 * Initially copied out of arch/powerpc/kernel/prom_parse.c 5 * Initially copied out of arch/powerpc/kernel/prom_parse.c
7 */ 6 */
8#include <linux/etherdevice.h> 7#include <linux/etherdevice.h>
diff --git a/drivers/scsi/scsi_logging.c b/drivers/scsi/scsi_logging.c
index bd70339c1242..39b8cc4574b4 100644
--- a/drivers/scsi/scsi_logging.c
+++ b/drivers/scsi/scsi_logging.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * scsi_logging.c 3 * scsi_logging.c
3 * 4 *
4 * Copyright (C) 2014 SUSE Linux Products GmbH 5 * Copyright (C) 2014 SUSE Linux Products GmbH
5 * Copyright (C) 2014 Hannes Reinecke <hare@suse.de> 6 * Copyright (C) 2014 Hannes Reinecke <hare@suse.de>
6 *
7 * This file is released under the GPLv2
8 */ 7 */
9 8
10#include <linux/kernel.h> 9#include <linux/kernel.h>
diff --git a/drivers/spi/spi-mpc52xx.c b/drivers/spi/spi-mpc52xx.c
index 0e55784a3ad9..ef2f24420460 100644
--- a/drivers/spi/spi-mpc52xx.c
+++ b/drivers/spi/spi-mpc52xx.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * MPC52xx SPI bus driver. 3 * MPC52xx SPI bus driver.
3 * 4 *
4 * Copyright (C) 2008 Secret Lab Technologies Ltd. 5 * Copyright (C) 2008 Secret Lab Technologies Ltd.
5 * 6 *
6 * This file is released under the GPLv2
7 *
8 * This is the driver for the MPC5200's dedicated SPI controller. 7 * This is the driver for the MPC5200's dedicated SPI controller.
9 * 8 *
10 * Note: this driver does not support the MPC5200 PSC in SPI mode. For 9 * Note: this driver does not support the MPC5200 PSC in SPI mode. For
diff --git a/drivers/video/display_timing.c b/drivers/video/display_timing.c
index 5e1822cef571..daca8227bfc6 100644
--- a/drivers/video/display_timing.c
+++ b/drivers/video/display_timing.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * generic display timing functions 3 * generic display timing functions
3 * 4 *
4 * Copyright (c) 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix 5 * Copyright (c) 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix
5 *
6 * This file is released under the GPLv2
7 */ 6 */
8 7
9#include <linux/export.h> 8#include <linux/export.h>
diff --git a/drivers/video/of_display_timing.c b/drivers/video/of_display_timing.c
index c2e7aa103fa5..f5c1c469c0af 100644
--- a/drivers/video/of_display_timing.c
+++ b/drivers/video/of_display_timing.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * OF helpers for parsing display timings 3 * OF helpers for parsing display timings
3 * 4 *
4 * Copyright (c) 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix 5 * Copyright (c) 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix
5 * 6 *
6 * based on of_videomode.c by Sascha Hauer <s.hauer@pengutronix.de> 7 * based on of_videomode.c by Sascha Hauer <s.hauer@pengutronix.de>
7 *
8 * This file is released under the GPLv2
9 */ 8 */
10#include <linux/export.h> 9#include <linux/export.h>
11#include <linux/of.h> 10#include <linux/of.h>
diff --git a/drivers/video/of_videomode.c b/drivers/video/of_videomode.c
index 9b5f9de88fec..67aff2421c29 100644
--- a/drivers/video/of_videomode.c
+++ b/drivers/video/of_videomode.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * generic videomode helper 3 * generic videomode helper
3 * 4 *
4 * Copyright (c) 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix 5 * Copyright (c) 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix
5 *
6 * This file is released under the GPLv2
7 */ 6 */
8#include <linux/errno.h> 7#include <linux/errno.h>
9#include <linux/export.h> 8#include <linux/export.h>
diff --git a/drivers/video/videomode.c b/drivers/video/videomode.c
index df375c96c5d3..2ecf80c082e4 100644
--- a/drivers/video/videomode.c
+++ b/drivers/video/videomode.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * generic display timing functions 3 * generic display timing functions
3 * 4 *
4 * Copyright (c) 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix 5 * Copyright (c) 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix
5 *
6 * This file is released under the GPLv2
7 */ 6 */
8 7
9#include <linux/errno.h> 8#include <linux/errno.h>
diff --git a/fs/fuse/cuse.c b/fs/fuse/cuse.c
index 4b41df1d4642..bab7a0db81dd 100644
--- a/fs/fuse/cuse.c
+++ b/fs/fuse/cuse.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * CUSE: Character device in Userspace 3 * CUSE: Character device in Userspace
3 * 4 *
4 * Copyright (C) 2008-2009 SUSE Linux Products GmbH 5 * Copyright (C) 2008-2009 SUSE Linux Products GmbH
5 * Copyright (C) 2008-2009 Tejun Heo <tj@kernel.org> 6 * Copyright (C) 2008-2009 Tejun Heo <tj@kernel.org>
6 * 7 *
7 * This file is released under the GPLv2.
8 *
9 * CUSE enables character devices to be implemented from userland much 8 * CUSE enables character devices to be implemented from userland much
10 * like FUSE allows filesystems. On initialization /dev/cuse is 9 * like FUSE allows filesystems. On initialization /dev/cuse is
11 * created. By opening the file and replying to the CUSE_INIT request 10 * created. By opening the file and replying to the CUSE_INIT request
diff --git a/fs/kernfs/dir.c b/fs/kernfs/dir.c
index 016ba88f7335..a387534c9577 100644
--- a/fs/kernfs/dir.c
+++ b/fs/kernfs/dir.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * fs/kernfs/dir.c - kernfs directory implementation 3 * fs/kernfs/dir.c - kernfs directory implementation
3 * 4 *
4 * Copyright (c) 2001-3 Patrick Mochel 5 * Copyright (c) 2001-3 Patrick Mochel
5 * Copyright (c) 2007 SUSE Linux Products GmbH 6 * Copyright (c) 2007 SUSE Linux Products GmbH
6 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org> 7 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org>
7 *
8 * This file is released under the GPLv2.
9 */ 8 */
10 9
11#include <linux/sched.h> 10#include <linux/sched.h>
diff --git a/fs/kernfs/file.c b/fs/kernfs/file.c
index 553ce0a92b05..e8c792b49616 100644
--- a/fs/kernfs/file.c
+++ b/fs/kernfs/file.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * fs/kernfs/file.c - kernfs file implementation 3 * fs/kernfs/file.c - kernfs file implementation
3 * 4 *
4 * Copyright (c) 2001-3 Patrick Mochel 5 * Copyright (c) 2001-3 Patrick Mochel
5 * Copyright (c) 2007 SUSE Linux Products GmbH 6 * Copyright (c) 2007 SUSE Linux Products GmbH
6 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org> 7 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org>
7 *
8 * This file is released under the GPLv2.
9 */ 8 */
10 9
11#include <linux/fs.h> 10#include <linux/fs.h>
diff --git a/fs/kernfs/inode.c b/fs/kernfs/inode.c
index f89a0f13840e..f3f3984cce80 100644
--- a/fs/kernfs/inode.c
+++ b/fs/kernfs/inode.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * fs/kernfs/inode.c - kernfs inode implementation 3 * fs/kernfs/inode.c - kernfs inode implementation
3 * 4 *
4 * Copyright (c) 2001-3 Patrick Mochel 5 * Copyright (c) 2001-3 Patrick Mochel
5 * Copyright (c) 2007 SUSE Linux Products GmbH 6 * Copyright (c) 2007 SUSE Linux Products GmbH
6 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org> 7 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org>
7 *
8 * This file is released under the GPLv2.
9 */ 8 */
10 9
11#include <linux/pagemap.h> 10#include <linux/pagemap.h>
diff --git a/fs/kernfs/kernfs-internal.h b/fs/kernfs/kernfs-internal.h
index 3c437990f39a..02ce570a9a3c 100644
--- a/fs/kernfs/kernfs-internal.h
+++ b/fs/kernfs/kernfs-internal.h
@@ -1,11 +1,10 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * fs/kernfs/kernfs-internal.h - kernfs internal header file 3 * fs/kernfs/kernfs-internal.h - kernfs internal header file
3 * 4 *
4 * Copyright (c) 2001-3 Patrick Mochel 5 * Copyright (c) 2001-3 Patrick Mochel
5 * Copyright (c) 2007 SUSE Linux Products GmbH 6 * Copyright (c) 2007 SUSE Linux Products GmbH
6 * Copyright (c) 2007, 2013 Tejun Heo <teheo@suse.de> 7 * Copyright (c) 2007, 2013 Tejun Heo <teheo@suse.de>
7 *
8 * This file is released under the GPLv2.
9 */ 8 */
10 9
11#ifndef __KERNFS_INTERNAL_H 10#ifndef __KERNFS_INTERNAL_H
diff --git a/fs/kernfs/mount.c b/fs/kernfs/mount.c
index 9a4646eecb71..6c12fac2c287 100644
--- a/fs/kernfs/mount.c
+++ b/fs/kernfs/mount.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * fs/kernfs/mount.c - kernfs mount implementation 3 * fs/kernfs/mount.c - kernfs mount implementation
3 * 4 *
4 * Copyright (c) 2001-3 Patrick Mochel 5 * Copyright (c) 2001-3 Patrick Mochel
5 * Copyright (c) 2007 SUSE Linux Products GmbH 6 * Copyright (c) 2007 SUSE Linux Products GmbH
6 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org> 7 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org>
7 *
8 * This file is released under the GPLv2.
9 */ 8 */
10 9
11#include <linux/fs.h> 10#include <linux/fs.h>
diff --git a/fs/kernfs/symlink.c b/fs/kernfs/symlink.c
index eb46c3a16e2f..5432883d819f 100644
--- a/fs/kernfs/symlink.c
+++ b/fs/kernfs/symlink.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * fs/kernfs/symlink.c - kernfs symlink implementation 3 * fs/kernfs/symlink.c - kernfs symlink implementation
3 * 4 *
4 * Copyright (c) 2001-3 Patrick Mochel 5 * Copyright (c) 2001-3 Patrick Mochel
5 * Copyright (c) 2007 SUSE Linux Products GmbH 6 * Copyright (c) 2007 SUSE Linux Products GmbH
6 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org> 7 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org>
7 *
8 * This file is released under the GPLv2.
9 */ 8 */
10 9
11#include <linux/fs.h> 10#include <linux/fs.h>
diff --git a/include/acpi/hed.h b/include/acpi/hed.h
index 46e1249b70cc..ebef902afdd7 100644
--- a/include/acpi/hed.h
+++ b/include/acpi/hed.h
@@ -1,10 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * hed.h - ACPI Hardware Error Device 3 * hed.h - ACPI Hardware Error Device
3 * 4 *
4 * Copyright (C) 2009, Intel Corp. 5 * Copyright (C) 2009, Intel Corp.
5 * Author: Huang Ying <ying.huang@intel.com> 6 * Author: Huang Ying <ying.huang@intel.com>
6 *
7 * This file is released under the GPLv2.
8 */ 7 */
9 8
10#ifndef ACPI_HED_H 9#ifndef ACPI_HED_H
diff --git a/include/asm-generic/device.h b/include/asm-generic/device.h
index d7c76bba640d..974517cdf736 100644
--- a/include/asm-generic/device.h
+++ b/include/asm-generic/device.h
@@ -1,7 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Arch specific extensions to struct device 3 * Arch specific extensions to struct device
3 *
4 * This file is released under the GPLv2
5 */ 4 */
6#ifndef _ASM_GENERIC_DEVICE_H 5#ifndef _ASM_GENERIC_DEVICE_H
7#define _ASM_GENERIC_DEVICE_H 6#define _ASM_GENERIC_DEVICE_H
diff --git a/include/linux/iova.h b/include/linux/iova.h
index 28a5128405f8..781b96ac706f 100644
--- a/include/linux/iova.h
+++ b/include/linux/iova.h
@@ -1,11 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright (c) 2006, Intel Corporation. 3 * Copyright (c) 2006, Intel Corporation.
3 * 4 *
4 * This file is released under the GPLv2.
5 *
6 * Copyright (C) 2006-2008 Intel Corporation 5 * Copyright (C) 2006-2008 Intel Corporation
7 * Author: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> 6 * Author: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
8 *
9 */ 7 */
10 8
11#ifndef _IOVA_H_ 9#ifndef _IOVA_H_
diff --git a/include/linux/kernfs.h b/include/linux/kernfs.h
index 2bf477f86eb1..936b61bd504e 100644
--- a/include/linux/kernfs.h
+++ b/include/linux/kernfs.h
@@ -1,7 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * kernfs.h - pseudo filesystem decoupled from vfs locking 3 * kernfs.h - pseudo filesystem decoupled from vfs locking
3 *
4 * This file is released under the GPLv2.
5 */ 4 */
6 5
7#ifndef __LINUX_KERNFS_H 6#ifndef __LINUX_KERNFS_H
diff --git a/include/linux/kref.h b/include/linux/kref.h
index cb00a0268061..d32e21a2538c 100644
--- a/include/linux/kref.h
+++ b/include/linux/kref.h
@@ -1,3 +1,4 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * kref.h - library routines for handling generic reference counted objects 3 * kref.h - library routines for handling generic reference counted objects
3 * 4 *
@@ -7,9 +8,6 @@
7 * based on kobject.h which was: 8 * based on kobject.h which was:
8 * Copyright (C) 2002-2003 Patrick Mochel <mochel@osdl.org> 9 * Copyright (C) 2002-2003 Patrick Mochel <mochel@osdl.org>
9 * Copyright (C) 2002-2003 Open Source Development Labs 10 * Copyright (C) 2002-2003 Open Source Development Labs
10 *
11 * This file is released under the GPLv2.
12 *
13 */ 11 */
14 12
15#ifndef _KREF_H_ 13#ifndef _KREF_H_
diff --git a/include/linux/of_mdio.h b/include/linux/of_mdio.h
index f5db93bcd069..99cefe6f5edb 100644
--- a/include/linux/of_mdio.h
+++ b/include/linux/of_mdio.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * OF helpers for the MDIO (Ethernet PHY) API 3 * OF helpers for the MDIO (Ethernet PHY) API
3 * 4 *
4 * Copyright (c) 2009 Secret Lab Technologies, Ltd. 5 * Copyright (c) 2009 Secret Lab Technologies, Ltd.
5 *
6 * This file is released under the GPLv2
7 */ 6 */
8 7
9#ifndef __LINUX_OF_MDIO_H 8#ifndef __LINUX_OF_MDIO_H
diff --git a/include/linux/of_net.h b/include/linux/of_net.h
index 0f0346e6829c..6aeaea1775e6 100644
--- a/include/linux/of_net.h
+++ b/include/linux/of_net.h
@@ -1,7 +1,6 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * OF helpers for network devices. 3 * OF helpers for network devices.
3 *
4 * This file is released under the GPLv2
5 */ 4 */
6 5
7#ifndef __LINUX_OF_NET_H 6#ifndef __LINUX_OF_NET_H
diff --git a/include/linux/platform_data/i2c-imx.h b/include/linux/platform_data/i2c-imx.h
index 8289d915e615..962bfc3273eb 100644
--- a/include/linux/platform_data/i2c-imx.h
+++ b/include/linux/platform_data/i2c-imx.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * i2c.h - i.MX I2C driver header file 3 * i2c.h - i.MX I2C driver header file
3 * 4 *
4 * Copyright (c) 2008, Darius Augulis <augulis.darius@gmail.com> 5 * Copyright (c) 2008, Darius Augulis <augulis.darius@gmail.com>
5 *
6 * This file is released under the GPLv2
7 */ 6 */
8 7
9#ifndef __ASM_ARCH_I2C_H_ 8#ifndef __ASM_ARCH_I2C_H_
diff --git a/include/linux/platform_device.h b/include/linux/platform_device.h
index cc464850b71e..beb25f277889 100644
--- a/include/linux/platform_device.h
+++ b/include/linux/platform_device.h
@@ -1,10 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * platform_device.h - generic, centralized driver model 3 * platform_device.h - generic, centralized driver model
3 * 4 *
4 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> 5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org>
5 * 6 *
6 * This file is released under the GPLv2
7 *
8 * See Documentation/driver-model/ for more information. 7 * See Documentation/driver-model/ for more information.
9 */ 8 */
10 9
diff --git a/include/linux/pm_clock.h b/include/linux/pm_clock.h
index 09779b0ae720..8ddc7860e131 100644
--- a/include/linux/pm_clock.h
+++ b/include/linux/pm_clock.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * pm_clock.h - Definitions and headers related to device clocks. 3 * pm_clock.h - Definitions and headers related to device clocks.
3 * 4 *
4 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Renesas Electronics Corp. 5 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Renesas Electronics Corp.
5 *
6 * This file is released under the GPLv2.
7 */ 6 */
8 7
9#ifndef _LINUX_PM_CLOCK_H 8#ifndef _LINUX_PM_CLOCK_H
diff --git a/include/linux/pm_domain.h b/include/linux/pm_domain.h
index b21f35f0ee2e..91d9bf497071 100644
--- a/include/linux/pm_domain.h
+++ b/include/linux/pm_domain.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * pm_domain.h - Definitions and headers related to device power domains. 3 * pm_domain.h - Definitions and headers related to device power domains.
3 * 4 *
4 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Renesas Electronics Corp. 5 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Renesas Electronics Corp.
5 *
6 * This file is released under the GPLv2.
7 */ 6 */
8 7
9#ifndef _LINUX_PM_DOMAIN_H 8#ifndef _LINUX_PM_DOMAIN_H
diff --git a/include/linux/pm_runtime.h b/include/linux/pm_runtime.h
index 9dc6eebf62d2..22af69d237a6 100644
--- a/include/linux/pm_runtime.h
+++ b/include/linux/pm_runtime.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * pm_runtime.h - Device run-time power management helper functions. 3 * pm_runtime.h - Device run-time power management helper functions.
3 * 4 *
4 * Copyright (C) 2009 Rafael J. Wysocki <rjw@sisk.pl> 5 * Copyright (C) 2009 Rafael J. Wysocki <rjw@sisk.pl>
5 *
6 * This file is released under the GPLv2.
7 */ 6 */
8 7
9#ifndef _LINUX_PM_RUNTIME_H 8#ifndef _LINUX_PM_RUNTIME_H
diff --git a/include/linux/stmp3xxx_rtc_wdt.h b/include/linux/stmp3xxx_rtc_wdt.h
index 1dd12c96231b..be71a59b777d 100644
--- a/include/linux/stmp3xxx_rtc_wdt.h
+++ b/include/linux/stmp3xxx_rtc_wdt.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * stmp3xxx_rtc_wdt.h 3 * stmp3xxx_rtc_wdt.h
3 * 4 *
4 * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K. 5 * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K.
5 *
6 * This file is released under the GPLv2.
7 */ 6 */
8#ifndef __LINUX_STMP3XXX_RTC_WDT_H 7#ifndef __LINUX_STMP3XXX_RTC_WDT_H
9#define __LINUX_STMP3XXX_RTC_WDT_H 8#define __LINUX_STMP3XXX_RTC_WDT_H
diff --git a/include/linux/syscore_ops.h b/include/linux/syscore_ops.h
index 27b3b0bc41a9..ae4d48e4c970 100644
--- a/include/linux/syscore_ops.h
+++ b/include/linux/syscore_ops.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * syscore_ops.h - System core operations. 3 * syscore_ops.h - System core operations.
3 * 4 *
4 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 5 * Copyright (C) 2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
5 *
6 * This file is released under the GPLv2.
7 */ 6 */
8 7
9#ifndef _LINUX_SYSCORE_OPS_H 8#ifndef _LINUX_SYSCORE_OPS_H
diff --git a/include/linux/uwb/umc.h b/include/linux/uwb/umc.h
index 02112299a1d3..ddbceb39ad15 100644
--- a/include/linux/uwb/umc.h
+++ b/include/linux/uwb/umc.h
@@ -1,10 +1,9 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * UWB Multi-interface Controller support. 3 * UWB Multi-interface Controller support.
3 * 4 *
4 * Copyright (C) 2007 Cambridge Silicon Radio Ltd. 5 * Copyright (C) 2007 Cambridge Silicon Radio Ltd.
5 * 6 *
6 * This file is released under the GPLv2
7 *
8 * UMC (UWB Multi-interface Controller) capabilities (e.g., radio 7 * UMC (UWB Multi-interface Controller) capabilities (e.g., radio
9 * controller, host controller) are presented as devices on the "umc" 8 * controller, host controller) are presented as devices on the "umc"
10 * bus. 9 * bus.
diff --git a/include/video/display_timing.h b/include/video/display_timing.h
index 3d289e990aca..37a017607d1f 100644
--- a/include/video/display_timing.h
+++ b/include/video/display_timing.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de> 3 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>
3 * 4 *
4 * description of display timings 5 * description of display timings
5 *
6 * This file is released under the GPLv2
7 */ 6 */
8 7
9#ifndef __LINUX_DISPLAY_TIMING_H 8#ifndef __LINUX_DISPLAY_TIMING_H
diff --git a/include/video/of_display_timing.h b/include/video/of_display_timing.h
index bb29e5954000..e1126a74882a 100644
--- a/include/video/of_display_timing.h
+++ b/include/video/of_display_timing.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de> 3 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>
3 * 4 *
4 * display timings of helpers 5 * display timings of helpers
5 *
6 * This file is released under the GPLv2
7 */ 6 */
8 7
9#ifndef __LINUX_OF_DISPLAY_TIMING_H 8#ifndef __LINUX_OF_DISPLAY_TIMING_H
diff --git a/include/video/of_videomode.h b/include/video/of_videomode.h
index a07efcc51424..ab907ada89d0 100644
--- a/include/video/of_videomode.h
+++ b/include/video/of_videomode.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de> 3 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>
3 * 4 *
4 * videomode of-helpers 5 * videomode of-helpers
5 *
6 * This file is released under the GPLv2
7 */ 6 */
8 7
9#ifndef __LINUX_OF_VIDEOMODE_H 8#ifndef __LINUX_OF_VIDEOMODE_H
diff --git a/include/video/videomode.h b/include/video/videomode.h
index 3f1049d870d5..7b20ee6ea2fe 100644
--- a/include/video/videomode.h
+++ b/include/video/videomode.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de> 3 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>
3 * 4 *
4 * generic videomode description 5 * generic videomode description
5 *
6 * This file is released under the GPLv2
7 */ 6 */
8 7
9#ifndef __LINUX_VIDEOMODE_H 8#ifndef __LINUX_VIDEOMODE_H
diff --git a/kernel/power/hibernate.c b/kernel/power/hibernate.c
index 97522630b1b6..8fc054e5c501 100644
--- a/kernel/power/hibernate.c
+++ b/kernel/power/hibernate.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * kernel/power/hibernate.c - Hibernation (a.k.a suspend-to-disk) support. 3 * kernel/power/hibernate.c - Hibernation (a.k.a suspend-to-disk) support.
3 * 4 *
@@ -6,8 +7,6 @@
6 * Copyright (c) 2004 Pavel Machek <pavel@ucw.cz> 7 * Copyright (c) 2004 Pavel Machek <pavel@ucw.cz>
7 * Copyright (c) 2009 Rafael J. Wysocki, Novell Inc. 8 * Copyright (c) 2009 Rafael J. Wysocki, Novell Inc.
8 * Copyright (C) 2012 Bojan Smojver <bojan@rexursive.com> 9 * Copyright (C) 2012 Bojan Smojver <bojan@rexursive.com>
9 *
10 * This file is released under the GPLv2.
11 */ 10 */
12 11
13#define pr_fmt(fmt) "PM: " fmt 12#define pr_fmt(fmt) "PM: " fmt
diff --git a/kernel/power/main.c b/kernel/power/main.c
index 4f43e724f6eb..bdbd605c4215 100644
--- a/kernel/power/main.c
+++ b/kernel/power/main.c
@@ -1,11 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * kernel/power/main.c - PM subsystem core functionality. 3 * kernel/power/main.c - PM subsystem core functionality.
3 * 4 *
4 * Copyright (c) 2003 Patrick Mochel 5 * Copyright (c) 2003 Patrick Mochel
5 * Copyright (c) 2003 Open Source Development Lab 6 * Copyright (c) 2003 Open Source Development Lab
6 *
7 * This file is released under the GPLv2
8 *
9 */ 7 */
10 8
11#include <linux/export.h> 9#include <linux/export.h>
diff --git a/kernel/power/snapshot.c b/kernel/power/snapshot.c
index bc9558ab1e5b..83105874f255 100644
--- a/kernel/power/snapshot.c
+++ b/kernel/power/snapshot.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/kernel/power/snapshot.c 3 * linux/kernel/power/snapshot.c
3 * 4 *
@@ -5,9 +6,6 @@
5 * 6 *
6 * Copyright (C) 1998-2005 Pavel Machek <pavel@ucw.cz> 7 * Copyright (C) 1998-2005 Pavel Machek <pavel@ucw.cz>
7 * Copyright (C) 2006 Rafael J. Wysocki <rjw@sisk.pl> 8 * Copyright (C) 2006 Rafael J. Wysocki <rjw@sisk.pl>
8 *
9 * This file is released under the GPLv2.
10 *
11 */ 9 */
12 10
13#define pr_fmt(fmt) "PM: " fmt 11#define pr_fmt(fmt) "PM: " fmt
diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c
index ef908c134b34..3c57e206f3e8 100644
--- a/kernel/power/suspend.c
+++ b/kernel/power/suspend.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * kernel/power/suspend.c - Suspend to RAM and standby functionality. 3 * kernel/power/suspend.c - Suspend to RAM and standby functionality.
3 * 4 *
4 * Copyright (c) 2003 Patrick Mochel 5 * Copyright (c) 2003 Patrick Mochel
5 * Copyright (c) 2003 Open Source Development Lab 6 * Copyright (c) 2003 Open Source Development Lab
6 * Copyright (c) 2009 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 7 * Copyright (c) 2009 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc.
7 *
8 * This file is released under the GPLv2.
9 */ 8 */
10 9
11#define pr_fmt(fmt) "PM: " fmt 10#define pr_fmt(fmt) "PM: " fmt
diff --git a/kernel/power/suspend_test.c b/kernel/power/suspend_test.c
index 6a897e8b2a88..60564b58de07 100644
--- a/kernel/power/suspend_test.c
+++ b/kernel/power/suspend_test.c
@@ -1,9 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * kernel/power/suspend_test.c - Suspend to RAM and standby test facility. 3 * kernel/power/suspend_test.c - Suspend to RAM and standby test facility.
3 * 4 *
4 * Copyright (c) 2009 Pavel Machek <pavel@ucw.cz> 5 * Copyright (c) 2009 Pavel Machek <pavel@ucw.cz>
5 *
6 * This file is released under the GPLv2.
7 */ 6 */
8 7
9#include <linux/init.h> 8#include <linux/init.h>
diff --git a/kernel/power/swap.c b/kernel/power/swap.c
index d7f6c1a288d3..e1912ad13bdc 100644
--- a/kernel/power/swap.c
+++ b/kernel/power/swap.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/kernel/power/swap.c 3 * linux/kernel/power/swap.c
3 * 4 *
@@ -7,9 +8,6 @@
7 * Copyright (C) 1998,2001-2005 Pavel Machek <pavel@ucw.cz> 8 * Copyright (C) 1998,2001-2005 Pavel Machek <pavel@ucw.cz>
8 * Copyright (C) 2006 Rafael J. Wysocki <rjw@sisk.pl> 9 * Copyright (C) 2006 Rafael J. Wysocki <rjw@sisk.pl>
9 * Copyright (C) 2010-2012 Bojan Smojver <bojan@rexursive.com> 10 * Copyright (C) 2010-2012 Bojan Smojver <bojan@rexursive.com>
10 *
11 * This file is released under the GPLv2.
12 *
13 */ 11 */
14 12
15#define pr_fmt(fmt) "PM: " fmt 13#define pr_fmt(fmt) "PM: " fmt
diff --git a/kernel/power/user.c b/kernel/power/user.c
index cb24e840a3e6..77438954cc2b 100644
--- a/kernel/power/user.c
+++ b/kernel/power/user.c
@@ -1,12 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/kernel/power/user.c 3 * linux/kernel/power/user.c
3 * 4 *
4 * This file provides the user space interface for software suspend/resume. 5 * This file provides the user space interface for software suspend/resume.
5 * 6 *
6 * Copyright (C) 2006 Rafael J. Wysocki <rjw@sisk.pl> 7 * Copyright (C) 2006 Rafael J. Wysocki <rjw@sisk.pl>
7 *
8 * This file is released under the GPLv2.
9 *
10 */ 8 */
11 9
12#include <linux/suspend.h> 10#include <linux/suspend.h>
diff --git a/lib/ratelimit.c b/lib/ratelimit.c
index d01f47135239..e01a93f46f83 100644
--- a/lib/ratelimit.c
+++ b/lib/ratelimit.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * ratelimit.c - Do something with rate limit. 3 * ratelimit.c - Do something with rate limit.
3 * 4 *
@@ -5,8 +6,6 @@
5 * 6 *
6 * 2008-05-01 rewrite the function and use a ratelimit_state data struct as 7 * 2008-05-01 rewrite the function and use a ratelimit_state data struct as
7 * parameter. Now every user can use their own standalone ratelimit_state. 8 * parameter. Now every user can use their own standalone ratelimit_state.
8 *
9 * This file is released under the GPLv2.
10 */ 9 */
11 10
12#include <linux/ratelimit.h> 11#include <linux/ratelimit.h>
diff --git a/mm/percpu-km.c b/mm/percpu-km.c
index 3a2ff5c9192c..20d2b69a13b0 100644
--- a/mm/percpu-km.c
+++ b/mm/percpu-km.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * mm/percpu-km.c - kernel memory based chunk allocation 3 * mm/percpu-km.c - kernel memory based chunk allocation
3 * 4 *
4 * Copyright (C) 2010 SUSE Linux Products GmbH 5 * Copyright (C) 2010 SUSE Linux Products GmbH
5 * Copyright (C) 2010 Tejun Heo <tj@kernel.org> 6 * Copyright (C) 2010 Tejun Heo <tj@kernel.org>
6 * 7 *
7 * This file is released under the GPLv2.
8 *
9 * Chunks are allocated as a contiguous kernel memory using gfp 8 * Chunks are allocated as a contiguous kernel memory using gfp
10 * allocation. This is to be used on nommu architectures. 9 * allocation. This is to be used on nommu architectures.
11 * 10 *
diff --git a/mm/percpu-stats.c b/mm/percpu-stats.c
index ef5034a0464e..a5a8b22816ff 100644
--- a/mm/percpu-stats.c
+++ b/mm/percpu-stats.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * mm/percpu-debug.c 3 * mm/percpu-debug.c
3 * 4 *
4 * Copyright (C) 2017 Facebook Inc. 5 * Copyright (C) 2017 Facebook Inc.
5 * Copyright (C) 2017 Dennis Zhou <dennisz@fb.com> 6 * Copyright (C) 2017 Dennis Zhou <dennisz@fb.com>
6 * 7 *
7 * This file is released under the GPLv2.
8 *
9 * Prints statistics about the percpu allocator and backing chunks. 8 * Prints statistics about the percpu allocator and backing chunks.
10 */ 9 */
11#include <linux/debugfs.h> 10#include <linux/debugfs.h>
diff --git a/mm/percpu-vm.c b/mm/percpu-vm.c
index d8078de912de..a2b395acef89 100644
--- a/mm/percpu-vm.c
+++ b/mm/percpu-vm.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * mm/percpu-vm.c - vmalloc area based chunk allocation 3 * mm/percpu-vm.c - vmalloc area based chunk allocation
3 * 4 *
4 * Copyright (C) 2010 SUSE Linux Products GmbH 5 * Copyright (C) 2010 SUSE Linux Products GmbH
5 * Copyright (C) 2010 Tejun Heo <tj@kernel.org> 6 * Copyright (C) 2010 Tejun Heo <tj@kernel.org>
6 * 7 *
7 * This file is released under the GPLv2.
8 *
9 * Chunks are mapped into vmalloc areas and populated page by page. 8 * Chunks are mapped into vmalloc areas and populated page by page.
10 * This is the default chunk allocator. 9 * This is the default chunk allocator.
11 */ 10 */
diff --git a/mm/percpu.c b/mm/percpu.c
index 2df0ee680ea6..9821241fdede 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * mm/percpu.c - percpu memory allocator 3 * mm/percpu.c - percpu memory allocator
3 * 4 *
@@ -7,8 +8,6 @@
7 * Copyright (C) 2017 Facebook Inc. 8 * Copyright (C) 2017 Facebook Inc.
8 * Copyright (C) 2017 Dennis Zhou <dennisszhou@gmail.com> 9 * Copyright (C) 2017 Dennis Zhou <dennisszhou@gmail.com>
9 * 10 *
10 * This file is released under the GPLv2 license.
11 *
12 * The percpu allocator handles both static and dynamic areas. Percpu 11 * The percpu allocator handles both static and dynamic areas. Percpu
13 * areas are allocated in chunks which are divided into units. There is 12 * areas are allocated in chunks which are divided into units. There is
14 * a 1-to-1 mapping for units to possible cpus. These units are grouped 13 * a 1-to-1 mapping for units to possible cpus. These units are grouped