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 257

Based on 1 normalized pattern(s):

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 19 file(s).

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Allison Randal <allison@lohutok.net>
Reviewed-by: Richard Fontana <rfontana@redhat.com>
Reviewed-by: Steve Winslow <swinslow@gmail.com>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
Reviewed-by: Alexios Zavras <alexios.zavras@intel.com>
Cc: linux-spdx@vger.kernel.org
Link: https://lkml.kernel.org/r/20190529141333.108140152@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Thomas Gleixner and committed by
Greg Kroah-Hartman
fb9e53cc f7be8ec1

+11 -13
+1 -1
arch/x86/entry/common.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * common.c - C code for kernel entry and exit 3 4 * Copyright (c) 2015 Andrew Lutomirski 4 - * GPL v2 5 5 * 6 6 * Based on asm and ptrace code by many authors. The code here originated 7 7 * in ptrace.c and signal.c.
+1 -1
drivers/video/backlight/locomolcd.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Backlight control code for Sharp Zaurus SL-5500 3 4 * 4 5 * Copyright 2005 John Lenz <lenz@cs.wisc.edu> 5 6 * Maintainer: Pavel Machek <pavel@ucw.cz> (unless John wants to :-) 6 - * GPL v2 7 7 * 8 8 * This driver assumes single CPU. That's okay, because collie is 9 9 * slightly old hardware, and no one is going to retrofit second CPU to
+1 -2
include/net/fq.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Copyright (c) 2016 Qualcomm Atheros, Inc 3 - * 4 - * GPL v2 5 4 * 6 5 * Based on net/sched/sch_fq_codel.c 7 6 */
+1 -2
include/net/fq_impl.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Copyright (c) 2016 Qualcomm Atheros, Inc 3 - * 4 - * GPL v2 5 4 * 6 5 * Based on net/sched/sch_fq_codel.c 7 6 */
+2 -1
scripts/coccinelle/api/platform_no_drv_owner.cocci
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /// Remove .owner field if calls are used which set it automatically 2 3 /// 3 4 // Confidence: High 4 - // Copyright: (C) 2014 Wolfram Sang. GPL v2. 5 + // Copyright: (C) 2014 Wolfram Sang. 5 6 6 7 virtual patch 7 8 virtual context
+1 -1
tools/testing/selftests/x86/check_cc.sh
··· 1 1 #!/bin/sh 2 + # SPDX-License-Identifier: GPL-2.0-only 2 3 # check_cc.sh - Helper to test userspace compilation support 3 4 # Copyright (c) 2015 Andrew Lutomirski 4 - # GPL v2 5 5 6 6 CC="$1" 7 7 TESTPROG="$2"
+1 -2
tools/testing/selftests/x86/entry_from_vm86.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * entry_from_vm86.c - tests kernel entries from vm86 mode 3 4 * Copyright (c) 2014-2015 Andrew Lutomirski 4 5 * 5 6 * This exercises a few paths that need to special-case vm86 mode. 6 - * 7 - * GPL v2. 8 7 */ 9 8 10 9 #define _GNU_SOURCE
+1 -1
tools/testing/selftests/x86/fsgsbase.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * fsgsbase.c, an fsgsbase test 3 4 * Copyright (c) 2014-2016 Andy Lutomirski 4 - * GPL v2 5 5 */ 6 6 7 7 #define _GNU_SOURCE
+1 -1
tools/testing/selftests/x86/trivial_32bit_program.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Trivial program to check that we have a valid 32-bit build environment. 3 4 * Copyright (c) 2015 Andy Lutomirski 4 - * GPL v2 5 5 */ 6 6 7 7 #ifndef __i386__
+1 -1
tools/testing/selftests/x86/trivial_64bit_program.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Trivial program to check that we have a valid 64-bit build environment. 3 4 * Copyright (c) 2015 Andy Lutomirski 4 - * GPL v2 5 5 */ 6 6 7 7 #ifndef __x86_64__