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).
Unified · Split
| @@ -1,7 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * common.c - C code for kernel entry and exit | 3 | * common.c - C code for kernel entry and exit |
| 3 | * Copyright (c) 2015 Andrew Lutomirski | 4 | * Copyright (c) 2015 Andrew Lutomirski |
| 4 | * GPL v2 | ||
| 5 | * | 5 | * |
| 6 | * Based on asm and ptrace code by many authors. The code here originated | 6 | * 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. |
| @@ -1,9 +1,9 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * Backlight control code for Sharp Zaurus SL-5500 | 3 | * 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 is | 8 | * This driver assumes single CPU. That's okay, because collie is |
| 9 | * slightly old hardware, and no one is going to retrofit second CPU to | 9 | * slightly old hardware, and no one is going to retrofit second CPU to |
| @@ -1,8 +1,7 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2016 Qualcomm Atheros, Inc | 3 | * Copyright (c) 2016 Qualcomm Atheros, Inc |
| 3 | * | 4 | * |
| 4 | * GPL v2 | ||
| 5 | * | ||
| 6 | * Based on net/sched/sch_fq_codel.c | 5 | * Based on net/sched/sch_fq_codel.c |
| 7 | */ | 6 | */ |
| 8 | #ifndef __NET_SCHED_FQ_H | 7 | #ifndef __NET_SCHED_FQ_H |
| @@ -1,8 +1,7 @@ | |||
| 1 | /* SPDX-License-Identifier: GPL-2.0-only */ | ||
| 1 | /* | 2 | /* |
| 2 | * Copyright (c) 2016 Qualcomm Atheros, Inc | 3 | * Copyright (c) 2016 Qualcomm Atheros, Inc |
| 3 | * | 4 | * |
| 4 | * GPL v2 | ||
| 5 | * | ||
| 6 | * Based on net/sched/sch_fq_codel.c | 5 | * Based on net/sched/sch_fq_codel.c |
| 7 | */ | 6 | */ |
| 8 | #ifndef __NET_SCHED_FQ_IMPL_H | 7 | #ifndef __NET_SCHED_FQ_IMPL_H |
| @@ -1,7 +1,8 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /// Remove .owner field if calls are used which set it automatically | 2 | /// Remove .owner field if calls are used which set it automatically |
| 2 | /// | 3 | /// |
| 3 | // Confidence: High | 4 | // Confidence: High |
| 4 | // Copyright: (C) 2014 Wolfram Sang. GPL v2. | 5 | // Copyright: (C) 2014 Wolfram Sang. |
| 5 | 6 | ||
| 6 | virtual patch | 7 | virtual patch |
| 7 | virtual context | 8 | virtual context |
| @@ -1,7 +1,7 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | # SPDX-License-Identifier: GPL-2.0-only | ||
| 2 | # check_cc.sh - Helper to test userspace compilation support | 3 | # check_cc.sh - Helper to test userspace compilation support |
| 3 | # Copyright (c) 2015 Andrew Lutomirski | 4 | # Copyright (c) 2015 Andrew Lutomirski |
| 4 | # GPL v2 | ||
| 5 | 5 | ||
| 6 | CC="$1" | 6 | CC="$1" |
| 7 | TESTPROG="$2" | 7 | TESTPROG="$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 mode | 3 | * entry_from_vm86.c - tests kernel entries from vm86 mode |
| 3 | * Copyright (c) 2014-2015 Andrew Lutomirski | 4 | * 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_SOURCE | 9 | #define _GNU_SOURCE |
| @@ -1,7 +1,7 @@ | |||
| 1 | // SPDX-License-Identifier: GPL-2.0-only | ||
| 1 | /* | 2 | /* |
| 2 | * fsgsbase.c, an fsgsbase test | 3 | * fsgsbase.c, an fsgsbase test |
| 3 | * Copyright (c) 2014-2016 Andy Lutomirski | 4 | * Copyright (c) 2014-2016 Andy Lutomirski |
| 4 | * GPL v2 | ||
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #define _GNU_SOURCE | 7 | #define _GNU_SOURCE |
| @@ -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 Lutomirski | 4 | * Copyright (c) 2015 Andy Lutomirski |
| 4 | * GPL v2 | ||
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #ifndef __i386__ | 7 | #ifndef __i386__ |
| @@ -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 Lutomirski | 4 | * Copyright (c) 2015 Andy Lutomirski |
| 4 | * GPL v2 | ||
| 5 | */ | 5 | */ |
| 6 | 6 | ||
| 7 | #ifndef __x86_64__ | 7 | #ifndef __x86_64__ |