Skip to content

Commit

Permalink
treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 166
Browse files Browse the repository at this point in the history
Based on 1 normalized pattern(s):

  licensed under the terms of the gnu gpl license version 2

extracted by the scancode license scanner the SPDX license identifier

  GPL-2.0-only

has been chosen to replace the boilerplate/reference in 62 file(s).

Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Allison Randal <[email protected]>
Reviewed-by: Kate Stewart <[email protected]>
Reviewed-by: Richard Fontana <[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 May 30, 2019
1 parent 4a27fd1 commit 4f19048
Show file tree
Hide file tree
Showing 52 changed files with 52 additions and 98 deletions.
2 changes: 1 addition & 1 deletion drivers/cpufreq/cpufreq-nforce2.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2004-2006 Sebastian Witt <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
* Based upon reverse engineered information
*
* BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*
Expand Down
3 changes: 1 addition & 2 deletions drivers/cpufreq/e_powersaver.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Based on documentation provided by Dave Jones. Thanks!
*
* Licensed under the terms of the GNU GPL License version 2.
*
* BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/cpufreq/longhaul.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2001-2004 Dave Jones.
* (C) 2002 Padraig Brady. <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
* Based upon datasheets & sample CPUs kindly provided by VIA.
*
* VIA have currently 3 different versions of Longhaul.
Expand Down
3 changes: 1 addition & 2 deletions drivers/cpufreq/longhaul.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* longhaul.h
* (C) 2003 Dave Jones.
*
* Licensed under the terms of the GNU GPL License version 2.
*
* VIA-specific information
*/

Expand Down
3 changes: 1 addition & 2 deletions drivers/cpufreq/longrun.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2002 - 2003 Dominik Brodowski <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
*
* BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*
*/

Expand Down
3 changes: 1 addition & 2 deletions drivers/cpufreq/powernow-k6.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* This file was based upon code in Powertweak Linux (http://powertweak.sf.net)
* (C) 2000-2003 Dave Jones, Arjan van de Ven, Janne Pänkälä,
* Dominik Brodowski.
*
* Licensed under the terms of the GNU GPL License version 2.
*
* BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/cpufreq/powernow-k7.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* AMD K7 Powernow driver.
* (C) 2003 Dave Jones on behalf of SuSE Labs.
*
* Licensed under the terms of the GNU GPL License version 2.
* Based upon datasheets & sample CPUs kindly provided by AMD.
*
* Errata 5:
Expand Down
4 changes: 1 addition & 3 deletions drivers/cpufreq/powernow-k7.h
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* (C) 2003 Dave Jones.
*
* Licensed under the terms of the GNU GPL License version 2.
*
* AMD-specific information
*
*/

union msr_fidvidctl {
Expand Down
5 changes: 1 addition & 4 deletions drivers/cpufreq/powernow-k8.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (c) 2003-2012 Advanced Micro Devices, Inc.
* Your use of this code is subject to the terms and conditions of the
* GNU general public license version 2. See "COPYING" or
* http://www.gnu.org/licenses/gpl.html
*
* Maintainer:
* Andreas Herrmann <[email protected]>
Expand All @@ -11,7 +9,6 @@
* (C) 2003 Dave Jones on behalf of SuSE Labs
* (C) 2004 Dominik Brodowski <[email protected]>
* (C) 2004 Pavel Machek <[email protected]>
* Licensed under the terms of the GNU GPL License version 2.
* Based upon datasheets & sample CPUs kindly provided by AMD.
*
* Valuable input gratefully received from Dave Jones, Pavel Machek,
Expand Down
2 changes: 1 addition & 1 deletion drivers/cpufreq/speedstep-ich.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2001 Dave Jones, Arjan van de ven.
* (C) 2002 - 2003 Dominik Brodowski <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
* Based upon reverse engineered information, and on Intel documentation
* for chipsets ICH2-M and ICH3-M.
*
Expand Down
3 changes: 1 addition & 2 deletions drivers/cpufreq/speedstep-lib.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2002 - 2003 Dominik Brodowski <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
*
* Library for common functions for Intel SpeedStep v.1 and v.2 support
*
* BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*
Expand Down
3 changes: 1 addition & 2 deletions drivers/cpufreq/speedstep-lib.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* (C) 2002 - 2003 Dominik Brodowski <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
*
* Library for common functions for Intel SpeedStep v.1 and v.2 support
*
* BIG FAT DISCLAIMER: Work in progress code. Possibly *dangerous*
Expand Down
4 changes: 1 addition & 3 deletions drivers/cpufreq/speedstep-smi.c
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* Intel SpeedStep SMI driver.
*
* (C) 2003 Hiroshi Miura <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
*
*/


Expand Down
2 changes: 1 addition & 1 deletion scripts/checkkconfigsymbols.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#!/usr/bin/env python3
# SPDX-License-Identifier: GPL-2.0-only

"""Find Kconfig symbols that are referenced but not defined."""

# (c) 2014-2017 Valentin Rothberg <[email protected]>
# (c) 2014 Stefan Hengelein <[email protected]>
#
# Licensed under the terms of the GNU GPL License version 2


import argparse
Expand Down
2 changes: 1 addition & 1 deletion scripts/gfp-translate
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# SPDX-License-Identifier: GPL-2.0-only
# Translate the bits making up a GFP mask
# (c) 2009, Mel Gorman <[email protected]>
# Licensed under the terms of the GNU GPL License version 2
SOURCE=
GFPMASK=none

Expand Down
2 changes: 1 addition & 1 deletion scripts/leaking_addresses.pl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0-only
#
# (c) 2017 Tobin C. Harding <[email protected]>
# Licensed under the terms of the GNU GPL License version 2
#
# leaking_addresses.pl: Scan the kernel for potential leaking addresses.
# - Scans dmesg output.
Expand Down
2 changes: 1 addition & 1 deletion scripts/recordmcount.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env perl
# SPDX-License-Identifier: GPL-2.0-only
# (c) 2008, Steven Rostedt <[email protected]>
# Licensed under the terms of the GNU GPL License version 2
#
# recordmcount.pl - makes a section called __mcount_loc that holds
# all the offsets to the calls to mcount.
Expand Down
2 changes: 1 addition & 1 deletion scripts/tracing/draw_functrace.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#!/usr/bin/python
# SPDX-License-Identifier: GPL-2.0-only

"""
Copyright 2008 (c) Frederic Weisbecker <[email protected]>
Licensed under the terms of the GNU GPL License version 2
This script parses a trace provided by the function tracer in
kernel/trace/trace_functions.c
Expand Down
2 changes: 1 addition & 1 deletion tools/perf/scripts/perl/rw-by-file.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
# SPDX-License-Identifier: GPL-2.0-only
# (c) 2009, Tom Zanussi <[email protected]>
# Licensed under the terms of the GNU GPL License version 2

# Display r/w activity for files read/written to for a given program

Expand Down
2 changes: 1 addition & 1 deletion tools/perf/scripts/perl/rw-by-pid.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
# SPDX-License-Identifier: GPL-2.0-only
# (c) 2009, Tom Zanussi <[email protected]>
# Licensed under the terms of the GNU GPL License version 2

# Display r/w activity for all processes

Expand Down
2 changes: 1 addition & 1 deletion tools/perf/scripts/perl/rwtop.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
# SPDX-License-Identifier: GPL-2.0-only
# (c) 2010, Tom Zanussi <[email protected]>
# Licensed under the terms of the GNU GPL License version 2

# read/write top
#
Expand Down
2 changes: 1 addition & 1 deletion tools/perf/scripts/perl/wakeup-latency.pl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/perl -w
# SPDX-License-Identifier: GPL-2.0-only
# (c) 2009, Tom Zanussi <[email protected]>
# Licensed under the terms of the GNU GPL License version 2

# Display avg/min/max wakeup latency

Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/debug/i386/centrino-decode.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2003 - 2004 Dominik Brodowski <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
*
* Based on code found in
* linux/arch/i386/kernel/cpu/cpufreq/speedstep-centrino.c
* and originally developed by Jeremy Fitzhardinge.
Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/debug/i386/intel_gsic.c
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2003 Bruno Ducrot
* (C) 2004 Dominik Brodowski <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
*
* Based on code found in
* linux/include/asm-i386/ist.h and linux/arch/i386/kernel/setup.c
* and originally developed by Andy Grover <[email protected]>
Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/debug/i386/powernow-k8-decode.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2004 Bruno Ducrot <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
*
* Based on code found in
* linux/arch/i386/kernel/cpu/cpufreq/powernow-k8.c
* and originally developed by Paul Devriendt
Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/lib/cpufreq.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2004-2009 Dominik Brodowski <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
*/


Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/lib/cpuidle.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2004-2009 Dominik Brodowski <[email protected]>
* (C) 2011 Thomas Renninger <[email protected]> Novell Inc.
*
* Licensed under the terms of the GNU GPL License version 2.
*/

#include <stdio.h>
Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/lib/cpupower.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2004-2009 Dominik Brodowski <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
*/

#include <sys/types.h>
Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/utils/cpufreq-info.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2004-2009 Dominik Brodowski <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
*/


Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/utils/cpufreq-set.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2004-2009 Dominik Brodowski <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
*/


Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/utils/cpuidle-info.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2004-2009 Dominik Brodowski <[email protected]>
* (C) 2010 Thomas Renninger <[email protected]>
*
* Licensed under the terms of the GNU GPL License version 2.
*/


Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/utils/cpupower-info.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2011 Thomas Renninger <[email protected]>, Novell Inc.
*
* Licensed under the terms of the GNU GPL License version 2.
*/


Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/utils/cpupower-set.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2011 Thomas Renninger <[email protected]>, Novell Inc.
*
* Licensed under the terms of the GNU GPL License version 2.
*/


Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/utils/cpupower.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2010,2011 Thomas Renninger <[email protected]>, Novell Inc.
*
* Licensed under the terms of the GNU GPL License version 2.
*
* Ideas taken over from the perf userspace tool (included in the Linus
* kernel git repo): subcommand builtins and param parsing.
*/
Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/utils/helpers/helpers.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* (C) 2010,2011 Thomas Renninger <[email protected]>, Novell Inc.
*
* Licensed under the terms of the GNU GPL License version 2.
*
* Miscellaneous helpers which do not fit or are worth
* to put into separate headers
*/
Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/utils/helpers/sysfs.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2004-2009 Dominik Brodowski <[email protected]>
* (C) 2011 Thomas Renninger <[email protected]> Novell Inc.
*
* Licensed under the terms of the GNU GPL License version 2.
*/

#include <stdio.h>
Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/utils/helpers/topology.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2010,2011 Thomas Renninger <[email protected]>, Novell Inc.
*
* Licensed under the terms of the GNU GPL License version 2.
*
* ToDo: Needs to be done more properly for AMD/Intel specifics
*/

Expand Down
3 changes: 1 addition & 2 deletions tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2010,2011 Thomas Renninger <[email protected]>, Novell Inc.
*
* Licensed under the terms of the GNU GPL License version 2.
*
* PCI initialization based on example code from:
* Andreas Herrmann <[email protected]>
*/
Expand Down
4 changes: 1 addition & 3 deletions tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/*
* (C) 2010,2011 Thomas Renninger <[email protected]>, Novell Inc
*
* Licensed under the terms of the GNU GPL License version 2.
*
*/

#include <stdio.h>
Expand Down
Loading

0 comments on commit 4f19048

Please sign in to comment.