History

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).

Thomas Gleixner committed 7 years ago

Commit fb9e53c1 parent f7be8ec10 files · +11 −13Browse files

Unified · Split

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

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t