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 230

Based on 2 normalized pattern(s):

this source code is licensed under the gnu general public license
version 2 see the file copying for more details

this source code is licensed under general public license version 2
see

extracted by the scancode license scanner the SPDX license identifier

GPL-2.0-only

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

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Enrico Weigelt <info@metux.net>
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/20190602204653.449021192@linutronix.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Thomas Gleixner and committed by
Greg Kroah-Hartman
40b0b3f8 33eea064

+52 -158
+1 -3
arch/ia64/kernel/machine_kexec.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * arch/ia64/kernel/machine_kexec.c 3 4 * ··· 6 5 * Copyright (C) 2005 Hewlett-Packard Development Comapny, L.P. 7 6 * Copyright (C) 2005 Khalid Aziz <khalid.aziz@hp.com> 8 7 * Copyright (C) 2006 Intel Corp, Zou Nan hai <nanhai.zou@intel.com> 9 - * 10 - * This source code is licensed under the GNU General Public License, 11 - * Version 2. See the file COPYING for more details. 12 8 */ 13 9 14 10 #include <linux/mm.h>
+1 -3
arch/ia64/kernel/relocate_kernel.S
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * arch/ia64/kernel/relocate_kernel.S 3 4 * ··· 7 6 * Copyright (C) 2005 Hewlett-Packard Development Company, L.P. 8 7 * Copyright (C) 2005 Khalid Aziz <khalid.aziz@hp.com> 9 8 * Copyright (C) 2005 Intel Corp, Zou Nan hai <nanhai.zou@intel.com> 10 - * 11 - * This source code is licensed under the GNU General Public License, 12 - * Version 2. See the file COPYING for more details. 13 9 */ 14 10 #include <asm/asmmacro.h> 15 11 #include <asm/kregs.h>
+1 -3
arch/mips/include/asm/kexec.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * kexec.h for kexec 3 4 * Created by <nschichan@corp.free.fr> on Thu Oct 12 14:59:34 2006 4 - * 5 - * This source code is licensed under the GNU General Public License, 6 - * Version 2. See the file COPYING for more details. 7 5 */ 8 6 9 7 #ifndef _MIPS_KEXEC
+1 -3
arch/mips/kernel/machine_kexec.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * machine_kexec.c for kexec 3 4 * Created by <nschichan@corp.free.fr> on Thu Oct 12 15:15:06 2006 4 - * 5 - * This source code is licensed under the GNU General Public License, 6 - * Version 2. See the file COPYING for more details. 7 5 */ 8 6 #include <linux/compiler.h> 9 7 #include <linux/kexec.h>
+1 -3
arch/mips/kernel/relocate_kernel.S
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * relocate_kernel.S for kexec 3 4 * Created by <nschichan@corp.free.fr> on Thu Oct 12 17:49:57 2006 4 - * 5 - * This source code is licensed under the GNU General Public License, 6 - * Version 2. See the file COPYING for more details. 7 5 */ 8 6 9 7 #include <asm/asm.h>
+1 -4
arch/powerpc/kernel/crash.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Architecture specific (PPC64) functions for kexec based crash dumps. 3 4 * 4 5 * Copyright (C) 2005, IBM Corp. 5 6 * 6 7 * Created by: Haren Myneni 7 - * 8 - * This source code is licensed under the GNU General Public License, 9 - * Version 2. See the file COPYING for more details. 10 - * 11 8 */ 12 9 13 10 #include <linux/kernel.h>
+1 -3
arch/powerpc/kernel/crash_dump.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Routines for doing kexec-based kdump. 3 4 * 4 5 * Copyright (C) 2005, IBM Corp. 5 6 * 6 7 * Created by: Michael Ellerman 7 - * 8 - * This source code is licensed under the GNU General Public License, 9 - * Version 2. See the file COPYING for more details. 10 8 */ 11 9 12 10 #undef DEBUG
+1 -3
arch/powerpc/kernel/machine_kexec.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Code to handle transition of Linux booting another kernel. 3 4 * 4 5 * Copyright (C) 2002-2003 Eric Biederman <ebiederm@xmission.com> 5 6 * GameCube/ppc32 port Copyright (C) 2004 Albert Herranz 6 7 * Copyright (C) 2005 IBM Corporation. 7 - * 8 - * This source code is licensed under the GNU General Public License, 9 - * Version 2. See the file COPYING for more details. 10 8 */ 11 9 12 10 #include <linux/kexec.h>
+1 -3
arch/powerpc/kernel/machine_kexec_32.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * PPC32 code to handle Linux booting another kernel. 3 4 * 4 5 * Copyright (C) 2002-2003 Eric Biederman <ebiederm@xmission.com> 5 6 * GameCube/ppc32 port Copyright (C) 2004 Albert Herranz 6 7 * Copyright (C) 2005 IBM Corporation. 7 - * 8 - * This source code is licensed under the GNU General Public License, 9 - * Version 2. See the file COPYING for more details. 10 8 */ 11 9 12 10 #include <linux/kexec.h>
+1 -3
arch/powerpc/kernel/machine_kexec_64.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * PPC64 code to handle Linux booting another kernel. 3 4 * 4 5 * Copyright (C) 2004-2005, IBM Corp. 5 6 * 6 7 * Created by: Milton D Miller II 7 - * 8 - * This source code is licensed under the GNU General Public License, 9 - * Version 2. See the file COPYING for more details. 10 8 */ 11 9 12 10
+1 -3
arch/x86/kernel/kexec-bzimage64.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Kexec bzImage loader 3 4 * 4 5 * Copyright (C) 2014 Red Hat Inc. 5 6 * Authors: 6 7 * Vivek Goyal <vgoyal@redhat.com> 7 - * 8 - * This source code is licensed under the GNU General Public License, 9 - * Version 2. See the file COPYING for more details. 10 8 */ 11 9 12 10 #define pr_fmt(fmt) "kexec-bzImage64: " fmt
+1 -3
arch/x86/kernel/machine_kexec_32.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * handle transition of Linux booting another kernel 3 4 * Copyright (C) 2002-2005 Eric Biederman <ebiederm@xmission.com> 4 - * 5 - * This source code is licensed under the GNU General Public License, 6 - * Version 2. See the file COPYING for more details. 7 5 */ 8 6 9 7 #include <linux/mm.h>
+1 -3
arch/x86/kernel/machine_kexec_64.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * handle transition of Linux booting another kernel 3 4 * Copyright (C) 2002-2005 Eric Biederman <ebiederm@xmission.com> 4 - * 5 - * This source code is licensed under the GNU General Public License, 6 - * Version 2. See the file COPYING for more details. 7 5 */ 8 6 9 7 #define pr_fmt(fmt) "kexec: " fmt
+1 -3
arch/x86/kernel/relocate_kernel_32.S
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * relocate_kernel.S - put the kernel image in place to boot 3 4 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com> 4 - * 5 - * This source code is licensed under the GNU General Public License, 6 - * Version 2. See the file COPYING for more details. 7 5 */ 8 6 9 7 #include <linux/linkage.h>
+1 -3
arch/x86/kernel/relocate_kernel_64.S
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * relocate_kernel.S - put the kernel image in place to boot 3 4 * Copyright (C) 2002-2005 Eric Biederman <ebiederm@xmission.com> 4 - * 5 - * This source code is licensed under the GNU General Public License, 6 - * Version 2. See the file COPYING for more details. 7 5 */ 8 6 9 7 #include <linux/linkage.h>
+1 -3
arch/x86/kernel/verify_cpu.S
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * 3 4 * verify_cpu.S - Code for cpu long mode and SSE verification. This ··· 9 8 * Copyright (c) 2007 Eric Biederman (ebiederm@xmission.com) 10 9 * Copyright (c) 2007 Vivek Goyal (vgoyal@in.ibm.com) 11 10 * Copyright (c) 2010 Kees Cook (kees.cook@canonical.com) 12 - * 13 - * This source code is licensed under the GNU General Public License, 14 - * Version 2. See the file COPYING for more details. 15 11 * 16 12 * This is a common code for verification whether CPU supports 17 13 * long mode and SSE or not. It is not called directly instead this
+1 -3
arch/x86/purgatory/entry64.S
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Copyright (C) 2003,2004 Eric Biederman (ebiederm@xmission.com) 3 4 * Copyright (C) 2014 Red Hat Inc. ··· 6 5 * Author(s): Vivek Goyal <vgoyal@redhat.com> 7 6 * 8 7 * This code has been taken from kexec-tools. 9 - * 10 - * This source code is licensed under the GNU General Public License, 11 - * Version 2. See the file COPYING for more details. 12 8 */ 13 9 14 10 .text
+1 -3
arch/x86/purgatory/purgatory.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * purgatory: Runs between two kernels 3 4 * ··· 6 5 * 7 6 * Author: 8 7 * Vivek Goyal <vgoyal@redhat.com> 9 - * 10 - * This source code is licensed under the GNU General Public License, 11 - * Version 2. See the file COPYING for more details. 12 8 */ 13 9 14 10 #include <linux/bug.h>
+1 -3
arch/x86/purgatory/setup-x86_64.S
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * purgatory: setup code 3 4 * ··· 6 5 * Copyright (C) 2014 Red Hat Inc. 7 6 * 8 7 * This code has been taken from kexec-tools. 9 - * 10 - * This source code is licensed under the GNU General Public License, 11 - * Version 2. See the file COPYING for more details. 12 8 */ 13 9 #include <asm/purgatory.h> 14 10
+1 -3
arch/x86/purgatory/stack.S
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * purgatory: stack 3 4 * 4 5 * Copyright (C) 2014 Red Hat Inc. 5 - * 6 - * This source code is licensed under the GNU General Public License, 7 - * Version 2. See the file COPYING for more details. 8 6 */ 9 7 10 8 /* A stack for the loaded kernel.
+1 -3
arch/x86/purgatory/string.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Simple string functions. 3 4 * ··· 6 5 * 7 6 * Author: 8 7 * Vivek Goyal <vgoyal@redhat.com> 9 - * 10 - * This source code is licensed under the GNU General Public License, 11 - * Version 2. See the file COPYING for more details. 12 8 */ 13 9 14 10 #include <linux/types.h>
+1 -3
drivers/w1/slaves/w1_ds2406.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * w1_ds2406.c - w1 family 12 (DS2406) driver 3 4 * based on w1_ds2413.c by Mariusz Bialonczyk <manio@skyboo.net> 4 5 * 5 6 * Copyright (c) 2014 Scott Alfter <scott@alfter.us> 6 - * 7 - * This source code is licensed under the GNU General Public License, 8 - * Version 2. See the file COPYING for more details. 9 7 */ 10 8 11 9 #include <linux/kernel.h>
+1 -3
drivers/w1/slaves/w1_ds2408.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * w1_ds2408.c - w1 family 29 (DS2408) driver 3 4 * 4 5 * Copyright (c) 2010 Jean-Francois Dagenais <dagenaisj@sonatest.com> 5 - * 6 - * This source code is licensed under the GNU General Public License, 7 - * Version 2. See the file COPYING for more details. 8 6 */ 9 7 10 8 #include <linux/kernel.h>
+1 -3
drivers/w1/slaves/w1_ds2413.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * w1_ds2413.c - w1 family 3a (DS2413) driver 3 4 * based on w1_ds2408.c by Jean-Francois Dagenais <dagenaisj@sonatest.com> 4 5 * 5 6 * Copyright (c) 2013 Mariusz Bialonczyk <manio@skyboo.net> 6 - * 7 - * This source code is licensed under the GNU General Public License, 8 - * Version 2. See the file COPYING for more details. 9 7 */ 10 8 11 9 #include <linux/kernel.h>
+1 -3
drivers/w1/slaves/w1_ds2431.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * w1_ds2431.c - w1 family 2d (DS2431) driver 3 4 * 4 5 * Copyright (c) 2008 Bernhard Weirich <bernhard.weirich@riedel.net> 5 6 * 6 7 * Heavily inspired by w1_DS2433 driver from Ben Gardner <bgardner@wabtec.com> 7 - * 8 - * This source code is licensed under the GNU General Public License, 9 - * Version 2. See the file COPYING for more details. 10 8 */ 11 9 12 10 #include <linux/kernel.h>
+1 -3
drivers/w1/slaves/w1_ds2433.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * w1_ds2433.c - w1 family 23 (DS2433) driver 3 4 * 4 5 * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com> 5 - * 6 - * This source code is licensed under the GNU General Public License, 7 - * Version 2. See the file COPYING for more details. 8 6 */ 9 7 10 8 #include <linux/kernel.h>
+1 -3
drivers/w1/slaves/w1_ds2438.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * 1-Wire implementation for the ds2438 chip 3 4 * 4 5 * Copyright (c) 2017 Mariusz Bialonczyk <manio@skyboo.net> 5 - * 6 - * This source code is licensed under the GNU General Public License, 7 - * Version 2. See the file COPYING for more details. 8 6 */ 9 7 10 8 #include <linux/kernel.h>
+1 -3
drivers/w1/slaves/w1_ds2805.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * w1_ds2805 - w1 family 0d (DS28E05) driver 3 4 * 4 5 * Copyright (c) 2016 Andrew Worsley amworsley@gmail.com 5 - * 6 - * This source code is licensed under the GNU General Public License, 7 - * Version 2. See the file COPYING for more details. 8 6 */ 9 7 10 8 #include <linux/kernel.h>
+1 -3
drivers/w1/slaves/w1_ds28e04.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * w1_ds28e04.c - w1 family 1C (DS28E04) driver 3 4 * 4 5 * Copyright (c) 2012 Markus Franke <franke.m@sebakmt.com> 5 - * 6 - * This source code is licensed under the GNU General Public License, 7 - * Version 2. See the file COPYING for more details. 8 6 */ 9 7 10 8 #include <linux/kernel.h>
+1 -3
drivers/w1/slaves/w1_ds28e17.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * w1_ds28e17.c - w1 family 19 (DS28E17) driver 3 4 * 4 5 * Copyright (c) 2016 Jan Kandziora <jjj@gmx.de> 5 - * 6 - * This source code is licensed under the GNU General Public License, 7 - * Version 2. See the file COPYING for more details. 8 6 */ 9 7 10 8 #include <linux/crc16.h>
+1 -3
include/linux/crc-itu-t.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * crc-itu-t.h - CRC ITU-T V.41 routine 3 4 * ··· 6 5 * Width 16 7 6 * Poly 0x1021 (x^16 + x^12 + x^15 + 1) 8 7 * Init 0 9 - * 10 - * This source code is licensed under the GNU General Public License, 11 - * Version 2. See the file COPYING for more details. 12 8 */ 13 9 14 10 #ifndef CRC_ITU_T_H
+1 -3
include/linux/crc16.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * crc16.h - CRC-16 routine 3 4 * ··· 8 7 * Init 0 9 8 * 10 9 * Copyright (c) 2005 Ben Gardner <bgardner@wabtec.com> 11 - * 12 - * This source code is licensed under the GNU General Public License, 13 - * Version 2. See the file COPYING for more details. 14 10 */ 15 11 16 12 #ifndef __CRC16_H
+1 -3
include/linux/genalloc.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Basic general purpose allocator for managing special purpose 3 4 * memory, for example, memory that is not managed by the regular ··· 22 21 * the allocator can NOT be used in NMI handler. So code uses the 23 22 * allocator in NMI handler should depend on 24 23 * CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG. 25 - * 26 - * This source code is licensed under the GNU General Public License, 27 - * Version 2. See the file COPYING for more details. 28 24 */ 29 25 30 26
+1 -3
include/linux/sha256.h
··· 1 + /* SPDX-License-Identifier: GPL-2.0-only */ 1 2 /* 2 3 * Copyright (C) 2014 Red Hat Inc. 3 4 * 4 5 * Author: Vivek Goyal <vgoyal@redhat.com> 5 - * 6 - * This source code is licensed under the GNU General Public License, 7 - * Version 2. See the file COPYING for more details. 8 6 */ 9 7 10 8 #ifndef SHA256_H
+1 -3
kernel/crash_core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * crash.c - kernel crash support code. 3 4 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com> 4 - * 5 - * This source code is licensed under the GNU General Public License, 6 - * Version 2. See the file COPYING for more details. 7 5 */ 8 6 9 7 #include <linux/crash_core.h>
+1 -3
kernel/kexec.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * kexec.c - kexec_load system call 3 4 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com> 4 - * 5 - * This source code is licensed under the GNU General Public License, 6 - * Version 2. See the file COPYING for more details. 7 5 */ 8 6 9 7 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+1 -3
kernel/kexec_core.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * kexec.c - kexec system call core code. 3 4 * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com> 4 - * 5 - * This source code is licensed under the GNU General Public License, 6 - * Version 2. See the file COPYING for more details. 7 5 */ 8 6 9 7 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+1 -3
kernel/kexec_file.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * kexec: kexec_file_load system call 3 4 * 4 5 * Copyright (C) 2014 Red Hat Inc. 5 6 * Authors: 6 7 * Vivek Goyal <vgoyal@redhat.com> 7 - * 8 - * This source code is licensed under the GNU General Public License, 9 - * Version 2. See the file COPYING for more details. 10 8 */ 11 9 12 10 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
+1 -3
lib/bitmap.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * lib/bitmap.c 3 4 * Helper functions for bitmap.h. 4 - * 5 - * This source code is licensed under the GNU General Public License, 6 - * Version 2. See the file COPYING for more details. 7 5 */ 8 6 #include <linux/export.h> 9 7 #include <linux/thread_info.h>
+1 -4
lib/cmdline.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * linux/lib/cmdline.c 3 4 * Helper functions generally used for parsing kernel command line ··· 6 5 * 7 6 * Code and copyrights come from init/main.c and arch/i386/kernel/setup.c. 8 7 * 9 - * This source code is licensed under the GNU General Public License, 10 - * Version 2. See the file COPYING for more details. 11 - * 12 8 * GNU Indent formatting options for this file: -kr -i8 -npsl -pcs 13 - * 14 9 */ 15 10 16 11 #include <linux/export.h>
+1 -3
lib/crc-ccitt.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * linux/lib/crc-ccitt.c 3 - * 4 - * This source code is licensed under the GNU General Public License, 5 - * Version 2. See the file COPYING for more details. 6 4 */ 7 5 8 6 #include <linux/types.h>
+1 -3
lib/crc-itu-t.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * crc-itu-t.c 3 - * 4 - * This source code is licensed under the GNU General Public License, 5 - * Version 2. See the file COPYING for more details. 6 4 */ 7 5 8 6 #include <linux/types.h>
+1 -3
lib/crc-t10dif.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * T10 Data Integrity Field CRC16 calculation 3 4 * 4 5 * Copyright (c) 2007 Oracle Corporation. All rights reserved. 5 6 * Written by Martin K. Petersen <martin.petersen@oracle.com> 6 - * 7 - * This source code is licensed under the GNU General Public License, 8 - * Version 2. See the file COPYING for more details. 9 7 */ 10 8 11 9 #include <linux/types.h>
+1 -3
lib/crc16.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * crc16.c 3 - * 4 - * This source code is licensed under the GNU General Public License, 5 - * Version 2. See the file COPYING for more details. 6 4 */ 7 5 8 6 #include <linux/types.h>
+1 -3
lib/crc4.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * crc4.c - simple crc-4 calculations. 3 - * 4 - * This source code is licensed under the GNU General Public License, Version 5 - * 2. See the file COPYING for more details. 6 4 */ 7 5 8 6 #include <linux/crc4.h>
+1 -3
lib/crc7.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * crc7.c 3 - * 4 - * This source code is licensed under the GNU General Public License, 5 - * Version 2. See the file COPYING for more details. 6 4 */ 7 5 8 6 #include <linux/types.h>
+1 -3
lib/genalloc.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Basic general purpose allocator for managing special purpose 3 4 * memory, for example, memory that is not managed by the regular ··· 24 23 * CONFIG_ARCH_HAVE_NMI_SAFE_CMPXCHG. 25 24 * 26 25 * Copyright 2005 (C) Jes Sorensen <jes@trained-monkey.org> 27 - * 28 - * This source code is licensed under the GNU General Public License, 29 - * Version 2. See the file COPYING for more details. 30 26 */ 31 27 32 28 #include <linux/slab.h>
+1 -3
lib/parser.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * lib/parser.c - simple parser for mount, etc. options. 3 - * 4 - * This source code is licensed under the GNU General Public License, 5 - * Version 2. See the file COPYING for more details. 6 4 */ 7 5 8 6 #include <linux/ctype.h>
+1 -3
lib/scatterlist.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (C) 2007 Jens Axboe <jens.axboe@oracle.com> 3 4 * 4 5 * Scatterlist handling helpers. 5 - * 6 - * This source code is licensed under the GNU General Public License, 7 - * Version 2. See the file COPYING for more details. 8 6 */ 9 7 #include <linux/export.h> 10 8 #include <linux/slab.h>
+1 -3
lib/sg_split.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * Copyright (C) 2015 Robert Jarzmik <robert.jarzmik@free.fr> 3 4 * 4 5 * Scatterlist splitting helpers. 5 - * 6 - * This source code is licensed under the GNU General Public License, 7 - * Version 2. See the file COPYING for more details. 8 6 */ 9 7 10 8 #include <linux/scatterlist.h>
+1 -3
net/netfilter/nf_conntrack_h323_asn1.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * ip_conntrack_helper_h323_asn1.c - BER and PER decoding library for H.323 3 4 * conntrack/NAT module. 4 5 * 5 6 * Copyright (c) 2006 by Jing Min Zhao <zhaojingmin@users.sourceforge.net> 6 7 * 7 - * This source code is licensed under General Public License version 2. 8 - * 9 8 * See ip_conntrack_helper_h323_asn1.h for details. 10 - * 11 9 */ 12 10 13 11 #ifdef __KERNEL__
+1 -3
tools/lib/bitmap.c
··· 1 + // SPDX-License-Identifier: GPL-2.0-only 1 2 /* 2 3 * From lib/bitmap.c 3 4 * Helper functions for bitmap.h. 4 - * 5 - * This source code is licensed under the GNU General Public License, 6 - * Version 2. See the file COPYING for more details. 7 5 */ 8 6 #include <linux/bitmap.h> 9 7