summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gleixner <tglx@linutronix.de>2019-05-28 13:10:12 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-30 14:29:53 -0400
commit59bd9ded4d7803d9f1f4d947064693513d18e724 (patch)
tree5a9de1efa8ad3c8e9b43ced063714dfabe4c359a
parenteace21fa1e491382bc89142abbecaa51bc86a29f (diff)
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 209
Based on 1 normalized pattern(s): released under gpl v2 extracted by the scancode license scanner the SPDX license identifier GPL-2.0-only has been chosen to replace the boilerplate/reference in 15 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Steve Winslow <swinslow@gmail.com> 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/20190528171438.895196075@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--arch/mips/sgi-ip27/ip27-hubio.c2
-rw-r--r--arch/mips/sgi-ip27/ip27-xtalk.c2
-rw-r--r--drivers/ata/libata-transport.c2
-rw-r--r--drivers/ata/sata_inic162x.c3
-rw-r--r--drivers/scsi/scsi_sysctl.c2
-rw-r--r--drivers/scsi/scsi_transport_sas.c2
-rw-r--r--fs/fat/fatent.c2
-rw-r--r--fs/namespace.c2
-rw-r--r--fs/omfs/dir.c2
-rw-r--r--fs/omfs/file.c2
-rw-r--r--fs/omfs/inode.c2
-rw-r--r--fs/pnode.c3
-rw-r--r--fs/pnode.h3
-rwxr-xr-xscripts/export_report.pl2
-rw-r--r--tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c3
15 files changed, 15 insertions, 19 deletions
diff --git a/arch/mips/sgi-ip27/ip27-hubio.c b/arch/mips/sgi-ip27/ip27-hubio.c
index 68fb0cb89d9d..6ebb8845a77c 100644
--- a/arch/mips/sgi-ip27/ip27-hubio.c
+++ b/arch/mips/sgi-ip27/ip27-hubio.c
@@ -1,7 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 1992-1997, 2000-2003 Silicon Graphics, Inc. 3 * Copyright (C) 1992-1997, 2000-2003 Silicon Graphics, Inc.
3 * Copyright (C) 2004 Christoph Hellwig. 4 * Copyright (C) 2004 Christoph Hellwig.
4 * Released under GPL v2.
5 * 5 *
6 * Support functions for the HUB ASIC - mostly PIO mapping related. 6 * Support functions for the HUB ASIC - mostly PIO mapping related.
7 */ 7 */
diff --git a/arch/mips/sgi-ip27/ip27-xtalk.c b/arch/mips/sgi-ip27/ip27-xtalk.c
index bd5cb855c6e5..4a1f0b0c29e2 100644
--- a/arch/mips/sgi-ip27/ip27-xtalk.c
+++ b/arch/mips/sgi-ip27/ip27-xtalk.c
@@ -1,8 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 1999, 2000 Ralf Baechle (ralf@gnu.org) 3 * Copyright (C) 1999, 2000 Ralf Baechle (ralf@gnu.org)
3 * Copyright (C) 1999, 2000 Silcon Graphics, Inc. 4 * Copyright (C) 1999, 2000 Silcon Graphics, Inc.
4 * Copyright (C) 2004 Christoph Hellwig. 5 * Copyright (C) 2004 Christoph Hellwig.
5 * Released under GPL v2.
6 * 6 *
7 * Generic XTALK initialization code 7 * Generic XTALK initialization code
8 */ 8 */
diff --git a/drivers/ata/libata-transport.c b/drivers/ata/libata-transport.c
index a0b0b4d986f2..12a505bb9c5b 100644
--- a/drivers/ata/libata-transport.c
+++ b/drivers/ata/libata-transport.c
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright 2008 ioogle, Inc. All rights reserved. 3 * Copyright 2008 ioogle, Inc. All rights reserved.
3 * Released under GPL v2.
4 * 4 *
5 * Libata transport class. 5 * Libata transport class.
6 * 6 *
diff --git a/drivers/ata/sata_inic162x.c b/drivers/ata/sata_inic162x.c
index 174e84ce4379..790968497dfe 100644
--- a/drivers/ata/sata_inic162x.c
+++ b/drivers/ata/sata_inic162x.c
@@ -1,11 +1,10 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * sata_inic162x.c - Driver for Initio 162x SATA controllers 3 * sata_inic162x.c - Driver for Initio 162x SATA controllers
3 * 4 *
4 * Copyright 2006 SUSE Linux Products GmbH 5 * Copyright 2006 SUSE Linux Products GmbH
5 * Copyright 2006 Tejun Heo <teheo@novell.com> 6 * Copyright 2006 Tejun Heo <teheo@novell.com>
6 * 7 *
7 * This file is released under GPL v2.
8 *
9 * **** WARNING **** 8 * **** WARNING ****
10 * 9 *
11 * This driver never worked properly and unfortunately data corruption is 10 * This driver never worked properly and unfortunately data corruption is
diff --git a/drivers/scsi/scsi_sysctl.c b/drivers/scsi/scsi_sysctl.c
index 546f16299ef9..7259704a7f52 100644
--- a/drivers/scsi/scsi_sysctl.c
+++ b/drivers/scsi/scsi_sysctl.c
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2003 Christoph Hellwig. 3 * Copyright (C) 2003 Christoph Hellwig.
3 * Released under GPL v2.
4 */ 4 */
5 5
6#include <linux/errno.h> 6#include <linux/errno.h>
diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c
index 60f1a81d2034..ef138c57e2a6 100644
--- a/drivers/scsi/scsi_transport_sas.c
+++ b/drivers/scsi/scsi_transport_sas.c
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2005-2006 Dell Inc. 3 * Copyright (C) 2005-2006 Dell Inc.
3 * Released under GPL v2.
4 * 4 *
5 * Serial Attached SCSI (SAS) transport class. 5 * Serial Attached SCSI (SAS) transport class.
6 * 6 *
diff --git a/fs/fat/fatent.c b/fs/fat/fatent.c
index 495edeafd60a..265983635f2b 100644
--- a/fs/fat/fatent.c
+++ b/fs/fat/fatent.c
@@ -1,6 +1,6 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Copyright (C) 2004, OGAWA Hirofumi 3 * Copyright (C) 2004, OGAWA Hirofumi
3 * Released under GPL v2.
4 */ 4 */
5 5
6#include <linux/blkdev.h> 6#include <linux/blkdev.h>
diff --git a/fs/namespace.c b/fs/namespace.c
index ffb13f0562b0..b26778bdc236 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -1,8 +1,8 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/fs/namespace.c 3 * linux/fs/namespace.c
3 * 4 *
4 * (C) Copyright Al Viro 2000, 2001 5 * (C) Copyright Al Viro 2000, 2001
5 * Released under GPL v2.
6 * 6 *
7 * Based on code from fs/super.c, copyright Linus Torvalds and others. 7 * Based on code from fs/super.c, copyright Linus Torvalds and others.
8 * Heavily rewritten. 8 * Heavily rewritten.
diff --git a/fs/omfs/dir.c b/fs/omfs/dir.c
index 4bee3a72b9f3..a0f45651f3b7 100644
--- a/fs/omfs/dir.c
+++ b/fs/omfs/dir.c
@@ -1,7 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * OMFS (as used by RIO Karma) directory operations. 3 * OMFS (as used by RIO Karma) directory operations.
3 * Copyright (C) 2005 Bob Copeland <me@bobcopeland.com> 4 * Copyright (C) 2005 Bob Copeland <me@bobcopeland.com>
4 * Released under GPL v2.
5 */ 5 */
6 6
7#include <linux/fs.h> 7#include <linux/fs.h>
diff --git a/fs/omfs/file.c b/fs/omfs/file.c
index bf83e6644333..d640b9388238 100644
--- a/fs/omfs/file.c
+++ b/fs/omfs/file.c
@@ -1,7 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * OMFS (as used by RIO Karma) file operations. 3 * OMFS (as used by RIO Karma) file operations.
3 * Copyright (C) 2005 Bob Copeland <me@bobcopeland.com> 4 * Copyright (C) 2005 Bob Copeland <me@bobcopeland.com>
4 * Released under GPL v2.
5 */ 5 */
6 6
7#include <linux/module.h> 7#include <linux/module.h>
diff --git a/fs/omfs/inode.c b/fs/omfs/inode.c
index ee14af9e26f2..08226a835ec3 100644
--- a/fs/omfs/inode.c
+++ b/fs/omfs/inode.c
@@ -1,7 +1,7 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * Optimized MPEG FS - inode and super operations. 3 * Optimized MPEG FS - inode and super operations.
3 * Copyright (C) 2006 Bob Copeland <me@bobcopeland.com> 4 * Copyright (C) 2006 Bob Copeland <me@bobcopeland.com>
4 * Released under GPL v2.
5 */ 5 */
6#include <linux/module.h> 6#include <linux/module.h>
7#include <linux/sched.h> 7#include <linux/sched.h>
diff --git a/fs/pnode.c b/fs/pnode.c
index 7ea6cfb65077..595857a1883e 100644
--- a/fs/pnode.c
+++ b/fs/pnode.c
@@ -1,10 +1,9 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * linux/fs/pnode.c 3 * linux/fs/pnode.c
3 * 4 *
4 * (C) Copyright IBM Corporation 2005. 5 * (C) Copyright IBM Corporation 2005.
5 * Released under GPL v2.
6 * Author : Ram Pai (linuxram@us.ibm.com) 6 * Author : Ram Pai (linuxram@us.ibm.com)
7 *
8 */ 7 */
9#include <linux/mnt_namespace.h> 8#include <linux/mnt_namespace.h>
10#include <linux/mount.h> 9#include <linux/mount.h>
diff --git a/fs/pnode.h b/fs/pnode.h
index 3960a83666cf..49a058c73e4c 100644
--- a/fs/pnode.h
+++ b/fs/pnode.h
@@ -1,9 +1,8 @@
1/* SPDX-License-Identifier: GPL-2.0-only */
1/* 2/*
2 * linux/fs/pnode.h 3 * linux/fs/pnode.h
3 * 4 *
4 * (C) Copyright IBM Corporation 2005. 5 * (C) Copyright IBM Corporation 2005.
5 * Released under GPL v2.
6 *
7 */ 6 */
8#ifndef _LINUX_PNODE_H 7#ifndef _LINUX_PNODE_H
9#define _LINUX_PNODE_H 8#define _LINUX_PNODE_H
diff --git a/scripts/export_report.pl b/scripts/export_report.pl
index 68ff426b347c..0f604f62f067 100755
--- a/scripts/export_report.pl
+++ b/scripts/export_report.pl
@@ -1,7 +1,7 @@
1#!/usr/bin/env perl 1#!/usr/bin/env perl
2# SPDX-License-Identifier: GPL-2.0-only
2# 3#
3# (C) Copyright IBM Corporation 2006. 4# (C) Copyright IBM Corporation 2006.
4# Released under GPL v2.
5# Author : Ram Pai (linuxram@us.ibm.com) 5# Author : Ram Pai (linuxram@us.ibm.com)
6# 6#
7# Usage: export_report.pl -k Module.symvers [-o report_file ] -f *.mod.c 7# Usage: export_report.pl -k Module.symvers [-o report_file ] -f *.mod.c
diff --git a/tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c b/tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
index 65bbe627a425..34a796b303fe 100644
--- a/tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
+++ b/tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c
@@ -1,3 +1,4 @@
1// SPDX-License-Identifier: GPL-2.0-only
1/* 2/*
2 * x86_energy_perf_policy -- set the energy versus performance 3 * x86_energy_perf_policy -- set the energy versus performance
3 * policy preference bias on recent X86 processors. 4 * policy preference bias on recent X86 processors.
@@ -5,8 +6,6 @@
5/* 6/*
6 * Copyright (c) 2010 - 2017 Intel Corporation. 7 * Copyright (c) 2010 - 2017 Intel Corporation.
7 * Len Brown <len.brown@intel.com> 8 * Len Brown <len.brown@intel.com>
8 *
9 * This program is released under GPL v2
10 */ 9 */
11 10
12#define _GNU_SOURCE 11#define _GNU_SOURCE