Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Thomas Gleixner and committed by
Greg Kroah-Hartman
55716d26 1623de84

+68 -144
+1 -2
arch/alpha/include/asm/device.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Arch specific extensions to struct device 3 - * 4 - * This file is released under the GPLv2 5 4 */ 6 5 #include <asm-generic/device.h> 7 6
+1 -2
arch/arm/include/asm/device.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Arch specific extensions to struct device 3 - * 4 - * This file is released under the GPLv2 5 4 */ 6 5 #ifndef ASMARM_DEVICE_H 7 6 #define ASMARM_DEVICE_H
+1 -2
arch/ia64/include/asm/device.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Arch specific extensions to struct device 3 - * 4 - * This file is released under the GPLv2 5 4 */ 6 5 #ifndef _ASM_IA64_DEVICE_H 7 6 #define _ASM_IA64_DEVICE_H
+1 -2
arch/powerpc/include/asm/device.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Arch specific extensions to struct device 3 - * 4 - * This file is released under the GPLv2 5 4 */ 6 5 #ifndef _ASM_POWERPC_DEVICE_H 7 6 #define _ASM_POWERPC_DEVICE_H
+1 -2
arch/powerpc/platforms/512x/mpc512x_lpbfifo.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * The driver for Freescale MPC512x LocalPlus Bus FIFO 3 4 * (called SCLPC in the Reference Manual). 4 5 * 5 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 9 #include <linux/interrupt.h>
+1 -2
arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * LocalPlus Bus FIFO driver for the Freescale MPC52xx. 3 4 * 4 5 * Copyright (C) 2009 Secret Lab Technologies Ltd. 5 - * 6 - * This file is released under the GPLv2 7 6 * 8 7 * Todo: 9 8 * - Add support for multiple requests to be queued.
+1 -2
arch/sparc/include/asm/device.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Arch specific extensions to struct device 3 - * 4 - * This file is released under the GPLv2 5 4 */ 6 5 #ifndef _ASM_SPARC_DEVICE_H 7 6 #define _ASM_SPARC_DEVICE_H
+1 -2
arch/x86/kernel/kdebugfs.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Architecture specific debugfs files 3 4 * 4 5 * Copyright (C) 2007, Intel Corp. 5 6 * Huang Ying <ying.huang@intel.com> 6 - * 7 - * This file is released under the GPLv2. 8 7 */ 9 8 #include <linux/debugfs.h> 10 9 #include <linux/uaccess.h>
+1 -2
arch/x86/kernel/ksysfs.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Architecture specific sysfs attributes in /sys/kernel 3 4 * ··· 6 5 * Huang Ying <ying.huang@intel.com> 7 6 * Copyright (C) 2013, 2013 Red Hat, Inc. 8 7 * Dave Young <dyoung@redhat.com> 9 - * 10 - * This file is released under the GPLv2 11 8 */ 12 9 13 10 #include <linux/kobject.h>
+1 -2
drivers/acpi/glue.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Link physical devices with ACPI devices support 3 4 * 4 5 * Copyright (c) 2005 David Shaohua Li <shaohua.li@intel.com> 5 6 * Copyright (c) 2005 Intel Corp. 6 - * 7 - * This file is released under the GPLv2. 8 7 */ 9 8 10 9 #include <linux/acpi_iort.h>
+1 -2
drivers/acpi/nvs.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * nvs.c - Routines for saving and restoring ACPI NVS memory region 3 4 * 4 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 8 #include <linux/io.h>
+1 -3
drivers/acpi/sleep.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * sleep.c - ACPI sleep support. 3 4 * ··· 6 5 * Copyright (c) 2004 David Shaohua Li <shaohua.li@intel.com> 7 6 * Copyright (c) 2000-2003 Patrick Mochel 8 7 * Copyright (c) 2003 Open Source Development Lab 9 - * 10 - * This file is released under the GPLv2. 11 - * 12 8 */ 13 9 14 10 #include <linux/delay.h>
+1 -2
drivers/ata/libata-pmp.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * libata-pmp.c - libata port multiplier support 3 4 * 4 5 * Copyright (c) 2007 SUSE Linux Products GmbH 5 6 * Copyright (c) 2007 Tejun Heo <teheo@suse.de> 6 - * 7 - * This file is released under the GPLv2. 8 7 */ 9 8 10 9 #include <linux/kernel.h>
+1 -2
drivers/cpuidle/poll_state.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * poll_state.c - Polling idle state 3 - * 4 - * This file is released under the GPLv2. 5 4 */ 6 5 7 6 #include <linux/cpuidle.h>
+1 -2
drivers/firmware/efi/efi.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * efi.c - EFI subsystem 3 4 * ··· 10 9 * allowing the efivarfs to be mounted or the efivars module to be loaded. 11 10 * The existance of /sys/firmware/efi may also be used by userspace to 12 11 * determine that the system supports EFI. 13 - * 14 - * This file is released under the GPLv2. 15 12 */ 16 13 17 14 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+1 -2
drivers/firmware/efi/runtime-wrappers.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * runtime-wrappers.c - Runtime Services function call wrappers 3 4 * ··· 20 19 * Copyright (C) 1999-2002 Hewlett-Packard Co. 21 20 * Copyright (C) 2005-2008 Intel Co. 22 21 * Copyright (C) 2013 SuSE Labs 23 - * 24 - * This file is released under the GPLv2. 25 22 */ 26 23 27 24 #define pr_fmt(fmt) "efi: " fmt
+1 -3
drivers/gpu/drm/drm_sysfs.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 2 3 /* 3 4 * drm_sysfs.c - Modifications to drm_sysfs_class.c to support ··· 8 7 * Copyright (c) 2004 Jon Smirl <jonsmirl@gmail.com> 9 8 * Copyright (c) 2003-2004 Greg Kroah-Hartman <greg@kroah.com> 10 9 * Copyright (c) 2003-2004 IBM Corp. 11 - * 12 - * This file is released under the GPLv2 13 - * 14 10 */ 15 11 16 12 #include <linux/device.h>
+1 -3
drivers/gpu/drm/i915/selftests/lib_sw_fence.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * lib_sw_fence.h - library routines for testing N:M synchronisation points 3 4 * 4 5 * Copyright (C) 2017 Intel Corporation 5 - * 6 - * This file is released under the GPLv2. 7 - * 8 6 */ 9 7 10 8 #ifndef _LIB_SW_FENCE_H_
+1 -1
drivers/hwmon/asus_atk0110.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (C) 2007-2009 Luca Tettamanti <kronos.it@gmail.com> 3 4 * 4 - * This file is released under the GPLv2 5 5 * See COPYING in the top level directory of the kernel tree. 6 6 */ 7 7
+1 -2
drivers/i2c/busses/i2c-ali1563.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /** 2 3 * i2c-ali1563.c - i2c driver for the ALi 1563 Southbridge 3 4 * ··· 13 12 * 14 13 * This driver is based on a mix of the 15x3, 1535, and i801 drivers, 15 14 * with a little help from the ALi 1563 spec. 16 - * 17 - * This file is released under the GPLv2 18 15 */ 19 16 20 17 #include <linux/module.h>
+1 -2
drivers/md/dm-verity-target.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (C) 2012 Red Hat, Inc. 3 4 * 4 5 * Author: Mikulas Patocka <mpatocka@redhat.com> 5 6 * 6 7 * Based on Chromium dm-verity driver (C) 2011 The Chromium OS Authors 7 - * 8 - * This file is released under the GPLv2. 9 8 * 10 9 * In the file "/sys/module/dm_verity/parameters/prefetch_cluster" you can set 11 10 * default prefetch value. Data are read in "prefetch_cluster" chunks from the
+1 -2
drivers/md/dm-verity.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Copyright (C) 2012 Red Hat, Inc. 3 4 * Copyright (C) 2015 Google, Inc. ··· 6 5 * Author: Mikulas Patocka <mpatocka@redhat.com> 7 6 * 8 7 * Based on Chromium dm-verity driver (C) 2011 The Chromium OS Authors 9 - * 10 - * This file is released under the GPLv2. 11 8 */ 12 9 13 10 #ifndef DM_VERITY_H
+1 -2
drivers/of/of_mdio.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * OF helpers for the MDIO (Ethernet PHY) API 3 4 * 4 5 * Copyright (c) 2009 Secret Lab Technologies, Ltd. 5 - * 6 - * This file is released under the GPLv2 7 6 * 8 7 * This file provides helper functions for extracting PHY device information 9 8 * out of the OpenFirmware device tree and using it to populate an mii_bus.
+1 -2
drivers/of/of_net.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * OF helpers for network devices. 3 - * 4 - * This file is released under the GPLv2 5 4 * 6 5 * Initially copied out of arch/powerpc/kernel/prom_parse.c 7 6 */
+1 -2
drivers/scsi/scsi_logging.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * scsi_logging.c 3 4 * 4 5 * Copyright (C) 2014 SUSE Linux Products GmbH 5 6 * Copyright (C) 2014 Hannes Reinecke <hare@suse.de> 6 - * 7 - * This file is released under the GPLv2 8 7 */ 9 8 10 9 #include <linux/kernel.h>
+1 -2
drivers/spi/spi-mpc52xx.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * MPC52xx SPI bus driver. 3 4 * 4 5 * Copyright (C) 2008 Secret Lab Technologies Ltd. 5 - * 6 - * This file is released under the GPLv2 7 6 * 8 7 * This is the driver for the MPC5200's dedicated SPI controller. 9 8 *
+1 -2
drivers/video/display_timing.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * generic display timing functions 3 4 * 4 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 8 #include <linux/export.h>
+1 -2
drivers/video/of_display_timing.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * OF helpers for parsing display timings 3 4 * 4 5 * Copyright (c) 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix 5 6 * 6 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 9 #include <linux/export.h> 11 10 #include <linux/of.h>
+1 -2
drivers/video/of_videomode.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * generic videomode helper 3 4 * 4 5 * Copyright (c) 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de>, Pengutronix 5 - * 6 - * This file is released under the GPLv2 7 6 */ 8 7 #include <linux/errno.h> 9 8 #include <linux/export.h>
+1 -2
drivers/video/videomode.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * generic display timing functions 3 4 * 4 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 8 #include <linux/errno.h>
+1 -2
fs/fuse/cuse.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * CUSE: Character device in Userspace 3 4 * 4 5 * Copyright (C) 2008-2009 SUSE Linux Products GmbH 5 6 * Copyright (C) 2008-2009 Tejun Heo <tj@kernel.org> 6 - * 7 - * This file is released under the GPLv2. 8 7 * 9 8 * CUSE enables character devices to be implemented from userland much 10 9 * like FUSE allows filesystems. On initialization /dev/cuse is
+1 -2
fs/kernfs/dir.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * fs/kernfs/dir.c - kernfs directory implementation 3 4 * 4 5 * Copyright (c) 2001-3 Patrick Mochel 5 6 * Copyright (c) 2007 SUSE Linux Products GmbH 6 7 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org> 7 - * 8 - * This file is released under the GPLv2. 9 8 */ 10 9 11 10 #include <linux/sched.h>
+1 -2
fs/kernfs/file.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * fs/kernfs/file.c - kernfs file implementation 3 4 * 4 5 * Copyright (c) 2001-3 Patrick Mochel 5 6 * Copyright (c) 2007 SUSE Linux Products GmbH 6 7 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org> 7 - * 8 - * This file is released under the GPLv2. 9 8 */ 10 9 11 10 #include <linux/fs.h>
+1 -2
fs/kernfs/inode.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * fs/kernfs/inode.c - kernfs inode implementation 3 4 * 4 5 * Copyright (c) 2001-3 Patrick Mochel 5 6 * Copyright (c) 2007 SUSE Linux Products GmbH 6 7 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org> 7 - * 8 - * This file is released under the GPLv2. 9 8 */ 10 9 11 10 #include <linux/pagemap.h>
+1 -2
fs/kernfs/kernfs-internal.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * fs/kernfs/kernfs-internal.h - kernfs internal header file 3 4 * 4 5 * Copyright (c) 2001-3 Patrick Mochel 5 6 * Copyright (c) 2007 SUSE Linux Products GmbH 6 7 * Copyright (c) 2007, 2013 Tejun Heo <teheo@suse.de> 7 - * 8 - * This file is released under the GPLv2. 9 8 */ 10 9 11 10 #ifndef __KERNFS_INTERNAL_H
+1 -2
fs/kernfs/mount.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * fs/kernfs/mount.c - kernfs mount implementation 3 4 * 4 5 * Copyright (c) 2001-3 Patrick Mochel 5 6 * Copyright (c) 2007 SUSE Linux Products GmbH 6 7 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org> 7 - * 8 - * This file is released under the GPLv2. 9 8 */ 10 9 11 10 #include <linux/fs.h>
+1 -2
fs/kernfs/symlink.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * fs/kernfs/symlink.c - kernfs symlink implementation 3 4 * 4 5 * Copyright (c) 2001-3 Patrick Mochel 5 6 * Copyright (c) 2007 SUSE Linux Products GmbH 6 7 * Copyright (c) 2007, 2013 Tejun Heo <tj@kernel.org> 7 - * 8 - * This file is released under the GPLv2. 9 8 */ 10 9 11 10 #include <linux/fs.h>
+1 -2
include/acpi/hed.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * hed.h - ACPI Hardware Error Device 3 4 * 4 5 * Copyright (C) 2009, Intel Corp. 5 6 * Author: Huang Ying <ying.huang@intel.com> 6 - * 7 - * This file is released under the GPLv2. 8 7 */ 9 8 10 9 #ifndef ACPI_HED_H
+1 -2
include/asm-generic/device.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Arch specific extensions to struct device 3 - * 4 - * This file is released under the GPLv2 5 4 */ 6 5 #ifndef _ASM_GENERIC_DEVICE_H 7 6 #define _ASM_GENERIC_DEVICE_H
+1 -3
include/linux/iova.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Copyright (c) 2006, Intel Corporation. 3 4 * 4 - * This file is released under the GPLv2. 5 - * 6 5 * Copyright (C) 2006-2008 Intel Corporation 7 6 * Author: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com> 8 - * 9 7 */ 10 8 11 9 #ifndef _IOVA_H_
+1 -2
include/linux/kernfs.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * kernfs.h - pseudo filesystem decoupled from vfs locking 3 - * 4 - * This file is released under the GPLv2. 5 4 */ 6 5 7 6 #ifndef __LINUX_KERNFS_H
+1 -3
include/linux/kref.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * kref.h - library routines for handling generic reference counted objects 3 4 * ··· 8 7 * based on kobject.h which was: 9 8 * Copyright (C) 2002-2003 Patrick Mochel <mochel@osdl.org> 10 9 * Copyright (C) 2002-2003 Open Source Development Labs 11 - * 12 - * This file is released under the GPLv2. 13 - * 14 10 */ 15 11 16 12 #ifndef _KREF_H_
+1 -2
include/linux/of_mdio.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * OF helpers for the MDIO (Ethernet PHY) API 3 4 * 4 5 * Copyright (c) 2009 Secret Lab Technologies, Ltd. 5 - * 6 - * This file is released under the GPLv2 7 6 */ 8 7 9 8 #ifndef __LINUX_OF_MDIO_H
+1 -2
include/linux/of_net.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * OF helpers for network devices. 3 - * 4 - * This file is released under the GPLv2 5 4 */ 6 5 7 6 #ifndef __LINUX_OF_NET_H
+1 -2
include/linux/platform_data/i2c-imx.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * i2c.h - i.MX I2C driver header file 3 4 * 4 5 * Copyright (c) 2008, Darius Augulis <augulis.darius@gmail.com> 5 - * 6 - * This file is released under the GPLv2 7 6 */ 8 7 9 8 #ifndef __ASM_ARCH_I2C_H_
+1 -2
include/linux/platform_device.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * platform_device.h - generic, centralized driver model 3 4 * 4 5 * Copyright (c) 2001-2003 Patrick Mochel <mochel@osdl.org> 5 - * 6 - * This file is released under the GPLv2 7 6 * 8 7 * See Documentation/driver-model/ for more information. 9 8 */
+1 -2
include/linux/pm_clock.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * pm_clock.h - Definitions and headers related to device clocks. 3 4 * 4 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 8 #ifndef _LINUX_PM_CLOCK_H
+1 -2
include/linux/pm_domain.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * pm_domain.h - Definitions and headers related to device power domains. 3 4 * 4 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 8 #ifndef _LINUX_PM_DOMAIN_H
+1 -2
include/linux/pm_runtime.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * pm_runtime.h - Device run-time power management helper functions. 3 4 * 4 5 * Copyright (C) 2009 Rafael J. Wysocki <rjw@sisk.pl> 5 - * 6 - * This file is released under the GPLv2. 7 6 */ 8 7 9 8 #ifndef _LINUX_PM_RUNTIME_H
+1 -2
include/linux/stmp3xxx_rtc_wdt.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * stmp3xxx_rtc_wdt.h 3 4 * 4 5 * Copyright (C) 2011 Wolfram Sang, Pengutronix e.K. 5 - * 6 - * This file is released under the GPLv2. 7 6 */ 8 7 #ifndef __LINUX_STMP3XXX_RTC_WDT_H 9 8 #define __LINUX_STMP3XXX_RTC_WDT_H
+1 -2
include/linux/syscore_ops.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * syscore_ops.h - System core operations. 3 4 * 4 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 8 #ifndef _LINUX_SYSCORE_OPS_H
+1 -2
include/linux/uwb/umc.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * UWB Multi-interface Controller support. 3 4 * 4 5 * Copyright (C) 2007 Cambridge Silicon Radio Ltd. 5 - * 6 - * This file is released under the GPLv2 7 6 * 8 7 * UMC (UWB Multi-interface Controller) capabilities (e.g., radio 9 8 * controller, host controller) are presented as devices on the "umc"
+1 -2
include/video/display_timing.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de> 3 4 * 4 5 * description of display timings 5 - * 6 - * This file is released under the GPLv2 7 6 */ 8 7 9 8 #ifndef __LINUX_DISPLAY_TIMING_H
+1 -2
include/video/of_display_timing.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de> 3 4 * 4 5 * display timings of helpers 5 - * 6 - * This file is released under the GPLv2 7 6 */ 8 7 9 8 #ifndef __LINUX_OF_DISPLAY_TIMING_H
+1 -2
include/video/of_videomode.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de> 3 4 * 4 5 * videomode of-helpers 5 - * 6 - * This file is released under the GPLv2 7 6 */ 8 7 9 8 #ifndef __LINUX_OF_VIDEOMODE_H
+1 -2
include/video/videomode.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Copyright 2012 Steffen Trumtrar <s.trumtrar@pengutronix.de> 3 4 * 4 5 * generic videomode description 5 - * 6 - * This file is released under the GPLv2 7 6 */ 8 7 9 8 #ifndef __LINUX_VIDEOMODE_H
+1 -2
kernel/power/hibernate.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * kernel/power/hibernate.c - Hibernation (a.k.a suspend-to-disk) support. 3 4 * ··· 7 6 * Copyright (c) 2004 Pavel Machek <pavel@ucw.cz> 8 7 * Copyright (c) 2009 Rafael J. Wysocki, Novell Inc. 9 8 * Copyright (C) 2012 Bojan Smojver <bojan@rexursive.com> 10 - * 11 - * This file is released under the GPLv2. 12 9 */ 13 10 14 11 #define pr_fmt(fmt) "PM: " fmt
+1 -3
kernel/power/main.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * kernel/power/main.c - PM subsystem core functionality. 3 4 * 4 5 * Copyright (c) 2003 Patrick Mochel 5 6 * Copyright (c) 2003 Open Source Development Lab 6 - * 7 - * This file is released under the GPLv2 8 - * 9 7 */ 10 8 11 9 #include <linux/export.h>
+1 -3
kernel/power/snapshot.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * linux/kernel/power/snapshot.c 3 4 * ··· 6 5 * 7 6 * Copyright (C) 1998-2005 Pavel Machek <pavel@ucw.cz> 8 7 * Copyright (C) 2006 Rafael J. Wysocki <rjw@sisk.pl> 9 - * 10 - * This file is released under the GPLv2. 11 - * 12 8 */ 13 9 14 10 #define pr_fmt(fmt) "PM: " fmt
+1 -2
kernel/power/suspend.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * kernel/power/suspend.c - Suspend to RAM and standby functionality. 3 4 * 4 5 * Copyright (c) 2003 Patrick Mochel 5 6 * Copyright (c) 2003 Open Source Development Lab 6 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 10 #define pr_fmt(fmt) "PM: " fmt
+1 -2
kernel/power/suspend_test.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * kernel/power/suspend_test.c - Suspend to RAM and standby test facility. 3 4 * 4 5 * Copyright (c) 2009 Pavel Machek <pavel@ucw.cz> 5 - * 6 - * This file is released under the GPLv2. 7 6 */ 8 7 9 8 #include <linux/init.h>
+1 -3
kernel/power/swap.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * linux/kernel/power/swap.c 3 4 * ··· 8 7 * Copyright (C) 1998,2001-2005 Pavel Machek <pavel@ucw.cz> 9 8 * Copyright (C) 2006 Rafael J. Wysocki <rjw@sisk.pl> 10 9 * Copyright (C) 2010-2012 Bojan Smojver <bojan@rexursive.com> 11 - * 12 - * This file is released under the GPLv2. 13 - * 14 10 */ 15 11 16 12 #define pr_fmt(fmt) "PM: " fmt
+1 -3
kernel/power/user.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * linux/kernel/power/user.c 3 4 * 4 5 * This file provides the user space interface for software suspend/resume. 5 6 * 6 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 10 #include <linux/suspend.h>
+1 -2
lib/ratelimit.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * ratelimit.c - Do something with rate limit. 3 4 * ··· 6 5 * 7 6 * 2008-05-01 rewrite the function and use a ratelimit_state data struct as 8 7 * parameter. Now every user can use their own standalone ratelimit_state. 9 - * 10 - * This file is released under the GPLv2. 11 8 */ 12 9 13 10 #include <linux/ratelimit.h>
+1 -2
mm/percpu-km.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * mm/percpu-km.c - kernel memory based chunk allocation 3 4 * 4 5 * Copyright (C) 2010 SUSE Linux Products GmbH 5 6 * Copyright (C) 2010 Tejun Heo <tj@kernel.org> 6 - * 7 - * This file is released under the GPLv2. 8 7 * 9 8 * Chunks are allocated as a contiguous kernel memory using gfp 10 9 * allocation. This is to be used on nommu architectures.
+1 -2
mm/percpu-stats.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * mm/percpu-debug.c 3 4 * 4 5 * Copyright (C) 2017 Facebook Inc. 5 6 * Copyright (C) 2017 Dennis Zhou <dennisz@fb.com> 6 - * 7 - * This file is released under the GPLv2. 8 7 * 9 8 * Prints statistics about the percpu allocator and backing chunks. 10 9 */
+1 -2
mm/percpu-vm.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * mm/percpu-vm.c - vmalloc area based chunk allocation 3 4 * 4 5 * Copyright (C) 2010 SUSE Linux Products GmbH 5 6 * Copyright (C) 2010 Tejun Heo <tj@kernel.org> 6 - * 7 - * This file is released under the GPLv2. 8 7 * 9 8 * Chunks are mapped into vmalloc areas and populated page by page. 10 9 * This is the default chunk allocator.
+1 -2
mm/percpu.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * mm/percpu.c - percpu memory allocator 3 4 * ··· 7 6 * 8 7 * Copyright (C) 2017 Facebook Inc. 9 8 * Copyright (C) 2017 Dennis Zhou <dennisszhou@gmail.com> 10 - * 11 - * This file is released under the GPLv2 license. 12 9 * 13 10 * The percpu allocator handles both static and dynamic areas. Percpu 14 11 * areas are allocated in chunks which are divided into units. There is