Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 428
Browse files Browse the repository at this point in the history
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 <[email protected]>
Reviewed-by: Armijn Hemel <[email protected]>
Reviewed-by: Allison Randal <[email protected]>
Cc: [email protected]
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
KAGA-KOKO authored and gregkh committed Jun 5, 2019
1 parent 1623de8 commit 55716d2
Show file tree
Hide file tree
Showing 68 changed files with 68 additions and 144 deletions.
3 changes: 1 addition & 2 deletions arch/alpha/include/asm/device.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Arch specific extensions to struct device
*
* This file is released under the GPLv2
*/
#include <asm-generic/device.h>

3 changes: 1 addition & 2 deletions arch/arm/include/asm/device.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Arch specific extensions to struct device
*
* This file is released under the GPLv2
*/
#ifndef ASMARM_DEVICE_H
#define ASMARM_DEVICE_H
Expand Down
3 changes: 1 addition & 2 deletions arch/ia64/include/asm/device.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Arch specific extensions to struct device
*
* This file is released under the GPLv2
*/
#ifndef _ASM_IA64_DEVICE_H
#define _ASM_IA64_DEVICE_H
Expand Down
3 changes: 1 addition & 2 deletions arch/powerpc/include/asm/device.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Arch specific extensions to struct device
*
* This file is released under the GPLv2
*/
#ifndef _ASM_POWERPC_DEVICE_H
#define _ASM_POWERPC_DEVICE_H
Expand Down
3 changes: 1 addition & 2 deletions arch/powerpc/platforms/512x/mpc512x_lpbfifo.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* The driver for Freescale MPC512x LocalPlus Bus FIFO
* (called SCLPC in the Reference Manual).
*
* Copyright (C) 2013-2015 Alexander Popov <[email protected]>.
*
* This file is released under the GPLv2.
*/

#include <linux/interrupt.h>
Expand Down
3 changes: 1 addition & 2 deletions arch/powerpc/platforms/52xx/mpc52xx_lpbfifo.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* LocalPlus Bus FIFO driver for the Freescale MPC52xx.
*
* Copyright (C) 2009 Secret Lab Technologies Ltd.
*
* This file is released under the GPLv2
*
* Todo:
* - Add support for multiple requests to be queued.
*/
Expand Down
3 changes: 1 addition & 2 deletions arch/sparc/include/asm/device.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Arch specific extensions to struct device
*
* This file is released under the GPLv2
*/
#ifndef _ASM_SPARC_DEVICE_H
#define _ASM_SPARC_DEVICE_H
Expand Down
3 changes: 1 addition & 2 deletions arch/x86/kernel/kdebugfs.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Architecture specific debugfs files
*
* Copyright (C) 2007, Intel Corp.
* Huang Ying <[email protected]>
*
* This file is released under the GPLv2.
*/
#include <linux/debugfs.h>
#include <linux/uaccess.h>
Expand Down
3 changes: 1 addition & 2 deletions arch/x86/kernel/ksysfs.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Architecture specific sysfs attributes in /sys/kernel
*
* Copyright (C) 2007, Intel Corp.
* Huang Ying <[email protected]>
* Copyright (C) 2013, 2013 Red Hat, Inc.
* Dave Young <[email protected]>
*
* This file is released under the GPLv2
*/

#include <linux/kobject.h>
Expand Down
3 changes: 1 addition & 2 deletions drivers/acpi/glue.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Link physical devices with ACPI devices support
*
* Copyright (c) 2005 David Shaohua Li <[email protected]>
* Copyright (c) 2005 Intel Corp.
*
* This file is released under the GPLv2.
*/

#include <linux/acpi_iort.h>
Expand Down
3 changes: 1 addition & 2 deletions drivers/acpi/nvs.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* nvs.c - Routines for saving and restoring ACPI NVS memory region
*
* Copyright (C) 2008-2011 Rafael J. Wysocki <[email protected]>, Novell Inc.
*
* This file is released under the GPLv2.
*/

#include <linux/io.h>
Expand Down
4 changes: 1 addition & 3 deletions drivers/acpi/sleep.c
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* sleep.c - ACPI sleep support.
*
* Copyright (c) 2005 Alexey Starikovskiy <[email protected]>
* Copyright (c) 2004 David Shaohua Li <[email protected]>
* Copyright (c) 2000-2003 Patrick Mochel
* Copyright (c) 2003 Open Source Development Lab
*
* This file is released under the GPLv2.
*
*/

#include <linux/delay.h>
Expand Down
3 changes: 1 addition & 2 deletions drivers/ata/libata-pmp.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* libata-pmp.c - libata port multiplier support
*
* Copyright (c) 2007 SUSE Linux Products GmbH
* Copyright (c) 2007 Tejun Heo <[email protected]>
*
* This file is released under the GPLv2.
*/

#include <linux/kernel.h>
Expand Down
3 changes: 1 addition & 2 deletions drivers/cpuidle/poll_state.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* poll_state.c - Polling idle state
*
* This file is released under the GPLv2.
*/

#include <linux/cpuidle.h>
Expand Down
3 changes: 1 addition & 2 deletions drivers/firmware/efi/efi.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* efi.c - EFI subsystem
*
Expand All @@ -9,8 +10,6 @@
* allowing the efivarfs to be mounted or the efivars module to be loaded.
* The existance of /sys/firmware/efi may also be used by userspace to
* determine that the system supports EFI.
*
* This file is released under the GPLv2.
*/

#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
Expand Down
3 changes: 1 addition & 2 deletions drivers/firmware/efi/runtime-wrappers.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* runtime-wrappers.c - Runtime Services function call wrappers
*
Expand All @@ -19,8 +20,6 @@
* Copyright (C) 1999-2002 Hewlett-Packard Co.
* Copyright (C) 2005-2008 Intel Co.
* Copyright (C) 2013 SuSE Labs
*
* This file is released under the GPLv2.
*/

#define pr_fmt(fmt) "efi: " fmt
Expand Down
4 changes: 1 addition & 3 deletions drivers/gpu/drm/drm_sysfs.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only

/*
* drm_sysfs.c - Modifications to drm_sysfs_class.c to support
Expand All @@ -7,9 +8,6 @@
* Copyright (c) 2004 Jon Smirl <[email protected]>
* Copyright (c) 2003-2004 Greg Kroah-Hartman <[email protected]>
* Copyright (c) 2003-2004 IBM Corp.
*
* This file is released under the GPLv2
*
*/

#include <linux/device.h>
Expand Down
4 changes: 1 addition & 3 deletions drivers/gpu/drm/i915/selftests/lib_sw_fence.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* lib_sw_fence.h - library routines for testing N:M synchronisation points
*
* Copyright (C) 2017 Intel Corporation
*
* This file is released under the GPLv2.
*
*/

#ifndef _LIB_SW_FENCE_H_
Expand Down
2 changes: 1 addition & 1 deletion drivers/hwmon/asus_atk0110.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2007-2009 Luca Tettamanti <[email protected]>
*
* This file is released under the GPLv2
* See COPYING in the top level directory of the kernel tree.
*/

Expand Down
3 changes: 1 addition & 2 deletions drivers/i2c/busses/i2c-ali1563.c
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// SPDX-License-Identifier: GPL-2.0-only
/**
* i2c-ali1563.c - i2c driver for the ALi 1563 Southbridge
*
Expand All @@ -12,8 +13,6 @@
*
* This driver is based on a mix of the 15x3, 1535, and i801 drivers,
* with a little help from the ALi 1563 spec.
*
* This file is released under the GPLv2
*/

#include <linux/module.h>
Expand Down
3 changes: 1 addition & 2 deletions drivers/md/dm-verity-target.c
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Copyright (C) 2012 Red Hat, Inc.
*
* Author: Mikulas Patocka <[email protected]>
*
* Based on Chromium dm-verity driver (C) 2011 The Chromium OS Authors
*
* This file is released under the GPLv2.
*
* In the file "/sys/module/dm_verity/parameters/prefetch_cluster" you can set
* default prefetch value. Data are read in "prefetch_cluster" chunks from the
* hash device. Setting this greatly improves performance when data and hash
Expand Down
3 changes: 1 addition & 2 deletions drivers/md/dm-verity.h
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2012 Red Hat, Inc.
* Copyright (C) 2015 Google, Inc.
*
* Author: Mikulas Patocka <[email protected]>
*
* Based on Chromium dm-verity driver (C) 2011 The Chromium OS Authors
*
* This file is released under the GPLv2.
*/

#ifndef DM_VERITY_H
Expand Down
3 changes: 1 addition & 2 deletions drivers/of/of_mdio.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* OF helpers for the MDIO (Ethernet PHY) API
*
* Copyright (c) 2009 Secret Lab Technologies, Ltd.
*
* This file is released under the GPLv2
*
* This file provides helper functions for extracting PHY device information
* out of the OpenFirmware device tree and using it to populate an mii_bus.
*/
Expand Down
3 changes: 1 addition & 2 deletions drivers/of/of_net.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* OF helpers for network devices.
*
* This file is released under the GPLv2
*
* Initially copied out of arch/powerpc/kernel/prom_parse.c
*/
#include <linux/etherdevice.h>
Expand Down
3 changes: 1 addition & 2 deletions drivers/scsi/scsi_logging.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* scsi_logging.c
*
* Copyright (C) 2014 SUSE Linux Products GmbH
* Copyright (C) 2014 Hannes Reinecke <[email protected]>
*
* This file is released under the GPLv2
*/

#include <linux/kernel.h>
Expand Down
3 changes: 1 addition & 2 deletions drivers/spi/spi-mpc52xx.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* MPC52xx SPI bus driver.
*
* Copyright (C) 2008 Secret Lab Technologies Ltd.
*
* This file is released under the GPLv2
*
* This is the driver for the MPC5200's dedicated SPI controller.
*
* Note: this driver does not support the MPC5200 PSC in SPI mode. For
Expand Down
3 changes: 1 addition & 2 deletions drivers/video/display_timing.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* generic display timing functions
*
* Copyright (c) 2012 Steffen Trumtrar <[email protected]>, Pengutronix
*
* This file is released under the GPLv2
*/

#include <linux/export.h>
Expand Down
3 changes: 1 addition & 2 deletions drivers/video/of_display_timing.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* OF helpers for parsing display timings
*
* Copyright (c) 2012 Steffen Trumtrar <[email protected]>, Pengutronix
*
* based on of_videomode.c by Sascha Hauer <[email protected]>
*
* This file is released under the GPLv2
*/
#include <linux/export.h>
#include <linux/of.h>
Expand Down
3 changes: 1 addition & 2 deletions drivers/video/of_videomode.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* generic videomode helper
*
* Copyright (c) 2012 Steffen Trumtrar <[email protected]>, Pengutronix
*
* This file is released under the GPLv2
*/
#include <linux/errno.h>
#include <linux/export.h>
Expand Down
3 changes: 1 addition & 2 deletions drivers/video/videomode.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* generic display timing functions
*
* Copyright (c) 2012 Steffen Trumtrar <[email protected]>, Pengutronix
*
* This file is released under the GPLv2
*/

#include <linux/errno.h>
Expand Down
3 changes: 1 addition & 2 deletions fs/fuse/cuse.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* CUSE: Character device in Userspace
*
* Copyright (C) 2008-2009 SUSE Linux Products GmbH
* Copyright (C) 2008-2009 Tejun Heo <[email protected]>
*
* This file is released under the GPLv2.
*
* CUSE enables character devices to be implemented from userland much
* like FUSE allows filesystems. On initialization /dev/cuse is
* created. By opening the file and replying to the CUSE_INIT request
Expand Down
3 changes: 1 addition & 2 deletions fs/kernfs/dir.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* fs/kernfs/dir.c - kernfs directory implementation
*
* Copyright (c) 2001-3 Patrick Mochel
* Copyright (c) 2007 SUSE Linux Products GmbH
* Copyright (c) 2007, 2013 Tejun Heo <[email protected]>
*
* This file is released under the GPLv2.
*/

#include <linux/sched.h>
Expand Down
3 changes: 1 addition & 2 deletions fs/kernfs/file.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* fs/kernfs/file.c - kernfs file implementation
*
* Copyright (c) 2001-3 Patrick Mochel
* Copyright (c) 2007 SUSE Linux Products GmbH
* Copyright (c) 2007, 2013 Tejun Heo <[email protected]>
*
* This file is released under the GPLv2.
*/

#include <linux/fs.h>
Expand Down
Loading

0 comments on commit 55716d2

Please sign in to comment.