Here we go. There is lots more of the same theme. :) Yet more disclaimer mess in this lot, but I kept it so we just have it on record. I'm looking into a viable solution for keeping track of the mess, but that should not prevent us from going through the pending items at all. Thanks, tglx
Based on 1 normalized pattern(s): gdb gas and the gnu binutils are free software you can redistribute them and or modify them under the terms of the gnu general public license as published by the free software foundation either version 2 or at your option any later version gdb gas and the gnu binutils are distributed in the hope that they will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this file see the file copying if not write to the free software foundation 51 franklin street fifth floor boston ma 02110 1301 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 2 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=32fb12ed1b66 --- arch/powerpc/xmon/ppc-dis.c | 15 ++------------- arch/powerpc/xmon/ppc-opc.c | 16 ++-------------- 2 files changed, 4 insertions(+), 27 deletions(-) --- a/arch/powerpc/xmon/ppc-dis.c +++ b/arch/powerpc/xmon/ppc-dis.c @@ -1,22 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* ppc-dis.c -- Disassemble PowerPC instructions Copyright (C) 1994-2016 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support This file is part of GDB, GAS, and the GNU binutils. -GDB, GAS, and the GNU binutils are free software; you can redistribute -them and/or modify them under the terms of the GNU General Public -License as published by the Free Software Foundation; either version -2, or (at your option) any later version. - -GDB, GAS, and the GNU binutils are distributed in the hope that they -will be useful, but WITHOUT ANY WARRANTY; without even the implied -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See -the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License -along with this file; see the file COPYING. If not, write to the Free -Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + */ #include <asm/cputable.h> #include <asm/cpu_has_feature.h> --- a/arch/powerpc/xmon/ppc-opc.c +++ b/arch/powerpc/xmon/ppc-opc.c @@ -1,23 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* ppc-opc.c -- PowerPC opcode list Copyright (C) 1994-2016 Free Software Foundation, Inc. Written by Ian Lance Taylor, Cygnus Support This file is part of GDB, GAS, and the GNU binutils. - GDB, GAS, and the GNU binutils are free software; you can redistribute - them and/or modify them under the terms of the GNU General Public - License as published by the Free Software Foundation; either version - 2, or (at your option) any later version. - - GDB, GAS, and the GNU binutils are distributed in the hope that they - will be useful, but WITHOUT ANY WARRANTY; without even the implied - warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See - the GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this file; see the file COPYING. If not, write to the Free - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA - 02110-1301, USA. */ + */ #include <linux/stddef.h> #include <linux/kernel.h>
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 as published by the free software foundation or any later at your option extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 5 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=837cdb861a7f --- net/netfilter/nf_conntrack_timeout.c | 5 +---- net/netfilter/nf_conntrack_timestamp.c | 5 +---- net/netfilter/nfnetlink_acct.c | 5 +---- net/netfilter/nfnetlink_cthelper.c | 5 +---- net/netfilter/nfnetlink_cttimeout.c | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-) --- a/net/netfilter/nf_conntrack_timeout.c +++ b/net/netfilter/nf_conntrack_timeout.c @@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org> * (C) 2012 by Vyatta Inc. <http://www.vyatta.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation (or any later at your option). */ #include <linux/types.h> --- a/net/netfilter/nf_conntrack_timestamp.c +++ b/net/netfilter/nf_conntrack_timestamp.c @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) 2010 Pablo Neira Ayuso <pablo@netfilter.org> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation (or any later at your option). */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt --- a/net/netfilter/nfnetlink_acct.c +++ b/net/netfilter/nfnetlink_acct.c @@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) 2011 Pablo Neira Ayuso <pablo@netfilter.org> * (C) 2011 Intra2net AG <http://www.intra2net.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation (or any later at your option). */ #include <linux/init.h> #include <linux/module.h> --- a/net/netfilter/nfnetlink_cthelper.c +++ b/net/netfilter/nfnetlink_cthelper.c @@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) 2012 Pablo Neira Ayuso <pablo@netfilter.org> * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation (or any later at your option). - * * This software has been sponsored by Vyatta Inc. <http://www.vyatta.com> */ #include <linux/init.h> --- a/net/netfilter/nfnetlink_cttimeout.c +++ b/net/netfilter/nfnetlink_cttimeout.c @@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org> * (C) 2012 by Vyatta Inc. <http://www.vyatta.com> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation (or any later at your option). */ #include <linux/init.h> #include <linux/module.h>
Based on 1 normalized pattern(s): this work is licensed under the terms of the gnu gpl version 2 or later see the copying file in the top level directory extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 6 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=6f42bc6b9599 --- drivers/scsi/virtio_scsi.c | 5 +---- drivers/virtio/virtio_mmio.c | 6 +----- drivers/virtio/virtio_pci_common.c | 5 +---- drivers/virtio/virtio_pci_common.h | 5 +---- drivers/virtio/virtio_pci_legacy.c | 5 +---- drivers/virtio/virtio_pci_modern.c | 5 +---- 6 files changed, 6 insertions(+), 25 deletions(-) --- a/drivers/scsi/virtio_scsi.c +++ b/drivers/scsi/virtio_scsi.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Virtio SCSI HBA driver * @@ -7,10 +8,6 @@ * Authors: * Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> * Paolo Bonzini <pbonzini@redhat.com> - * - * This work is licensed under the terms of the GNU GPL, version 2 or later. - * See the COPYING file in the top-level directory. - * */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt --- a/drivers/virtio/virtio_mmio.c +++ b/drivers/virtio/virtio_mmio.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Virtio memory mapped device driver * @@ -48,12 +49,7 @@ * virtio_mmio.device=0x100@0x100b0000:48 \ * virtio_mmio.device=1K@0x1001e000:74 * - * - * * Based on Virtio PCI driver by Anthony Liguori, copyright IBM Corp. 2007 - * - * This work is licensed under the terms of the GNU GPL, version 2 or later. - * See the COPYING file in the top-level directory. */ #define pr_fmt(fmt) "virtio-mmio: " fmt --- a/drivers/virtio/virtio_pci_common.c +++ b/drivers/virtio/virtio_pci_common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Virtio PCI driver - common functionality for all device versions * @@ -11,10 +12,6 @@ * Anthony Liguori <aliguori@us.ibm.com> * Rusty Russell <rusty@rustcorp.com.au> * Michael S. Tsirkin <mst@redhat.com> - * - * This work is licensed under the terms of the GNU GPL, version 2 or later. - * See the COPYING file in the top-level directory. - * */ #include "virtio_pci_common.h" --- a/drivers/virtio/virtio_pci_common.h +++ b/drivers/virtio/virtio_pci_common.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef _DRIVERS_VIRTIO_VIRTIO_PCI_COMMON_H #define _DRIVERS_VIRTIO_VIRTIO_PCI_COMMON_H /* @@ -13,10 +14,6 @@ * Anthony Liguori <aliguori@us.ibm.com> * Rusty Russell <rusty@rustcorp.com.au> * Michael S. Tsirkin <mst@redhat.com> - * - * This work is licensed under the terms of the GNU GPL, version 2 or later. - * See the COPYING file in the top-level directory. - * */ #include <linux/module.h> --- a/drivers/virtio/virtio_pci_legacy.c +++ b/drivers/virtio/virtio_pci_legacy.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Virtio PCI driver - legacy device support * @@ -11,10 +12,6 @@ * Anthony Liguori <aliguori@us.ibm.com> * Rusty Russell <rusty@rustcorp.com.au> * Michael S. Tsirkin <mst@redhat.com> - * - * This work is licensed under the terms of the GNU GPL, version 2 or later. - * See the COPYING file in the top-level directory. - * */ #include "virtio_pci_common.h" --- a/drivers/virtio/virtio_pci_modern.c +++ b/drivers/virtio/virtio_pci_modern.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Virtio PCI driver - modern (virtio 1.0) device support * @@ -11,10 +12,6 @@ * Anthony Liguori <aliguori@us.ibm.com> * Rusty Russell <rusty@rustcorp.com.au> * Michael S. Tsirkin <mst@redhat.com> - * - * This work is licensed under the terms of the GNU GPL, version 2 or later. - * See the COPYING file in the top-level directory. - * */ #include <linux/delay.h>
Based on 1 normalized pattern(s): licensed under the gpl v2 or later extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 1 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=966757a31376 --- drivers/platform/olpc/olpc-ec.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/drivers/platform/olpc/olpc-ec.c +++ b/drivers/platform/olpc/olpc-ec.c @@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Generic driver for the OLPC Embedded Controller. * * Author: Andres Salomon <dilinger@queued.net> * * Copyright (C) 2011-2012 One Laptop per Child Foundation. - * - * Licensed under the GPL v2 or later. */ #include <linux/completion.h> #include <linux/debugfs.h>
Based on 1 normalized pattern(s): this file is licensed under the terms of the gnu general public license version 2 or later this program is licensed as is without any warranty of any kind whether express or implied extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 2 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=e398f454a32f --- drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 5 +---- drivers/watchdog/sp805_wdt.c | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) --- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c +++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c @@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Marvell 37xx SoC pinctrl driver * * Copyright (C) 2017 Marvell * * Gregory CLEMENT <gregory.clement@free-electrons.com> - * - * This file is licensed under the terms of the GNU General Public - * License version 2 or later. This program is licensed "as is" - * without any warranty of any kind, whether express or implied. */ #include <linux/gpio/driver.h> --- a/drivers/watchdog/sp805_wdt.c +++ b/drivers/watchdog/sp805_wdt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * drivers/char/watchdog/sp805-wdt.c * @@ -5,10 +6,6 @@ * * Copyright (C) 2010 ST Microelectronics * Viresh Kumar <vireshk@kernel.org> - * - * This file is licensed under the terms of the GNU General Public - * License version 2 or later. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. */ #include <linux/acpi.h>
Based on 1 normalized pattern(s): this source code is licensed under the gnu general public license version 2 or later see the file copying for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 1 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=884d4b3c4292 --- drivers/xen/events/events_internal.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- a/drivers/xen/events/events_internal.h +++ b/drivers/xen/events/events_internal.h @@ -1,10 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Xen Event Channels (internal header) * * Copyright (C) 2013 Citrix Systems R&D Ltd. - * - * This source code is licensed under the GNU General Public License, - * Version 2 or later. See the file COPYING for more details. */ #ifndef __EVENTS_INTERNAL_H__ #define __EVENTS_INTERNAL_H__
Based on 1 normalized pattern(s): this code is released under the gnu general public license version 2 or later extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 3 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=f99e4ea9b813 --- arch/x86/kernel/smp.c | 4 +--- arch/x86/kernel/smpboot.c | 4 +--- arch/x86/platform/uv/tlb_uv.c | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-) --- a/arch/x86/kernel/smp.c +++ b/arch/x86/kernel/smp.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Intel SMP support routines. * @@ -6,9 +7,6 @@ * (c) 2002,2003 Andi Kleen, SuSE Labs. * * i386 and x86_64 integration by Glauber Costa <gcosta@redhat.com> - * - * This code is released under the GNU General Public License version 2 or - * later. */ #include <linux/init.h> --- a/arch/x86/kernel/smpboot.c +++ b/arch/x86/kernel/smpboot.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * x86 SMP booting functions * @@ -12,9 +13,6 @@ * Pentium Pro and Pentium-II/Xeon MP machines. * Original development of Linux SMP code supported by Caldera. * - * This code is released under the GNU General Public License version 2 or - * later. - * * Fixes * Felix Koop : NR_CPUS used properly * Jose Renau : Handle single CPU case. --- a/arch/x86/platform/uv/tlb_uv.c +++ b/arch/x86/platform/uv/tlb_uv.c @@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * SGI UltraViolet TLB flush routines. * * (c) 2008-2014 Cliff Wickman <cpw@sgi.com>, SGI. - * - * This code is released under the GNU General Public License version 2 or - * later. */ #include <linux/seq_file.h> #include <linux/proc_fs.h>
Based on 1 normalized pattern(s): this file is part of the linux kernel and is made available under the terms of the gnu general public license version 2 or at your option any later version incorporated herein by reference extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 18 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=77241ca7be35 --- arch/x86/boot/bioscall.S | 5 +---- arch/x86/boot/mkcpustr.c | 5 +---- arch/x86/boot/regs.c | 5 +---- fs/autofs/autofs_i.h | 5 +---- fs/autofs/dev-ioctl.c | 5 +---- fs/autofs/expire.c | 5 +---- fs/autofs/init.c | 5 +---- fs/autofs/inode.c | 5 +---- fs/autofs/root.c | 5 +---- fs/autofs/symlink.c | 5 +---- fs/autofs/waitq.c | 5 +---- fs/devpts/inode.c | 5 +---- include/linux/auto_dev-ioctl.h | 5 +---- include/linux/auto_fs.h | 5 +---- include/linux/devpts_fs.h | 5 +---- include/linux/jbd2.h | 5 +---- lib/raid6/mktables.c | 5 +---- lib/raid6/test/test.c | 5 +---- 18 files changed, 18 insertions(+), 72 deletions(-) --- a/arch/x86/boot/bioscall.S +++ b/arch/x86/boot/bioscall.S @@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* ----------------------------------------------------------------------- * * Copyright 2009-2014 Intel Corporation; author H. Peter Anvin * - * This file is part of the Linux kernel, and is made available under - * the terms of the GNU General Public License version 2 or (at your - * option) any later version; incorporated herein by reference. - * * ----------------------------------------------------------------------- */ /* --- a/arch/x86/boot/mkcpustr.c +++ b/arch/x86/boot/mkcpustr.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* ----------------------------------------------------------------------- * * * Copyright 2008 rPath, Inc. - All Rights Reserved * - * This file is part of the Linux kernel, and is made available under - * the terms of the GNU General Public License version 2 or (at your - * option) any later version; incorporated herein by reference. - * * ----------------------------------------------------------------------- */ /* --- a/arch/x86/boot/regs.c +++ b/arch/x86/boot/regs.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* ----------------------------------------------------------------------- * * Copyright 2009 Intel Corporation; author H. Peter Anvin * - * This file is part of the Linux kernel, and is made available under - * the terms of the GNU General Public License version 2 or (at your - * option) any later version; incorporated herein by reference. - * * ----------------------------------------------------------------------- */ /* --- a/fs/autofs/autofs_i.h +++ b/fs/autofs/autofs_i.h @@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 1997-1998 Transmeta Corporation - All Rights Reserved * Copyright 2005-2006 Ian Kent <raven@themaw.net> - * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. */ /* Internal header file for autofs */ --- a/fs/autofs/dev-ioctl.c +++ b/fs/autofs/dev-ioctl.c @@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 2008 Red Hat, Inc. All rights reserved. * Copyright 2008 Ian Kent <raven@themaw.net> - * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. */ #include <linux/miscdevice.h> --- a/fs/autofs/expire.c +++ b/fs/autofs/expire.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org> * Copyright 2001-2006 Ian Kent <raven@themaw.net> - * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. */ #include "autofs_i.h" --- a/fs/autofs/init.c +++ b/fs/autofs/init.c @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved - * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. */ #include <linux/module.h> --- a/fs/autofs/inode.c +++ b/fs/autofs/inode.c @@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved * Copyright 2005-2006 Ian Kent <raven@themaw.net> - * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. */ #include <linux/seq_file.h> --- a/fs/autofs/root.c +++ b/fs/autofs/root.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org> * Copyright 2001-2006 Ian Kent <raven@themaw.net> - * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. */ #include <linux/capability.h> --- a/fs/autofs/symlink.c +++ b/fs/autofs/symlink.c @@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved - * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. */ #include "autofs_i.h" --- a/fs/autofs/waitq.c +++ b/fs/autofs/waitq.c @@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved * Copyright 2001-2006 Ian Kent <raven@themaw.net> - * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. */ #include <linux/sched/signal.h> --- a/fs/devpts/inode.c +++ b/fs/devpts/inode.c @@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* -*- linux-c -*- --------------------------------------------------------- * * * linux/fs/devpts/inode.c * * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. - * * ------------------------------------------------------------------------- */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt --- a/include/linux/auto_dev-ioctl.h +++ b/include/linux/auto_dev-ioctl.h @@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 2008 Red Hat, Inc. All rights reserved. * Copyright 2008 Ian Kent <raven@themaw.net> - * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. */ #ifndef _LINUX_AUTO_DEV_IOCTL_H --- a/include/linux/auto_fs.h +++ b/include/linux/auto_fs.h @@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright 1997 Transmeta Corporation - All Rights Reserved - * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. */ #ifndef _LINUX_AUTO_FS_H --- a/include/linux/devpts_fs.h +++ b/include/linux/devpts_fs.h @@ -1,13 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* -*- linux-c -*- --------------------------------------------------------- * * * linux/include/linux/devpts_fs.h * * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. - * * ------------------------------------------------------------------------- */ #ifndef _LINUX_DEVPTS_FS_H --- a/include/linux/jbd2.h +++ b/include/linux/jbd2.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/include/linux/jbd2.h * @@ -5,10 +6,6 @@ * * Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved * - * This file is part of the Linux kernel and is made available under - * the terms of the GNU General Public License, version 2, or at your - * option, any later version, incorporated herein by reference. - * * Definitions for transaction data structures for the buffer cache * filesystem journaling support. */ --- a/lib/raid6/mktables.c +++ b/lib/raid6/mktables.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved * - * This file is part of the Linux kernel, and is made available under - * the terms of the GNU General Public License version 2 or (at your - * option) any later version; incorporated herein by reference. - * * ----------------------------------------------------------------------- */ /* --- a/lib/raid6/test/test.c +++ b/lib/raid6/test/test.c @@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved * - * This file is part of the Linux kernel, and is made available under - * the terms of the GNU General Public License version 2 or (at your - * option) any later version; incorporated herein by reference. - * * ----------------------------------------------------------------------- */ /*
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version author [bill] [dirks] [bill]@[thedirks] [org] [based] [on] [code] [by] [alan] [cox] [alan]@[cymru] [net] video capture interface for linux a generic video device interface for the linux operating system using a set of device structures vectors for low level operations this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 1 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=3e00a2c38a0b --- drivers/media/v4l2-core/v4l2-common.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) --- a/drivers/media/v4l2-core/v4l2-common.c +++ b/drivers/media/v4l2-core/v4l2-common.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Video for Linux Two * @@ -7,14 +8,8 @@ * This file replaces the videodev.c file that comes with the * regular kernel distribution. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Author: Bill Dirks <bill@thedirks.org> * based on code by Alan Cox, <alan@cymru.net> - * */ /* @@ -23,11 +18,6 @@ * A generic video device interface for the LINUX operating system * using a set of device structures/vectors for low level operations. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Author: Alan Cox, <alan@lxorguk.ukuu.org.uk> * * Fixes:
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details no warranty the program is provided on an as is basis without warranties or conditions of any kind either express or implied including without limitation any warranties or conditions of title non infringement merchantability or fitness for a particular purpose each recipient is solely responsible for determining the appropriateness of using and distributing the program and assumes all risks associated with its exercise of rights under this agreement including but not limited to the risks and costs of program errors damage to or loss of data programs or equipment and unavailability or interruption of operations disclaimer of liability neither recipient nor any contributors shall have any liability for any direct indirect incidental special exemplary or consequential damages including without limitation lost profits however caused and on any theory of liability whether in contract strict liability or tort including negligence or otherwise arising in any way out of the use or distribution of the program or the exercise of any rights granted hereunder even if advised of the possibility of such damages you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 51 franklin street fifth floor boston ma 02110 1301 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 20 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=9738411291d0 --- drivers/scsi/esas2r/esas2r.h | 36 ---------------------------- drivers/scsi/esas2r/esas2r_flash.c | 36 ---------------------------- drivers/scsi/esas2r/esas2r_init.c | 36 ---------------------------- drivers/scsi/esas2r/esas2r_io.c | 36 ---------------------------- drivers/scsi/esas2r/esas2r_ioctl.c | 36 ---------------------------- drivers/scsi/esas2r/esas2r_log.c | 36 ---------------------------- drivers/scsi/esas2r/esas2r_log.h | 36 ---------------------------- drivers/scsi/esas2r/esas2r_main.c | 36 ---------------------------- drivers/scsi/esas2r/esas2r_targdb.c | 36 ---------------------------- drivers/scsi/mpt3sas/Kconfig | 35 --------------------------- drivers/scsi/mpt3sas/mpt3sas_base.c | 36 ---------------------------- drivers/scsi/mpt3sas/mpt3sas_base.h | 36 ---------------------------- drivers/scsi/mpt3sas/mpt3sas_config.c | 36 ---------------------------- drivers/scsi/mpt3sas/mpt3sas_ctl.c | 36 ---------------------------- drivers/scsi/mpt3sas/mpt3sas_ctl.h | 36 ---------------------------- drivers/scsi/mpt3sas/mpt3sas_debug.h | 36 ---------------------------- drivers/scsi/mpt3sas/mpt3sas_scsih.c | 36 ---------------------------- drivers/scsi/mpt3sas/mpt3sas_transport.c | 36 ---------------------------- drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c | 36 ---------------------------- drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h | 36 ---------------------------- 20 files changed, 20 insertions(+), 699 deletions(-) --- a/drivers/scsi/esas2r/esas2r.h +++ b/drivers/scsi/esas2r/esas2r.h @@ -1,44 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/drivers/scsi/esas2r/esas2r.h * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers * * Copyright (c) 2001-2013 ATTO Technology, Inc. * (mailto:linuxdrivers@attotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - * - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include <linux/kernel.h> --- a/drivers/scsi/esas2r/esas2r_flash.c +++ b/drivers/scsi/esas2r/esas2r_flash.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * linux/drivers/scsi/esas2r/esas2r_flash.c @@ -5,41 +6,6 @@ * * Copyright (c) 2001-2013 ATTO Technology, Inc. * (mailto:linuxdrivers@attotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - * - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include "esas2r.h" --- a/drivers/scsi/esas2r/esas2r_init.c +++ b/drivers/scsi/esas2r/esas2r_init.c @@ -1,44 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * linux/drivers/scsi/esas2r/esas2r_init.c * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers * * Copyright (c) 2001-2013 ATTO Technology, Inc. * (mailto:linuxdrivers@attotech.com)mpt3sas/mpt3sas_trigger_diag. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - * - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include "esas2r.h" --- a/drivers/scsi/esas2r/esas2r_io.c +++ b/drivers/scsi/esas2r/esas2r_io.c @@ -1,44 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * linux/drivers/scsi/esas2r/esas2r_io.c * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers * * Copyright (c) 2001-2013 ATTO Technology, Inc. * (mailto:linuxdrivers@attotech.com)mpt3sas/mpt3sas_trigger_diag. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - * - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include "esas2r.h" --- a/drivers/scsi/esas2r/esas2r_ioctl.c +++ b/drivers/scsi/esas2r/esas2r_ioctl.c @@ -1,44 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * linux/drivers/scsi/esas2r/esas2r_ioctl.c * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers * * Copyright (c) 2001-2013 ATTO Technology, Inc. * (mailto:linuxdrivers@attotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - * - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include "esas2r.h" --- a/drivers/scsi/esas2r/esas2r_log.c +++ b/drivers/scsi/esas2r/esas2r_log.c @@ -1,44 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * linux/drivers/scsi/esas2r/esas2r_log.c * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers * * Copyright (c) 2001-2013 ATTO Technology, Inc. * (mailto:linuxdrivers@attotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - * - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include "esas2r.h" --- a/drivers/scsi/esas2r/esas2r_log.h +++ b/drivers/scsi/esas2r/esas2r_log.h @@ -1,44 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * linux/drivers/scsi/esas2r/esas2r_log.h * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers * * Copyright (c) 2001-2013 ATTO Technology, Inc. * (mailto:linuxdrivers@attotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - * - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #ifndef __esas2r_log_h__ --- a/drivers/scsi/esas2r/esas2r_main.c +++ b/drivers/scsi/esas2r/esas2r_main.c @@ -1,44 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * linux/drivers/scsi/esas2r/esas2r_main.c * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers * * Copyright (c) 2001-2013 ATTO Technology, Inc. * (mailto:linuxdrivers@attotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - * - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include "esas2r.h" --- a/drivers/scsi/esas2r/esas2r_targdb.c +++ b/drivers/scsi/esas2r/esas2r_targdb.c @@ -1,44 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * linux/drivers/scsi/esas2r/esas2r_targdb.c * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers * * Copyright (c) 2001-2013 ATTO Technology, Inc. * (mailto:linuxdrivers@attotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - * - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include "esas2r.h" --- a/drivers/scsi/mpt3sas/Kconfig +++ b/drivers/scsi/mpt3sas/Kconfig @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-or-later # # Kernel configuration file for the MPT3SAS # @@ -5,40 +6,6 @@ # Copyright (C) 2012-2014 LSI Corporation # (mailto:DL-MPTFusionLinux@lsi.com) -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. - -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. - -# NO WARRANTY -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is -# solely responsible for determining the appropriateness of using and -# distributing the Program and assumes all risks associated with its -# exercise of rights under this Agreement, including but not limited to -# the risks and costs of program errors, damage to or loss of data, -# programs or equipment, and unavailability or interruption of operations. - -# DISCLAIMER OF LIABILITY -# NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY -# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL -# DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND -# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR -# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE -# USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - -# You should have received a copy of the GNU General Public License -# along with this program; if not, write to the Free Software -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -# USA. config SCSI_MPT3SAS tristate "LSI MPT Fusion SAS 3.0 & SAS 2.0 Device Driver" --- a/drivers/scsi/mpt3sas/mpt3sas_base.c +++ b/drivers/scsi/mpt3sas/mpt3sas_base.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * This is the Fusion MPT base driver providing common API layer interface * for access to MPT (Message Passing Technology) firmware. @@ -6,41 +7,6 @@ * Copyright (C) 2012-2014 LSI Corporation * Copyright (C) 2013-2014 Avago Technologies * (mailto: MPT-FusionLinux.pdl@avagotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include <linux/kernel.h> --- a/drivers/scsi/mpt3sas/mpt3sas_base.h +++ b/drivers/scsi/mpt3sas/mpt3sas_base.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This is the Fusion MPT base driver providing common API layer interface * for access to MPT (Message Passing Technology) firmware. @@ -6,41 +7,6 @@ * Copyright (C) 2012-2014 LSI Corporation * Copyright (C) 2013-2014 Avago Technologies * (mailto: MPT-FusionLinux.pdl@avagotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #ifndef MPT3SAS_BASE_H_INCLUDED --- a/drivers/scsi/mpt3sas/mpt3sas_config.c +++ b/drivers/scsi/mpt3sas/mpt3sas_config.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * This module provides common API for accessing firmware configuration pages * @@ -5,41 +6,6 @@ * Copyright (C) 2012-2014 LSI Corporation * Copyright (C) 2013-2014 Avago Technologies * (mailto: MPT-FusionLinux.pdl@avagotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include <linux/module.h> --- a/drivers/scsi/mpt3sas/mpt3sas_ctl.c +++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Management Module Support for MPT (Message Passing Technology) based * controllers @@ -6,41 +7,6 @@ * Copyright (C) 2012-2014 LSI Corporation * Copyright (C) 2013-2014 Avago Technologies * (mailto: MPT-FusionLinux.pdl@avagotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include <linux/kernel.h> --- a/drivers/scsi/mpt3sas/mpt3sas_ctl.h +++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Management Module Support for MPT (Message Passing Technology) based * controllers @@ -6,41 +7,6 @@ * Copyright (C) 2012-2014 LSI Corporation * Copyright (C) 2013-2014 Avago Technologies * (mailto: MPT-FusionLinux.pdl@avagotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #ifndef MPT3SAS_CTL_H_INCLUDED --- a/drivers/scsi/mpt3sas/mpt3sas_debug.h +++ b/drivers/scsi/mpt3sas/mpt3sas_debug.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Logging Support for MPT (Message Passing Technology) based controllers * @@ -5,41 +6,6 @@ * Copyright (C) 2012-2014 LSI Corporation * Copyright (C) 2013-2014 Avago Technologies * (mailto: MPT-FusionLinux.pdl@avagotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #ifndef MPT3SAS_DEBUG_H_INCLUDED --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c +++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Scsi Host Layer for MPT (Message Passing Technology) based controllers * @@ -5,41 +6,6 @@ * Copyright (C) 2012-2014 LSI Corporation * Copyright (C) 2013-2014 Avago Technologies * (mailto: MPT-FusionLinux.pdl@avagotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include <linux/module.h> --- a/drivers/scsi/mpt3sas/mpt3sas_transport.c +++ b/drivers/scsi/mpt3sas/mpt3sas_transport.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * SAS Transport Layer for MPT (Message Passing Technology) based controllers * @@ -5,41 +6,6 @@ * Copyright (C) 2012-2014 LSI Corporation * Copyright (C) 2013-2014 Avago Technologies * (mailto: MPT-FusionLinux.pdl@avagotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include <linux/module.h> --- a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c +++ b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * This module provides common API to set Diagnostic trigger for MPT * (Message Passing Technology) based controllers @@ -6,41 +7,6 @@ * Copyright (C) 2012-2014 LSI Corporation * Copyright (C) 2013-2014 Avago Technologies * (mailto: MPT-FusionLinux.pdl@avagotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ #include <linux/kernel.h> --- a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h +++ b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * This is the Fusion MPT base driver providing common API layer interface * to set Diagnostic triggers for MPT (Message Passing Technology) based @@ -7,41 +8,6 @@ * Copyright (C) 2012-2014 LSI Corporation * Copyright (C) 2013-2014 Avago Technologies * (mailto: MPT-FusionLinux.pdl@avagotech.com) - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * NO WARRANTY - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is - * solely responsible for determining the appropriateness of using and - * distributing the Program and assumes all risks associated with its - * exercise of rights under this Agreement, including but not limited to - * the risks and costs of program errors, damage to or loss of data, - * programs or equipment, and unavailability or interruption of operations. - - * DISCLAIMER OF LIABILITY - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, - * USA. */ /* Diagnostic Trigger Configuration Data Structures */
Based on 1 normalized pattern(s): this source code is public free you can distribute it and or modify it under terms of the gnu general public license published by the free software foundation either version two of this license or any later version extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 1 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=d69903b6af6a --- drivers/net/ethernet/hp/hp100.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) --- a/drivers/net/ethernet/hp/hp100.h +++ b/drivers/net/ethernet/hp/hp100.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * hp100.h: Hewlett Packard HP10/100VG ANY LAN ethernet driver for Linux. * @@ -7,11 +8,6 @@ * Siegfried Loeffler <floeff@tunix.mathematik.uni-stuttgart.de> * * This driver is based on the 'hpfepkt' crynwr packet driver. - * - * This source/code is public free; you can distribute it and/or modify - * it under terms of the GNU General Public License (published by the - * Free Software Foundation) either version two of this License, or any - * later version. */ /****************************************************************************
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version see the copying file in the top level directory or visit http www gnu org licenses gpl 2 0 html this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details this program is provided as is and with all faults and without warranty of any kind you are solely responsible for determining the appropriateness of using and distributing the program and assume all risks associated with your exercise of rights with respect to the program including but not limited to infringement of third party rights the risks and costs of program errors damage to or loss of data programs or equipment and unavailability or interruption of operations under no circumstances will the contributor of this program be liable for any damages of any kind arising from your use or distribution of this program extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 6 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=62aaf1489146 --- drivers/scsi/ufs/Kconfig | 24 +----------------------- drivers/scsi/ufs/ufs.h | 25 +------------------------ drivers/scsi/ufs/ufshcd-pci.c | 25 +------------------------ drivers/scsi/ufs/ufshcd-pltfrm.c | 25 +------------------------ drivers/scsi/ufs/ufshcd.h | 25 +------------------------ drivers/scsi/ufs/ufshci.h | 25 +------------------------ 6 files changed, 6 insertions(+), 143 deletions(-) --- a/drivers/scsi/ufs/Kconfig +++ b/drivers/scsi/ufs/Kconfig @@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-or-later # # Kernel configuration file for the UFS Host Controller # @@ -8,29 +9,6 @@ # Santosh Yaraganavi <santosh.sy@samsung.com> # Vinayak Holikatti <h.vinayak@samsung.com> # -# This program is free software; you can redistribute it and/or -# modify it under the terms of the GNU General Public License -# as published by the Free Software Foundation; either version 2 -# of the License, or (at your option) any later version. -# See the COPYING file in the top-level directory or visit -# <http://www.gnu.org/licenses/gpl-2.0.html> -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# This program is provided "AS IS" and "WITH ALL FAULTS" and -# without warranty of any kind. You are solely responsible for -# determining the appropriateness of using and distributing -# the program and assume all risks associated with your exercise -# of rights with respect to the program, including but not limited -# to infringement of third party rights, the risks and costs of -# program errors, damage to or loss of data, programs or equipment, -# and unavailability or interruption of operations. Under no -# circumstances will the contributor of this Program be liable for -# any damages of any kind arising from your use or distribution of -# this program. config SCSI_UFSHCD tristate "Universal Flash Storage Controller Driver Core" --- a/drivers/scsi/ufs/ufs.h +++ b/drivers/scsi/ufs/ufs.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Universal Flash Storage Host controller driver * @@ -7,30 +8,6 @@ * Authors: * Santosh Yaraganavi <santosh.sy@samsung.com> * Vinayak Holikatti <h.vinayak@samsung.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * See the COPYING file in the top-level directory or visit - * <http://www.gnu.org/licenses/gpl-2.0.html> - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * This program is provided "AS IS" and "WITH ALL FAULTS" and - * without warranty of any kind. You are solely responsible for - * determining the appropriateness of using and distributing - * the program and assume all risks associated with your exercise - * of rights with respect to the program, including but not limited - * to infringement of third party rights, the risks and costs of - * program errors, damage to or loss of data, programs or equipment, - * and unavailability or interruption of operations. Under no - * circumstances will the contributor of this Program be liable for - * any damages of any kind arising from your use or distribution of - * this program. */ #ifndef _UFS_H --- a/drivers/scsi/ufs/ufshcd-pci.c +++ b/drivers/scsi/ufs/ufshcd-pci.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Universal Flash Storage Host controller PCI glue driver * @@ -7,30 +8,6 @@ * Authors: * Santosh Yaraganavi <santosh.sy@samsung.com> * Vinayak Holikatti <h.vinayak@samsung.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * See the COPYING file in the top-level directory or visit - * <http://www.gnu.org/licenses/gpl-2.0.html> - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * This program is provided "AS IS" and "WITH ALL FAULTS" and - * without warranty of any kind. You are solely responsible for - * determining the appropriateness of using and distributing - * the program and assume all risks associated with your exercise - * of rights with respect to the program, including but not limited - * to infringement of third party rights, the risks and costs of - * program errors, damage to or loss of data, programs or equipment, - * and unavailability or interruption of operations. Under no - * circumstances will the contributor of this Program be liable for - * any damages of any kind arising from your use or distribution of - * this program. */ #include "ufshcd.h" --- a/drivers/scsi/ufs/ufshcd-pltfrm.c +++ b/drivers/scsi/ufs/ufshcd-pltfrm.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Universal Flash Storage Host controller Platform bus based glue driver * @@ -7,30 +8,6 @@ * Authors: * Santosh Yaraganavi <santosh.sy@samsung.com> * Vinayak Holikatti <h.vinayak@samsung.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * See the COPYING file in the top-level directory or visit - * <http://www.gnu.org/licenses/gpl-2.0.html> - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * This program is provided "AS IS" and "WITH ALL FAULTS" and - * without warranty of any kind. You are solely responsible for - * determining the appropriateness of using and distributing - * the program and assume all risks associated with your exercise - * of rights with respect to the program, including but not limited - * to infringement of third party rights, the risks and costs of - * program errors, damage to or loss of data, programs or equipment, - * and unavailability or interruption of operations. Under no - * circumstances will the contributor of this Program be liable for - * any damages of any kind arising from your use or distribution of - * this program. */ #include <linux/platform_device.h> --- a/drivers/scsi/ufs/ufshcd.h +++ b/drivers/scsi/ufs/ufshcd.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Universal Flash Storage Host controller driver * @@ -8,30 +9,6 @@ * Authors: * Santosh Yaraganavi <santosh.sy@samsung.com> * Vinayak Holikatti <h.vinayak@samsung.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * See the COPYING file in the top-level directory or visit - * <http://www.gnu.org/licenses/gpl-2.0.html> - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * This program is provided "AS IS" and "WITH ALL FAULTS" and - * without warranty of any kind. You are solely responsible for - * determining the appropriateness of using and distributing - * the program and assume all risks associated with your exercise - * of rights with respect to the program, including but not limited - * to infringement of third party rights, the risks and costs of - * program errors, damage to or loss of data, programs or equipment, - * and unavailability or interruption of operations. Under no - * circumstances will the contributor of this Program be liable for - * any damages of any kind arising from your use or distribution of - * this program. */ #ifndef _UFSHCD_H --- a/drivers/scsi/ufs/ufshci.h +++ b/drivers/scsi/ufs/ufshci.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Universal Flash Storage Host controller driver * @@ -7,30 +8,6 @@ * Authors: * Santosh Yaraganavi <santosh.sy@samsung.com> * Vinayak Holikatti <h.vinayak@samsung.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - * See the COPYING file in the top-level directory or visit - * <http://www.gnu.org/licenses/gpl-2.0.html> - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * This program is provided "AS IS" and "WITH ALL FAULTS" and - * without warranty of any kind. You are solely responsible for - * determining the appropriateness of using and distributing - * the program and assume all risks associated with your exercise - * of rights with respect to the program, including but not limited - * to infringement of third party rights, the risks and costs of - * program errors, damage to or loss of data, programs or equipment, - * and unavailability or interruption of operations. Under no - * circumstances will the contributor of this Program be liable for - * any damages of any kind arising from your use or distribution of - * this program. */ #ifndef _UFSHCI_H
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public lcodecnse as published by the free software foundation either version 2 of the lcodecnse or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public lcodecnse for more details you should have received a copy of the gnu general public lcodecnse along with this program if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 1 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=0af7d44dd16a --- sound/pci/ali5451/ali5451.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) --- a/sound/pci/ali5451/ali5451.c +++ b/sound/pci/ali5451/ali5451.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Matt Wu <Matt_Wu@acersoftech.com.cn> * Apr 26, 2001 @@ -8,21 +9,6 @@ * * TODO: * -- - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public Lcodecnse as published by - * the Free Software Foundation; either version 2 of the Lcodecnse, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public Lcodecnse for more details. - * - * You should have received a copy of the GNU General Public Lcodecnse - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * */ #include <linux/io.h>
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 or later as published by the free software foundation this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 6 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=09f0fb3be587 --- drivers/leds/leds-cpcap.c | 10 +--------- tools/thermal/tmon/pid.c | 13 +------------ tools/thermal/tmon/sysfs.c | 11 +---------- tools/thermal/tmon/tmon.c | 11 +---------- tools/thermal/tmon/tmon.h | 11 +---------- tools/thermal/tmon/tui.c | 11 +---------- 6 files changed, 6 insertions(+), 61 deletions(-) --- a/drivers/leds/leds-cpcap.c +++ b/drivers/leds/leds-cpcap.c @@ -1,14 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright (c) 2017 Sebastian Reichel <sre@kernel.org> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 or - * later as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. */ #include <linux/leds.h> --- a/tools/thermal/tmon/pid.c +++ b/tools/thermal/tmon/pid.c @@ -1,21 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * pid.c PID controller for testing cooling devices * - * - * * Copyright (C) 2012 Intel Corporation. All rights reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License version - * 2 or later as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * * Author Name Jacob Pan <jacob.jun.pan@linux.intel.com> - * */ #include <unistd.h> --- a/tools/thermal/tmon/sysfs.c +++ b/tools/thermal/tmon/sysfs.c @@ -1,19 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * sysfs.c sysfs ABI access functions for TMON program * * Copyright (C) 2013 Intel Corporation. All rights reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License version - * 2 or later as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * * Author: Jacob Pan <jacob.jun.pan@linux.intel.com> - * */ #include <unistd.h> #include <stdio.h> --- a/tools/thermal/tmon/tmon.c +++ b/tools/thermal/tmon/tmon.c @@ -1,19 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * tmon.c Thermal Monitor (TMON) main function and entry point * * Copyright (C) 2012 Intel Corporation. All rights reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License version - * 2 or later as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * * Author: Jacob Pan <jacob.jun.pan@linux.intel.com> - * */ #include <getopt.h> --- a/tools/thermal/tmon/tmon.h +++ b/tools/thermal/tmon/tmon.h @@ -1,19 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * tmon.h contains data structures and constants used by TMON * * Copyright (C) 2012 Intel Corporation. All rights reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License version - * 2 or later as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * * Author Name Jacob Pan <jacob.jun.pan@linux.intel.com> - * */ #ifndef TMON_H --- a/tools/thermal/tmon/tui.c +++ b/tools/thermal/tmon/tui.c @@ -1,19 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * tui.c ncurses text user interface for TMON program * * Copyright (C) 2013 Intel Corporation. All rights reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License version - * 2 or later as published by the Free Software Foundation. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * * Author: Jacob Pan <jacob.jun.pan@linux.intel.com> - * */ #include <unistd.h>
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa the full gnu general public license is included in this distribution in the file called license extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 4 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=ad37800ef46f --- drivers/isdn/mISDN/dsp_hwec.c | 19 +------------------ drivers/isdn/mISDN/dsp_pipeline.c | 19 +------------------ drivers/net/bonding/bond_3ad.c | 19 +------------------ include/net/bond_3ad.h | 19 +------------------ 4 files changed, 4 insertions(+), 72 deletions(-) --- a/drivers/isdn/mISDN/dsp_hwec.c +++ b/drivers/isdn/mISDN/dsp_hwec.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * dsp_hwec.c: * builtin mISDN dsp pipeline element for enabling the hw echocanceller @@ -5,24 +6,6 @@ * Copyright (C) 2007, Nadi Sarrar * * Nadi Sarrar <nadi@beronet.com> - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 59 - * Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * The full GNU General Public License is included in this distribution in the - * file called LICENSE. - * */ #include <linux/kernel.h> --- a/drivers/isdn/mISDN/dsp_pipeline.c +++ b/drivers/isdn/mISDN/dsp_pipeline.c @@ -1,27 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * dsp_pipeline.c: pipelined audio processing * * Copyright (C) 2007, Nadi Sarrar * * Nadi Sarrar <nadi@beronet.com> - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 59 - * Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * The full GNU General Public License is included in this distribution in the - * file called LICENSE. - * */ #include <linux/kernel.h> --- a/drivers/net/bonding/bond_3ad.c +++ b/drivers/net/bonding/bond_3ad.c @@ -1,23 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 59 - * Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * The full GNU General Public License is included in this distribution in the - * file called LICENSE. - * */ #include <linux/skbuff.h> --- a/include/net/bond_3ad.h +++ b/include/net/bond_3ad.h @@ -1,23 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved. - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along with - * this program; if not, write to the Free Software Foundation, Inc., 59 - * Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * - * The full GNU General Public License is included in this distribution in the - * file called LICENSE. - * */ #ifndef _NET_BOND_3AD_H
Based on 1 normalized pattern(s): is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 or at your option any later version [drbd] is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with [drbd] see the file copying if not write to the free software foundation 675 mass ave cambridge ma 02139 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 16 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=97296f018fbd --- drivers/block/drbd/drbd_actlog.c | 14 +------------- drivers/block/drbd/drbd_bitmap.c | 14 +------------- drivers/block/drbd/drbd_int.h | 14 +------------- drivers/block/drbd/drbd_main.c | 14 +------------- drivers/block/drbd/drbd_nl.c | 14 +------------- drivers/block/drbd/drbd_proc.c | 14 +------------- drivers/block/drbd/drbd_receiver.c | 14 +------------- drivers/block/drbd/drbd_req.c | 14 +------------- drivers/block/drbd/drbd_req.h | 14 +------------- drivers/block/drbd/drbd_state.c | 14 +------------- drivers/block/drbd/drbd_strings.c | 14 +------------- drivers/block/drbd/drbd_vli.h | 14 +------------- drivers/block/drbd/drbd_worker.c | 14 +------------- include/linux/drbd.h | 14 +------------- include/linux/lru_cache.h | 14 +------------- lib/lru_cache.c | 14 +------------- 16 files changed, 16 insertions(+), 208 deletions(-) --- a/drivers/block/drbd/drbd_actlog.c +++ b/drivers/block/drbd/drbd_actlog.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* drbd_actlog.c @@ -7,19 +8,6 @@ Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ --- a/drivers/block/drbd/drbd_bitmap.c +++ b/drivers/block/drbd/drbd_bitmap.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* drbd_bitmap.c @@ -7,19 +8,6 @@ Copyright (C) 2004-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2004-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt --- a/drivers/block/drbd/drbd_int.h +++ b/drivers/block/drbd/drbd_int.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* drbd_int.h @@ -7,19 +8,6 @@ Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ --- a/drivers/block/drbd/drbd_main.c +++ b/drivers/block/drbd/drbd_main.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* drbd.c @@ -10,19 +11,6 @@ Thanks to Carter Burden, Bart Grantham and Gennadiy Nerubayev from Logicworks, Inc. for making SDP replication support possible. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ --- a/drivers/block/drbd/drbd_nl.c +++ b/drivers/block/drbd/drbd_nl.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* drbd_nl.c @@ -7,19 +8,6 @@ Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ --- a/drivers/block/drbd/drbd_proc.c +++ b/drivers/block/drbd/drbd_proc.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* drbd_proc.c @@ -7,19 +8,6 @@ Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ --- a/drivers/block/drbd/drbd_receiver.c +++ b/drivers/block/drbd/drbd_receiver.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* drbd_receiver.c @@ -7,19 +8,6 @@ Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ --- a/drivers/block/drbd/drbd_req.c +++ b/drivers/block/drbd/drbd_req.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* drbd_req.c @@ -7,19 +8,6 @@ Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ --- a/drivers/block/drbd/drbd_req.h +++ b/drivers/block/drbd/drbd_req.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* drbd_req.h @@ -7,19 +8,6 @@ Copyright (C) 2006-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. Copyright (C) 2006-2008, Philipp Reisner <philipp.reisner@linbit.com>. - DRBD is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - DRBD is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef _DRBD_REQ_H --- a/drivers/block/drbd/drbd_state.c +++ b/drivers/block/drbd/drbd_state.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* drbd_state.c @@ -10,19 +11,6 @@ Thanks to Carter Burden, Bart Grantham and Gennadiy Nerubayev from Logicworks, Inc. for making SDP replication support possible. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <linux/drbd_limits.h> --- a/drivers/block/drbd/drbd_strings.c +++ b/drivers/block/drbd/drbd_strings.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* drbd.h @@ -7,19 +8,6 @@ Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ --- a/drivers/block/drbd/drbd_vli.h +++ b/drivers/block/drbd/drbd_vli.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* -*- linux-c -*- drbd_receiver.c @@ -7,19 +8,6 @@ Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef _DRBD_VLI_H --- a/drivers/block/drbd/drbd_worker.c +++ b/drivers/block/drbd/drbd_worker.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* drbd_worker.c @@ -7,19 +8,6 @@ Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ --- a/include/linux/drbd.h +++ b/include/linux/drbd.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* drbd.h Kernel module for 2.6.x Kernels @@ -8,19 +9,6 @@ Copyright (C) 2001-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2001-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef DRBD_H --- a/include/linux/lru_cache.h +++ b/include/linux/lru_cache.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* lru_cache.c @@ -7,19 +8,6 @@ Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ --- a/lib/lru_cache.c +++ b/lib/lru_cache.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* lru_cache.c @@ -7,19 +8,6 @@ Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>. Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>. - drbd is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2, or (at your option) - any later version. - - drbd is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with drbd; see the file COPYING. If not, write to - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
Based on 1 normalized pattern(s): under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this software is provided as is and any express or implied warranties including but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed in no event shall the author be liable for any direct indirect incidental special exemplary or consequential damages including but not limited to procurement of substitute goods or services loss of use data or profits or business interruption however caused and on any theory of liability whether in contract strict liability or tort including negligence or otherwise arising in any way out of the use of this software even if advised of the possibility of such damage you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 675 mass ave cambridge ma 02139 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 1 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=0403f6ca34a5 --- arch/mips/txx9/generic/irq_tx4927.c | 20 +------------------- 1 file changed, 1 insertion(+), 19 deletions(-) --- a/arch/mips/txx9/generic/irq_tx4927.c +++ b/arch/mips/txx9/generic/irq_tx4927.c @@ -1,27 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Common tx4927 irq handler * * Author: MontaVista Software, Inc. * source@mvista.com - * - * under the terms of the GNU General Public License as published by the - * Free Software Foundation; either version 2 of the License, or (at your - * option) any later version. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE - * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 675 Mass Ave, Cambridge, MA 02139, USA. */ #include <linux/init.h> #include <linux/interrupt.h>
Based on 1 normalized pattern(s): this code is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not see http www gnu org licenses extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 1 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=6ace6e5335d1 --- net/netfilter/ipvs/ip_vs_nfct.c | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) --- a/net/netfilter/ipvs/ip_vs_nfct.c +++ b/net/netfilter/ipvs/ip_vs_nfct.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * ip_vs_nfct.c: Netfilter connection tracking support for IPVS * @@ -7,27 +8,11 @@ * Portions Copyright (C) 2003-2010 * Julian Anastasov * - * - * This code is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, see <http://www.gnu.org/licenses/>. - * - * * Authors: * Ben North <ben@redfrontdoor.org> * Julian Anastasov <ja@ssi.bg> Reorganize and sync with latest kernels * Hannes Eder <heder@google.com> Extend NFCT support for FTP, ipvs match * - * * Current status: * * - provide conntrack confirmation for new and related connections, by @@ -43,7 +28,6 @@ * when RELATED conntrack is created from real server (Active FTP DATA) * - if iptables_nat is not loaded the Passive FTP will not work (the * PASV response can not be NAT-ed) but Active FTP should work - * */ #define KMSG_COMPONENT "IPVS"
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the smems of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 1 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=6339e329590c --- drivers/w1/slaves/w1_smem.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) --- a/drivers/w1/slaves/w1_smem.c +++ b/drivers/w1/slaves/w1_smem.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * w1_smem.c * * Copyright (c) 2004 Evgeniy Polyakov <zbr@ioremap.net> - * - * - * This program is free software; you can redistribute it and/or modify - * it under the smems of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <asm/types.h>
Based on 1 normalized pattern(s): library are free software you can redistribute them and or modify them under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program see the file copying if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 1 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=7f9e7d83404b --- lib/decompress_unlzo.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) --- a/lib/decompress_unlzo.c +++ b/lib/decompress_unlzo.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * LZO decompressor for the Linux kernel. Code borrowed from the lzo * implementation by Markus Franz Xaver Johannes Oberhumer. @@ -10,21 +11,6 @@ * Copyright (C) 1996-2005 Markus Franz Xaver Johannes Oberhumer * All Rights Reserved. * - * lzop and the LZO library are free software; you can redistribute them - * and/or modify them under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of - * the License, or (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program; see the file COPYING. - * If not, write to the Free Software Foundation, Inc., - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. - * * Markus F.X.J. Oberhumer * <markus@oberhumer.com> * http://www.oberhumer.com/opensource/lzop/
Based on 1 normalized pattern(s): this program include file is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program include file is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program in the main directory of the linux [ntfs] distribution in the file copying if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 43 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=5f91b170281a --- fs/ntfs/aops.c | 16 +--------------- fs/ntfs/aops.h | 16 +--------------- fs/ntfs/attrib.c | 16 +--------------- fs/ntfs/attrib.h | 16 +--------------- fs/ntfs/bitmap.c | 16 +--------------- fs/ntfs/bitmap.h | 16 +--------------- fs/ntfs/collate.c | 16 +--------------- fs/ntfs/collate.h | 16 +--------------- fs/ntfs/compress.c | 16 +--------------- fs/ntfs/debug.c | 16 +--------------- fs/ntfs/debug.h | 16 +--------------- fs/ntfs/dir.c | 16 +--------------- fs/ntfs/dir.h | 16 +--------------- fs/ntfs/endian.h | 16 +--------------- fs/ntfs/file.c | 16 +--------------- fs/ntfs/index.c | 16 +--------------- fs/ntfs/index.h | 16 +--------------- fs/ntfs/inode.c | 16 +--------------- fs/ntfs/inode.h | 16 +--------------- fs/ntfs/layout.h | 16 +--------------- fs/ntfs/lcnalloc.c | 16 +--------------- fs/ntfs/lcnalloc.h | 16 +--------------- fs/ntfs/logfile.c | 16 +--------------- fs/ntfs/logfile.h | 16 +--------------- fs/ntfs/malloc.h | 16 +--------------- fs/ntfs/mft.c | 16 +--------------- fs/ntfs/mft.h | 16 +--------------- fs/ntfs/mst.c | 16 +--------------- fs/ntfs/namei.c | 16 +--------------- fs/ntfs/ntfs.h | 16 +--------------- fs/ntfs/quota.c | 16 +--------------- fs/ntfs/quota.h | 16 +--------------- fs/ntfs/runlist.c | 16 +--------------- fs/ntfs/runlist.h | 16 +--------------- fs/ntfs/super.c | 16 +--------------- fs/ntfs/sysctl.c | 16 +--------------- fs/ntfs/sysctl.h | 16 +--------------- fs/ntfs/time.h | 16 +--------------- fs/ntfs/types.h | 16 +--------------- fs/ntfs/unistr.c | 16 +--------------- fs/ntfs/usnjrnl.c | 16 +--------------- fs/ntfs/usnjrnl.h | 16 +--------------- fs/ntfs/volume.h | 16 +--------------- 43 files changed, 43 insertions(+), 645 deletions(-) --- a/fs/ntfs/aops.c +++ b/fs/ntfs/aops.c @@ -1,23 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /** * aops.c - NTFS kernel address space operations and page cache handling. * * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. * Copyright (c) 2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/errno.h> --- a/fs/ntfs/aops.h +++ b/fs/ntfs/aops.h @@ -1,24 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /** * aops.h - Defines for NTFS kernel address space operations and page cache * handling. Part of the Linux-NTFS project. * * Copyright (c) 2001-2004 Anton Altaparmakov * Copyright (c) 2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_AOPS_H --- a/fs/ntfs/attrib.c +++ b/fs/ntfs/attrib.c @@ -1,23 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /** * attrib.c - NTFS attribute operations. Part of the Linux-NTFS project. * * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. * Copyright (c) 2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/buffer_head.h> --- a/fs/ntfs/attrib.h +++ b/fs/ntfs/attrib.h @@ -1,24 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * attrib.h - Defines for attribute handling in NTFS Linux kernel driver. * Part of the Linux-NTFS project. * * Copyright (c) 2001-2005 Anton Altaparmakov * Copyright (c) 2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_ATTRIB_H --- a/fs/ntfs/bitmap.c +++ b/fs/ntfs/bitmap.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * bitmap.c - NTFS kernel bitmap handling. Part of the Linux-NTFS project. * * Copyright (c) 2004-2005 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef NTFS_RW --- a/fs/ntfs/bitmap.h +++ b/fs/ntfs/bitmap.h @@ -1,23 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * bitmap.h - Defines for NTFS kernel bitmap handling. Part of the Linux-NTFS * project. * * Copyright (c) 2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_BITMAP_H --- a/fs/ntfs/collate.c +++ b/fs/ntfs/collate.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * collate.c - NTFS kernel collation handling. Part of the Linux-NTFS project. * * Copyright (c) 2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "collate.h" --- a/fs/ntfs/collate.h +++ b/fs/ntfs/collate.h @@ -1,23 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * collate.h - Defines for NTFS kernel collation handling. Part of the * Linux-NTFS project. * * Copyright (c) 2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_COLLATE_H --- a/fs/ntfs/compress.c +++ b/fs/ntfs/compress.c @@ -1,24 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /** * compress.c - NTFS kernel compressed attributes handling. * Part of the Linux-NTFS project. * * Copyright (c) 2001-2004 Anton Altaparmakov * Copyright (c) 2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/fs.h> --- a/fs/ntfs/debug.c +++ b/fs/ntfs/debug.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * debug.c - NTFS kernel debug support. Part of the Linux-NTFS project. * * Copyright (c) 2001-2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include "debug.h" --- a/fs/ntfs/debug.h +++ b/fs/ntfs/debug.h @@ -1,22 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * debug.h - NTFS kernel debug support. Part of the Linux-NTFS project. * * Copyright (c) 2001-2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_DEBUG_H --- a/fs/ntfs/dir.c +++ b/fs/ntfs/dir.c @@ -1,23 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /** * dir.c - NTFS kernel directory operations. Part of the Linux-NTFS project. * * Copyright (c) 2001-2007 Anton Altaparmakov * Copyright (c) 2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/buffer_head.h> --- a/fs/ntfs/dir.h +++ b/fs/ntfs/dir.h @@ -1,23 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * dir.h - Defines for directory handling in NTFS Linux kernel driver. Part of * the Linux-NTFS project. * * Copyright (c) 2002-2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_DIR_H --- a/fs/ntfs/endian.h +++ b/fs/ntfs/endian.h @@ -1,23 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * endian.h - Defines for endianness handling in NTFS Linux kernel driver. * Part of the Linux-NTFS project. * * Copyright (c) 2001-2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_ENDIAN_H --- a/fs/ntfs/file.c +++ b/fs/ntfs/file.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * file.c - NTFS kernel file operations. Part of the Linux-NTFS project. * * Copyright (c) 2001-2015 Anton Altaparmakov and Tuxera Inc. - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/backing-dev.h> --- a/fs/ntfs/index.c +++ b/fs/ntfs/index.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * index.c - NTFS kernel index handling. Part of the Linux-NTFS project. * * Copyright (c) 2004-2005 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/slab.h> --- a/fs/ntfs/index.h +++ b/fs/ntfs/index.h @@ -1,23 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * index.h - Defines for NTFS kernel index handling. Part of the Linux-NTFS * project. * * Copyright (c) 2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_INDEX_H --- a/fs/ntfs/inode.c +++ b/fs/ntfs/inode.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /** * inode.c - NTFS kernel inode handling. * * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/buffer_head.h> --- a/fs/ntfs/inode.h +++ b/fs/ntfs/inode.h @@ -1,24 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * inode.h - Defines for inode structures NTFS Linux kernel driver. Part of * the Linux-NTFS project. * * Copyright (c) 2001-2007 Anton Altaparmakov * Copyright (c) 2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_INODE_H --- a/fs/ntfs/layout.h +++ b/fs/ntfs/layout.h @@ -1,24 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * layout.h - All NTFS associated on-disk structures. Part of the Linux-NTFS * project. * * Copyright (c) 2001-2005 Anton Altaparmakov * Copyright (c) 2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_LAYOUT_H --- a/fs/ntfs/lcnalloc.c +++ b/fs/ntfs/lcnalloc.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * lcnalloc.c - Cluster (de)allocation code. Part of the Linux-NTFS project. * * Copyright (c) 2004-2005 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef NTFS_RW --- a/fs/ntfs/lcnalloc.h +++ b/fs/ntfs/lcnalloc.h @@ -1,23 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * lcnalloc.h - Exports for NTFS kernel cluster (de)allocation. Part of the * Linux-NTFS project. * * Copyright (c) 2004-2005 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_LCNALLOC_H --- a/fs/ntfs/logfile.c +++ b/fs/ntfs/logfile.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * logfile.c - NTFS kernel journal handling. Part of the Linux-NTFS project. * * Copyright (c) 2002-2007 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef NTFS_RW --- a/fs/ntfs/logfile.h +++ b/fs/ntfs/logfile.h @@ -1,23 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * logfile.h - Defines for NTFS kernel journal ($LogFile) handling. Part of * the Linux-NTFS project. * * Copyright (c) 2000-2005 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_LOGFILE_H --- a/fs/ntfs/malloc.h +++ b/fs/ntfs/malloc.h @@ -1,22 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * malloc.h - NTFS kernel memory handling. Part of the Linux-NTFS project. * * Copyright (c) 2001-2005 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_MALLOC_H --- a/fs/ntfs/mft.c +++ b/fs/ntfs/mft.c @@ -1,23 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /** * mft.c - NTFS kernel mft record operations. Part of the Linux-NTFS project. * * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. * Copyright (c) 2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/buffer_head.h> --- a/fs/ntfs/mft.h +++ b/fs/ntfs/mft.h @@ -1,23 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * mft.h - Defines for mft record handling in NTFS Linux kernel driver. * Part of the Linux-NTFS project. * * Copyright (c) 2001-2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_MFT_H --- a/fs/ntfs/mst.c +++ b/fs/ntfs/mst.c @@ -1,23 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * mst.c - NTFS multi sector transfer protection handling code. Part of the * Linux-NTFS project. * * Copyright (c) 2001-2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "ntfs.h" --- a/fs/ntfs/namei.c +++ b/fs/ntfs/namei.c @@ -1,23 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * namei.c - NTFS kernel directory inode operations. Part of the Linux-NTFS * project. * * Copyright (c) 2001-2006 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/dcache.h> --- a/fs/ntfs/ntfs.h +++ b/fs/ntfs/ntfs.h @@ -1,23 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ntfs.h - Defines for NTFS Linux kernel driver. * * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc. * Copyright (C) 2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_H --- a/fs/ntfs/quota.c +++ b/fs/ntfs/quota.c @@ -1,23 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * quota.c - NTFS kernel quota ($Quota) handling. Part of the Linux-NTFS * project. * * Copyright (c) 2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef NTFS_RW --- a/fs/ntfs/quota.h +++ b/fs/ntfs/quota.h @@ -1,23 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * quota.h - Defines for NTFS kernel quota ($Quota) handling. Part of the * Linux-NTFS project. * * Copyright (c) 2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_QUOTA_H --- a/fs/ntfs/runlist.c +++ b/fs/ntfs/runlist.c @@ -1,23 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /** * runlist.c - NTFS runlist handling code. Part of the Linux-NTFS project. * * Copyright (c) 2001-2007 Anton Altaparmakov * Copyright (c) 2002-2005 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "debug.h" --- a/fs/ntfs/runlist.h +++ b/fs/ntfs/runlist.h @@ -1,24 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * runlist.h - Defines for runlist handling in NTFS Linux kernel driver. * Part of the Linux-NTFS project. * * Copyright (c) 2001-2005 Anton Altaparmakov * Copyright (c) 2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_RUNLIST_H --- a/fs/ntfs/super.c +++ b/fs/ntfs/super.c @@ -1,23 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * super.c - NTFS kernel super block handling. Part of the Linux-NTFS project. * * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc. * Copyright (c) 2001,2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt --- a/fs/ntfs/sysctl.c +++ b/fs/ntfs/sysctl.c @@ -1,24 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * sysctl.c - Code for sysctl handling in NTFS Linux kernel driver. Part of * the Linux-NTFS project. Adapted from the old NTFS driver, * Copyright (C) 1997 Martin von Löwis, Régis Duchesne * * Copyright (c) 2002-2005 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef DEBUG --- a/fs/ntfs/sysctl.h +++ b/fs/ntfs/sysctl.h @@ -1,24 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * sysctl.h - Defines for sysctl handling in NTFS Linux kernel driver. Part of * the Linux-NTFS project. Adapted from the old NTFS driver, * Copyright (C) 1997 Martin von Löwis, Régis Duchesne * * Copyright (c) 2002-2004 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_SYSCTL_H --- a/fs/ntfs/time.h +++ b/fs/ntfs/time.h @@ -1,22 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * time.h - NTFS time conversion functions. Part of the Linux-NTFS project. * * Copyright (c) 2001-2005 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_TIME_H --- a/fs/ntfs/types.h +++ b/fs/ntfs/types.h @@ -1,23 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * types.h - Defines for NTFS Linux kernel driver specific types. * Part of the Linux-NTFS project. * * Copyright (c) 2001-2005 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_TYPES_H --- a/fs/ntfs/unistr.c +++ b/fs/ntfs/unistr.c @@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * unistr.c - NTFS Unicode string handling. Part of the Linux-NTFS project. * * Copyright (c) 2001-2006 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include <linux/slab.h> --- a/fs/ntfs/usnjrnl.c +++ b/fs/ntfs/usnjrnl.c @@ -1,23 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * usnjrnl.h - NTFS kernel transaction log ($UsnJrnl) handling. Part of the * Linux-NTFS project. * * Copyright (c) 2005 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifdef NTFS_RW --- a/fs/ntfs/usnjrnl.h +++ b/fs/ntfs/usnjrnl.h @@ -1,23 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * usnjrnl.h - Defines for NTFS kernel transaction log ($UsnJrnl) handling. * Part of the Linux-NTFS project. * * Copyright (c) 2005 Anton Altaparmakov - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_USNJRNL_H --- a/fs/ntfs/volume.h +++ b/fs/ntfs/volume.h @@ -1,24 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * volume.h - Defines for volume structures in NTFS Linux kernel driver. Part * of the Linux-NTFS project. * * Copyright (c) 2001-2006 Anton Altaparmakov * Copyright (c) 2002 Richard Russon - * - * This program/include file is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as published - * by the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program/include file is distributed in the hope that it will be - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS - * distribution in the file COPYING); if not, write to the Free Software - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #ifndef _LINUX_NTFS_VOLUME_H
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version this program is distributed in the hope that it will be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose see the gnu general public license for more details you should have received a copy of the gnu general public license along with this program in the main directory of the linux [ntfs] source in the file copying if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 1 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=09e70c6fcafd --- fs/ntfs/upcase.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) --- a/fs/ntfs/upcase.c +++ b/fs/ntfs/upcase.c @@ -1,24 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * upcase.c - Generate the full NTFS Unicode upcase table in little endian. * Part of the Linux-NTFS project. * * Copyright (c) 2001 Richard Russon <ntfs@flatcap.org> * Copyright (c) 2001-2006 Anton Altaparmakov - * - * This program is free software; you can redistribute it and/or modify it - * under the terms of the GNU General Public License as published by the Free - * Software Foundation; either version 2 of the License, or (at your option) - * any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program (in the main directory of the Linux-NTFS source - * in the file COPYING); if not, write to the Free Software Foundation, - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ #include "malloc.h"
Based on 1 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your optional any later version of the license extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 3 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=24eb93ccafe6 --- arch/powerpc/kvm/book3s.h | 7 +------ include/linux/dma-contiguous.h | 6 +----- mm/cma.c | 6 +----- 3 files changed, 3 insertions(+), 16 deletions(-) --- a/arch/powerpc/kvm/book3s.h +++ b/arch/powerpc/kvm/book3s.h @@ -1,12 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Copyright IBM Corporation, 2013 * Author Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License or (at your optional) any later version of the license. - * */ #ifndef __POWERPC_KVM_BOOK3S_H__ --- a/include/linux/dma-contiguous.h +++ b/include/linux/dma-contiguous.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ #ifndef __LINUX_CMA_H #define __LINUX_CMA_H @@ -7,11 +8,6 @@ * Written by: * Marek Szyprowski <m.szyprowski@samsung.com> * Michal Nazarewicz <mina86@mina86.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License or (at your optional) any later version of the license. */ /* --- a/mm/cma.c +++ b/mm/cma.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Contiguous Memory Allocator * @@ -9,11 +10,6 @@ * Michal Nazarewicz <mina86@mina86.com> * Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> * Joonsoo Kim <iamjoonsoo.kim@lge.com> - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License as - * published by the Free Software Foundation; either version 2 of the - * License or (at your optional) any later version of the license. */ #define pr_fmt(fmt) "cma: " fmt
Based on 4 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version neither [wim] [van] [sebroeck] nor [iguana] [vzw] admit liability nor provide warranty for any of this software this material is provided as is and at no charge this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version neither [kernel] [concepts] nor [nils] [faerber] admit liability nor provide warranty for any of this software this material is provided as is and at no charge this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version neither [oleg] [drokin] nor [ixcelerator] [com] admit liability nor provide warranty for any of this software this material is provided as is and at no charge this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version neither [alan] [cox] [cymrunet] [ltd] [wim] [van] [sebroeck] nor [iguana] [vzw] admit liability nor provide warranty for any of this software this material is provided as is and at no charge extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 10 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=ccd5369168d2 --- drivers/watchdog/iTCO_vendor_support.c | 6 +----- drivers/watchdog/iTCO_wdt.c | 6 +----- drivers/watchdog/nv_tco.h | 14 +++++--------- drivers/watchdog/pcwd_pci.c | 6 +----- drivers/watchdog/pcwd_usb.c | 6 +----- drivers/watchdog/sa1100_wdt.c | 6 +----- drivers/watchdog/sch311x_wdt.c | 6 +----- drivers/watchdog/watchdog_core.c | 6 +----- drivers/watchdog/watchdog_core.h | 6 +----- drivers/watchdog/watchdog_dev.c | 7 +------ 10 files changed, 14 insertions(+), 55 deletions(-) --- a/drivers/watchdog/iTCO_vendor_support.c +++ b/drivers/watchdog/iTCO_vendor_support.c @@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * intel TCO vendor specific watchdog driver support * * (c) Copyright 2006-2009 Wim Van Sebroeck <wim@iguana.be>. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Wim Van Sebroeck nor Iguana vzw. admit liability nor * provide warranty for any of this software. This material is * provided "AS-IS" and at no charge. --- a/drivers/watchdog/iTCO_wdt.c +++ b/drivers/watchdog/iTCO_wdt.c @@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * intel TCO Watchdog Driver * * (c) Copyright 2006-2011 Wim Van Sebroeck <wim@iguana.be>. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Wim Van Sebroeck nor Iguana vzw. admit liability nor * provide warranty for any of this software. This material is * provided "AS-IS" and at no charge. --- a/drivers/watchdog/nv_tco.h +++ b/drivers/watchdog/nv_tco.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * nv_tco: TCO timer driver for nVidia chipsets. * @@ -6,19 +7,14 @@ * Supported Chipsets: * - MCP51/MCP55 * - * (c) Copyright 2000 kernel concepts <nils@kernelconcepts.de>, All Rights - * Reserved. - * http://www.kernelconcepts.de - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither kernel concepts nor Nils Faerber admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge. * + * (c) Copyright 2000 kernel concepts <nils@kernelconcepts.de>, All Rights + * Reserved. + * http://www.kernelconcepts.de + * * (c) Copyright 2000 kernel concepts <nils@kernelconcepts.de> * developed for * Jentro AG, Haar/Munich (Germany) --- a/drivers/watchdog/pcwd_pci.c +++ b/drivers/watchdog/pcwd_pci.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Berkshire PCI-PC Watchdog Card Driver * @@ -10,11 +11,6 @@ * Matt Domsch <Matt_Domsch@dell.com>, * Rob Radez <rob@osinvestor.com> * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Wim Van Sebroeck nor Iguana vzw. admit liability nor * provide warranty for any of this software. This material is * provided "AS-IS" and at no charge. --- a/drivers/watchdog/pcwd_usb.c +++ b/drivers/watchdog/pcwd_usb.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Berkshire USB-PC Watchdog Card Driver * @@ -10,11 +11,6 @@ * Rob Radez <rob@osinvestor.com>, * Greg Kroah-Hartman <greg@kroah.com> * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Wim Van Sebroeck nor Iguana vzw. admit liability nor * provide warranty for any of this software. This material is * provided "AS-IS" and at no charge. --- a/drivers/watchdog/sa1100_wdt.c +++ b/drivers/watchdog/sa1100_wdt.c @@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Watchdog driver for the SA11x0/PXA2xx * * (c) Copyright 2000 Oleg Drokin <green@crimea.edu> * Based on SoftDog driver by Alan Cox <alan@lxorguk.ukuu.org.uk> * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Oleg Drokin nor iXcelerator.com admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge. --- a/drivers/watchdog/sch311x_wdt.c +++ b/drivers/watchdog/sch311x_wdt.c @@ -1,14 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * sch311x_wdt.c - Driver for the SCH311x Super-I/O chips * integrated watchdog. * * (c) Copyright 2008 Wim Van Sebroeck <wim@iguana.be>. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Wim Van Sebroeck nor Iguana vzw. admit liability nor * provide warranty for any of this software. This material is * provided "AS-IS" and at no charge. --- a/drivers/watchdog/watchdog_core.c +++ b/drivers/watchdog/watchdog_core.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * watchdog_core.c * @@ -16,11 +17,6 @@ * Satyam Sharma <satyam@infradead.org> * Randy Dunlap <randy.dunlap@oracle.com> * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox, CymruNet Ltd., Wim Van Sebroeck nor Iguana vzw. * admit liability nor provide warranty for any of this software. * This material is provided "AS-IS" and at no charge. --- a/drivers/watchdog/watchdog_core.h +++ b/drivers/watchdog/watchdog_core.h @@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * watchdog_core.h * @@ -16,11 +17,6 @@ * Satyam Sharma <satyam@infradead.org> * Randy Dunlap <randy.dunlap@oracle.com> * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox, CymruNet Ltd., Wim Van Sebroeck nor Iguana vzw. * admit liability nor provide warranty for any of this software. * This material is provided "AS-IS" and at no charge. --- a/drivers/watchdog/watchdog_dev.c +++ b/drivers/watchdog/watchdog_dev.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * watchdog_dev.c * @@ -6,7 +7,6 @@ * * (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>. * - * * This source code is part of the generic code that can be used * by all the watchdog timer drivers. * @@ -20,11 +20,6 @@ * Satyam Sharma <satyam@infradead.org> * Randy Dunlap <randy.dunlap@oracle.com> * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox, CymruNet Ltd., Wim Van Sebroeck nor Iguana vzw. * admit liability nor provide warranty for any of this software. * This material is provided "AS-IS" and at no charge.
Based on 2 normalized pattern(s): this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version neither [alan] [cox] [nor] [cymrunet] [ltd] admit liability nor provide warranty for any of this software this material is provided as is and at no charge this program is free software you can redistribute it and or modify it under the terms of the gnu general public license as published by the free software foundation either version 2 of the license or at your option any later version neither [sven] [anders] [marcus] [junker] [nor] [anduras] [ag] admit liability nor provide warranty for any of this software this material is provided as is and at no charge extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 12 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> --- https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=7b902cbba10f --- arch/um/drivers/harddog_kern.c | 6 +----- drivers/watchdog/acquirewdt.c | 6 +----- drivers/watchdog/advantechwdt.c | 6 +----- drivers/watchdog/eurotechwdt.c | 6 +----- drivers/watchdog/ib700wdt.c | 6 +----- drivers/watchdog/pc87413_wdt.c | 6 +----- drivers/watchdog/sbc8360.c | 6 +----- drivers/watchdog/softdog.c | 5 ----- drivers/watchdog/w83627hf_wdt.c | 6 +----- drivers/watchdog/wafer5823wdt.c | 6 +----- drivers/watchdog/wdt.c | 5 ----- drivers/watchdog/wdt_pci.c | 5 ----- 12 files changed, 9 insertions(+), 60 deletions(-) --- a/arch/um/drivers/harddog_kern.c +++ b/arch/um/drivers/harddog_kern.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* UML hardware watchdog, shamelessly stolen from: * * SoftDog 0.05: A Software Watchdog Device @@ -5,11 +6,6 @@ * (c) Copyright 1996 Alan Cox <alan@redhat.com>, All Rights Reserved. * http://www.redhat.com * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge. --- a/drivers/watchdog/acquirewdt.c +++ b/drivers/watchdog/acquirewdt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Acquire Single Board Computer Watchdog Timer driver * @@ -6,11 +7,6 @@ * (c) Copyright 1996 Alan Cox <alan@lxorguk.ukuu.org.uk>, * All Rights Reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge. --- a/drivers/watchdog/advantechwdt.c +++ b/drivers/watchdog/advantechwdt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Advantech Single Board Computer WDT driver * @@ -9,11 +10,6 @@ * (c) Copyright 1996 Alan Cox <alan@lxorguk.ukuu.org.uk>, * All Rights Reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge. --- a/drivers/watchdog/eurotechwdt.c +++ b/drivers/watchdog/eurotechwdt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * Eurotech CPU-1220/1410/1420 on board WDT driver * @@ -11,11 +12,6 @@ * (c) Copyright 1996-1997 Alan Cox <alan@lxorguk.ukuu.org.uk>, * All Rights Reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge. --- a/drivers/watchdog/ib700wdt.c +++ b/drivers/watchdog/ib700wdt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * IB700 Single Board Computer WDT driver * @@ -14,11 +15,6 @@ * (c) Copyright 1996 Alan Cox <alan@lxorguk.ukuu.org.uk>, * All Rights Reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge. --- a/drivers/watchdog/pc87413_wdt.c +++ b/drivers/watchdog/pc87413_wdt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * NS pc87413-wdt Watchdog Timer driver for Linux 2.6.x.x * @@ -6,11 +7,6 @@ * (C) Copyright 2006 Sven Anders, <anders@anduras.de> * and Marcus Junker, <junker@anduras.de> * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Sven Anders, Marcus Junker nor ANDURAS AG * admit liability nor provide warranty for any of this software. * This material is provided "AS-IS" and at no charge. --- a/drivers/watchdog/sbc8360.c +++ b/drivers/watchdog/sbc8360.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * SBC8360 Watchdog driver * @@ -19,11 +20,6 @@ * (c) Copyright 1996 Alan Cox <alan@lxorguk.ukuu.org.uk>, * All Rights Reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge. --- a/drivers/watchdog/softdog.c +++ b/drivers/watchdog/softdog.c @@ -4,11 +4,6 @@ * (c) Copyright 1996 Alan Cox <alan@lxorguk.ukuu.org.uk>, * All Rights Reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge. --- a/drivers/watchdog/w83627hf_wdt.c +++ b/drivers/watchdog/w83627hf_wdt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * w83627hf/thf WDT driver * @@ -17,11 +18,6 @@ * (c) Copyright 1996 Alan Cox <alan@lxorguk.ukuu.org.uk>, * All Rights Reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge. --- a/drivers/watchdog/wafer5823wdt.c +++ b/drivers/watchdog/wafer5823wdt.c @@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-or-later /* * ICP Wafer 5823 Single Board Computer WDT driver * http://www.icpamerica.com/wafer_5823.php @@ -13,11 +14,6 @@ * (c) Copyright 1996-1997 Alan Cox <alan@lxorguk.ukuu.org.uk>, * All Rights Reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge. --- a/drivers/watchdog/wdt.c +++ b/drivers/watchdog/wdt.c @@ -4,11 +4,6 @@ * (c) Copyright 1996-1997 Alan Cox <alan@lxorguk.ukuu.org.uk>, * All Rights Reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge. --- a/drivers/watchdog/wdt_pci.c +++ b/drivers/watchdog/wdt_pci.c @@ -4,11 +4,6 @@ * (c) Copyright 1996-1997 Alan Cox <alan@lxorguk.ukuu.org.uk>, * All Rights Reserved. * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version - * 2 of the License, or (at your option) any later version. - * * Neither Alan Cox nor CymruNet Ltd. admit liability nor provide * warranty for any of this software. This material is provided * "AS-IS" and at no charge.
Reviewed-by: Armijn Hemel <armijn@tjaldur.nl>
> Based on 1 normalized pattern(s):
>
> gdb gas and the gnu binutils are free software you can redistribute
> them and or modify them under the terms of the gnu general public
> license as published by the free software foundation either version
> 2 or at your option any later version gdb gas and the gnu binutils
> are distributed in the hope that they will be useful but without any
> warranty without even the implied warranty of merchantability or
> fitness for a particular purpose see the gnu general public license
> for more details you should have received a copy of the gnu general
> public license along with this file see the file copying if not
> write to the free software foundation 51 franklin street fifth floor
> boston ma 02110 1301 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 2 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=32fb12ed1b66
> ---
> arch/powerpc/xmon/ppc-dis.c | 15 ++-------------
> arch/powerpc/xmon/ppc-opc.c | 16 ++--------------
> 2 files changed, 4 insertions(+), 27 deletions(-)
>
> --- a/arch/powerpc/xmon/ppc-dis.c
> +++ b/arch/powerpc/xmon/ppc-dis.c
> @@ -1,22 +1,11 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* ppc-dis.c -- Disassemble PowerPC instructions
> Copyright (C) 1994-2016 Free Software Foundation, Inc.
> Written by Ian Lance Taylor, Cygnus Support
>
> This file is part of GDB, GAS, and the GNU binutils.
>
> -GDB, GAS, and the GNU binutils are free software; you can redistribute
> -them and/or modify them under the terms of the GNU General Public
> -License as published by the Free Software Foundation; either version
> -2, or (at your option) any later version.
> -
> -GDB, GAS, and the GNU binutils are distributed in the hope that they
> -will be useful, but WITHOUT ANY WARRANTY; without even the implied
> -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
> -the GNU General Public License for more details.
> -
> -You should have received a copy of the GNU General Public License
> -along with this file; see the file COPYING. If not, write to the Free
> -Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
> + */
>
> #include <asm/cputable.h>
> #include <asm/cpu_has_feature.h>
> --- a/arch/powerpc/xmon/ppc-opc.c
> +++ b/arch/powerpc/xmon/ppc-opc.c
> @@ -1,23 +1,11 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* ppc-opc.c -- PowerPC opcode list
> Copyright (C) 1994-2016 Free Software Foundation, Inc.
> Written by Ian Lance Taylor, Cygnus Support
>
> This file is part of GDB, GAS, and the GNU binutils.
>
> - GDB, GAS, and the GNU binutils are free software; you can redistribute
> - them and/or modify them under the terms of the GNU General Public
> - License as published by the Free Software Foundation; either version
> - 2, or (at your option) any later version.
> -
> - GDB, GAS, and the GNU binutils are distributed in the hope that they
> - will be useful, but WITHOUT ANY WARRANTY; without even the implied
> - warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
> - the GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with this file; see the file COPYING. If not, write to the Free
> - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
> - 02110-1301, USA. */
> + */
>
> #include <linux/stddef.h>
> #include <linux/kernel.h>
>
>
--
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> gdb gas and the gnu binutils are free software you can redistribute
> them and or modify them under the terms of the gnu general public
> license as published by the free software foundation either version
> 2 or at your option any later version gdb gas and the gnu binutils
> are distributed in the hope that they will be useful but without any
> warranty without even the implied warranty of merchantability or
> fitness for a particular purpose see the gnu general public license
> for more details you should have received a copy of the gnu general
> public license along with this file see the file copying if not
> write to the free software foundation 51 franklin street fifth floor
> boston ma 02110 1301 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 2 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=32fb12ed1b66
> ---
> arch/powerpc/xmon/ppc-dis.c | 15 ++-------------
> arch/powerpc/xmon/ppc-opc.c | 16 ++--------------
> 2 files changed, 4 insertions(+), 27 deletions(-)
>
> --- a/arch/powerpc/xmon/ppc-dis.c
> +++ b/arch/powerpc/xmon/ppc-dis.c
> @@ -1,22 +1,11 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* ppc-dis.c -- Disassemble PowerPC instructions
> Copyright (C) 1994-2016 Free Software Foundation, Inc.
> Written by Ian Lance Taylor, Cygnus Support
>
> This file is part of GDB, GAS, and the GNU binutils.
>
> -GDB, GAS, and the GNU binutils are free software; you can redistribute
> -them and/or modify them under the terms of the GNU General Public
> -License as published by the Free Software Foundation; either version
> -2, or (at your option) any later version.
> -
> -GDB, GAS, and the GNU binutils are distributed in the hope that they
> -will be useful, but WITHOUT ANY WARRANTY; without even the implied
> -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
> -the GNU General Public License for more details.
> -
> -You should have received a copy of the GNU General Public License
> -along with this file; see the file COPYING. If not, write to the Free
> -Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
> + */
>
> #include <asm/cputable.h>
> #include <asm/cpu_has_feature.h>
> --- a/arch/powerpc/xmon/ppc-opc.c
> +++ b/arch/powerpc/xmon/ppc-opc.c
> @@ -1,23 +1,11 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* ppc-opc.c -- PowerPC opcode list
> Copyright (C) 1994-2016 Free Software Foundation, Inc.
> Written by Ian Lance Taylor, Cygnus Support
>
> This file is part of GDB, GAS, and the GNU binutils.
>
> - GDB, GAS, and the GNU binutils are free software; you can redistribute
> - them and/or modify them under the terms of the GNU General Public
> - License as published by the Free Software Foundation; either version
> - 2, or (at your option) any later version.
> -
> - GDB, GAS, and the GNU binutils are distributed in the hope that they
> - will be useful, but WITHOUT ANY WARRANTY; without even the implied
> - warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
> - the GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with this file; see the file COPYING. If not, write to the Free
> - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
> - 02110-1301, USA. */
> + */
>
> #include <linux/stddef.h>
> #include <linux/kernel.h>
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:06 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this code is free software you can redistribute it and or modify it
> under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public license for more details you
> should have received a copy of the gnu general public license along
> with this program if not see http www gnu org licenses
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=6ace6e5335d1
> ---
> net/netfilter/ipvs/ip_vs_nfct.c | 18 +-----------------
> 1 file changed, 1 insertion(+), 17 deletions(-)
>
> --- a/net/netfilter/ipvs/ip_vs_nfct.c
> +++ b/net/netfilter/ipvs/ip_vs_nfct.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * ip_vs_nfct.c: Netfilter connection tracking support for IPVS
> *
> @@ -7,27 +8,11 @@
> * Portions Copyright (C) 2003-2010
> * Julian Anastasov
> *
> - *
> - * This code is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, see <http://www.gnu.org/licenses/>.
> - *
> - *
> * Authors:
> * Ben North <ben@redfrontdoor.org>
> * Julian Anastasov <ja@ssi.bg> Reorganize and sync with latest kernels
> * Hannes Eder <heder@google.com> Extend NFCT support for FTP, ipvs match
> *
> - *
> * Current status:
> *
> * - provide conntrack confirmation for new and related connections, by
> @@ -43,7 +28,6 @@
> * when RELATED conntrack is created from real server (Active FTP DATA)
> * - if iptables_nat is not loaded the Passive FTP will not work (the
> * PASV response can not be NAT-ed) but Active FTP should work
> - *
> */
>
> #define KMSG_COMPONENT "IPVS"
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> is free software you can redistribute it and or modify it under the
> terms of the gnu general public license as published by the free
> software foundation either version 2 or at your option any later
> version [drbd] is distributed in the hope that it will be useful but
> without any warranty without even the implied warranty of
> merchantability or fitness for a particular purpose see the gnu
> general public license for more details you should have received a
> copy of the gnu general public license along with [drbd] see the
> file copying if not write to the free software foundation 675 mass
> ave cambridge ma 02139 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 16 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=97296f018fbd
> ---
> drivers/block/drbd/drbd_actlog.c | 14 +-------------
> drivers/block/drbd/drbd_bitmap.c | 14 +-------------
> drivers/block/drbd/drbd_int.h | 14 +-------------
> drivers/block/drbd/drbd_main.c | 14 +-------------
> drivers/block/drbd/drbd_nl.c | 14 +-------------
> drivers/block/drbd/drbd_proc.c | 14 +-------------
> drivers/block/drbd/drbd_receiver.c | 14 +-------------
> drivers/block/drbd/drbd_req.c | 14 +-------------
> drivers/block/drbd/drbd_req.h | 14 +-------------
> drivers/block/drbd/drbd_state.c | 14 +-------------
> drivers/block/drbd/drbd_strings.c | 14 +-------------
> drivers/block/drbd/drbd_vli.h | 14 +-------------
> drivers/block/drbd/drbd_worker.c | 14 +-------------
> include/linux/drbd.h | 14 +-------------
> include/linux/lru_cache.h | 14 +-------------
> lib/lru_cache.c | 14 +-------------
> 16 files changed, 16 insertions(+), 208 deletions(-)
>
> --- a/drivers/block/drbd/drbd_actlog.c
> +++ b/drivers/block/drbd/drbd_actlog.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_actlog.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_bitmap.c
> +++ b/drivers/block/drbd/drbd_bitmap.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_bitmap.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 2004-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2004-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
> */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/block/drbd/drbd_int.h
> +++ b/drivers/block/drbd/drbd_int.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> drbd_int.h
>
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_main.c
> +++ b/drivers/block/drbd/drbd_main.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd.c
>
> @@ -10,19 +11,6 @@
> Thanks to Carter Burden, Bart Grantham and Gennadiy Nerubayev
> from Logicworks, Inc. for making SDP replication support possible.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_nl.c
> +++ b/drivers/block/drbd/drbd_nl.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_nl.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_proc.c
> +++ b/drivers/block/drbd/drbd_proc.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_proc.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_receiver.c
> +++ b/drivers/block/drbd/drbd_receiver.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_receiver.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
> */
>
>
> --- a/drivers/block/drbd/drbd_req.c
> +++ b/drivers/block/drbd/drbd_req.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_req.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_req.h
> +++ b/drivers/block/drbd/drbd_req.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> drbd_req.h
>
> @@ -7,19 +8,6 @@
> Copyright (C) 2006-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
> Copyright (C) 2006-2008, Philipp Reisner <philipp.reisner@linbit.com>.
>
> - DRBD is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - DRBD is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
> */
>
> #ifndef _DRBD_REQ_H
> --- a/drivers/block/drbd/drbd_state.c
> +++ b/drivers/block/drbd/drbd_state.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_state.c
>
> @@ -10,19 +11,6 @@
> Thanks to Carter Burden, Bart Grantham and Gennadiy Nerubayev
> from Logicworks, Inc. for making SDP replication support possible.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
> */
>
> #include <linux/drbd_limits.h>
> --- a/drivers/block/drbd/drbd_strings.c
> +++ b/drivers/block/drbd/drbd_strings.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd.h
>
> @@ -7,19 +8,6 @@
> Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_vli.h
> +++ b/drivers/block/drbd/drbd_vli.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> -*- linux-c -*-
> drbd_receiver.c
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
> */
>
> #ifndef _DRBD_VLI_H
> --- a/drivers/block/drbd/drbd_worker.c
> +++ b/drivers/block/drbd/drbd_worker.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_worker.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/include/linux/drbd.h
> +++ b/include/linux/drbd.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> drbd.h
> Kernel module for 2.6.x Kernels
> @@ -8,19 +9,6 @@
> Copyright (C) 2001-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2001-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
> #ifndef DRBD_H
> --- a/include/linux/lru_cache.h
> +++ b/include/linux/lru_cache.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> lru_cache.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/lib/lru_cache.c
> +++ b/lib/lru_cache.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> lru_cache.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
On Wed, May 22, 2019 at 7:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> gdb gas and the gnu binutils are free software you can redistribute
> them and or modify them under the terms of the gnu general public
> license as published by the free software foundation either version
> 2 or at your option any later version gdb gas and the gnu binutils
> are distributed in the hope that they will be useful but without any
> warranty without even the implied warranty of merchantability or
> fitness for a particular purpose see the gnu general public license
> for more details you should have received a copy of the gnu general
> public license along with this file see the file copying if not
> write to the free software foundation 51 franklin street fifth floor
> boston ma 02110 1301 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 2 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=32fb12ed1b66
> ---
> arch/powerpc/xmon/ppc-dis.c | 15 ++-------------
> arch/powerpc/xmon/ppc-opc.c | 16 ++--------------
> 2 files changed, 4 insertions(+), 27 deletions(-)
>
> --- a/arch/powerpc/xmon/ppc-dis.c
> +++ b/arch/powerpc/xmon/ppc-dis.c
> @@ -1,22 +1,11 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* ppc-dis.c -- Disassemble PowerPC instructions
> Copyright (C) 1994-2016 Free Software Foundation, Inc.
> Written by Ian Lance Taylor, Cygnus Support
>
> This file is part of GDB, GAS, and the GNU binutils.
>
> -GDB, GAS, and the GNU binutils are free software; you can redistribute
> -them and/or modify them under the terms of the GNU General Public
> -License as published by the Free Software Foundation; either version
> -2, or (at your option) any later version.
> -
> -GDB, GAS, and the GNU binutils are distributed in the hope that they
> -will be useful, but WITHOUT ANY WARRANTY; without even the implied
> -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
> -the GNU General Public License for more details.
> -
> -You should have received a copy of the GNU General Public License
> -along with this file; see the file COPYING. If not, write to the Free
> -Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
> + */
>
> #include <asm/cputable.h>
> #include <asm/cpu_has_feature.h>
> --- a/arch/powerpc/xmon/ppc-opc.c
> +++ b/arch/powerpc/xmon/ppc-opc.c
> @@ -1,23 +1,11 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* ppc-opc.c -- PowerPC opcode list
> Copyright (C) 1994-2016 Free Software Foundation, Inc.
> Written by Ian Lance Taylor, Cygnus Support
>
> This file is part of GDB, GAS, and the GNU binutils.
>
> - GDB, GAS, and the GNU binutils are free software; you can redistribute
> - them and/or modify them under the terms of the GNU General Public
> - License as published by the Free Software Foundation; either version
> - 2, or (at your option) any later version.
> -
> - GDB, GAS, and the GNU binutils are distributed in the hope that they
> - will be useful, but WITHOUT ANY WARRANTY; without even the implied
> - warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
> - the GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with this file; see the file COPYING. If not, write to the Free
> - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
> - 02110-1301, USA. */
> + */
>
> #include <linux/stddef.h>
> #include <linux/kernel.h>
>
>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
> neither [alan] [cox] [nor] [cymrunet]
> [ltd] admit liability nor provide warranty for any of this software
> this material is provided as is and at no charge
Since some of these disclaimer statements are getting scrutinized,
this one is also notable though it is more general than the other ones
that have been called out. I think we should decide what to do about
variously-worded warranty/liability disclaimer statements in general
and consider this variety along with others. I assume SPDX previously
never considered the problem of how to deal with license notices with
various nonstandard disclaimer statements other than implicitly
treating the ones in the GNU notice as conveying nothing more than
what's already in the GPL/LGPL license texts.
For the time being I am trying to call attention to anything that
seems even slightly interestingly different from what's in the GNU
notice ("WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE").
Richard
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this program include file is free software you can redistribute it
> and or modify it under the terms of the gnu general public license
> as published by the free software foundation either version 2 of the
> license or at your option any later version this program include
> file is distributed in the hope that it will be useful but without
> any warranty without even the implied warranty of merchantability or
> fitness for a particular purpose see the gnu general public license
> for more details you should have received a copy of the gnu general
> public license along with this program in the main directory of the
> linux [ntfs] distribution in the file copying if not write to the
> free software foundation inc 59 temple place suite 330 boston ma
> 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 43 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=5f91b170281a
> ---
> fs/ntfs/aops.c | 16 +---------------
> fs/ntfs/aops.h | 16 +---------------
> fs/ntfs/attrib.c | 16 +---------------
> fs/ntfs/attrib.h | 16 +---------------
> fs/ntfs/bitmap.c | 16 +---------------
> fs/ntfs/bitmap.h | 16 +---------------
> fs/ntfs/collate.c | 16 +---------------
> fs/ntfs/collate.h | 16 +---------------
> fs/ntfs/compress.c | 16 +---------------
> fs/ntfs/debug.c | 16 +---------------
> fs/ntfs/debug.h | 16 +---------------
> fs/ntfs/dir.c | 16 +---------------
> fs/ntfs/dir.h | 16 +---------------
> fs/ntfs/endian.h | 16 +---------------
> fs/ntfs/file.c | 16 +---------------
> fs/ntfs/index.c | 16 +---------------
> fs/ntfs/index.h | 16 +---------------
> fs/ntfs/inode.c | 16 +---------------
> fs/ntfs/inode.h | 16 +---------------
> fs/ntfs/layout.h | 16 +---------------
> fs/ntfs/lcnalloc.c | 16 +---------------
> fs/ntfs/lcnalloc.h | 16 +---------------
> fs/ntfs/logfile.c | 16 +---------------
> fs/ntfs/logfile.h | 16 +---------------
> fs/ntfs/malloc.h | 16 +---------------
> fs/ntfs/mft.c | 16 +---------------
> fs/ntfs/mft.h | 16 +---------------
> fs/ntfs/mst.c | 16 +---------------
> fs/ntfs/namei.c | 16 +---------------
> fs/ntfs/ntfs.h | 16 +---------------
> fs/ntfs/quota.c | 16 +---------------
> fs/ntfs/quota.h | 16 +---------------
> fs/ntfs/runlist.c | 16 +---------------
> fs/ntfs/runlist.h | 16 +---------------
> fs/ntfs/super.c | 16 +---------------
> fs/ntfs/sysctl.c | 16 +---------------
> fs/ntfs/sysctl.h | 16 +---------------
> fs/ntfs/time.h | 16 +---------------
> fs/ntfs/types.h | 16 +---------------
> fs/ntfs/unistr.c | 16 +---------------
> fs/ntfs/usnjrnl.c | 16 +---------------
> fs/ntfs/usnjrnl.h | 16 +---------------
> fs/ntfs/volume.h | 16 +---------------
> 43 files changed, 43 insertions(+), 645 deletions(-)
>
> --- a/fs/ntfs/aops.c
> +++ b/fs/ntfs/aops.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * aops.c - NTFS kernel address space operations and page cache handling.
> *
> * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/errno.h>
> --- a/fs/ntfs/aops.h
> +++ b/fs/ntfs/aops.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /**
> * aops.h - Defines for NTFS kernel address space operations and page cache
> * handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_AOPS_H
> --- a/fs/ntfs/attrib.c
> +++ b/fs/ntfs/attrib.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * attrib.c - NTFS attribute operations. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc.
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/buffer_head.h>
> --- a/fs/ntfs/attrib.h
> +++ b/fs/ntfs/attrib.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * attrib.h - Defines for attribute handling in NTFS Linux kernel driver.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2005 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_ATTRIB_H
> --- a/fs/ntfs/bitmap.c
> +++ b/fs/ntfs/bitmap.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * bitmap.c - NTFS kernel bitmap handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2004-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifdef NTFS_RW
> --- a/fs/ntfs/bitmap.h
> +++ b/fs/ntfs/bitmap.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * bitmap.h - Defines for NTFS kernel bitmap handling. Part of the Linux-NTFS
> * project.
> *
> * Copyright (c) 2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_BITMAP_H
> --- a/fs/ntfs/collate.c
> +++ b/fs/ntfs/collate.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * collate.c - NTFS kernel collation handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include "collate.h"
> --- a/fs/ntfs/collate.h
> +++ b/fs/ntfs/collate.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * collate.h - Defines for NTFS kernel collation handling. Part of the
> * Linux-NTFS project.
> *
> * Copyright (c) 2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_COLLATE_H
> --- a/fs/ntfs/compress.c
> +++ b/fs/ntfs/compress.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * compress.c - NTFS kernel compressed attributes handling.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/fs.h>
> --- a/fs/ntfs/debug.c
> +++ b/fs/ntfs/debug.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * debug.c - NTFS kernel debug support. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> #include "debug.h"
> --- a/fs/ntfs/debug.h
> +++ b/fs/ntfs/debug.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * debug.h - NTFS kernel debug support. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_DEBUG_H
> --- a/fs/ntfs/dir.c
> +++ b/fs/ntfs/dir.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * dir.c - NTFS kernel directory operations. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2007 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/buffer_head.h>
> --- a/fs/ntfs/dir.h
> +++ b/fs/ntfs/dir.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * dir.h - Defines for directory handling in NTFS Linux kernel driver. Part of
> * the Linux-NTFS project.
> *
> * Copyright (c) 2002-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_DIR_H
> --- a/fs/ntfs/endian.h
> +++ b/fs/ntfs/endian.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * endian.h - Defines for endianness handling in NTFS Linux kernel driver.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_ENDIAN_H
> --- a/fs/ntfs/file.c
> +++ b/fs/ntfs/file.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * file.c - NTFS kernel file operations. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2015 Anton Altaparmakov and Tuxera Inc.
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/backing-dev.h>
> --- a/fs/ntfs/index.c
> +++ b/fs/ntfs/index.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * index.c - NTFS kernel index handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2004-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/slab.h>
> --- a/fs/ntfs/index.h
> +++ b/fs/ntfs/index.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * index.h - Defines for NTFS kernel index handling. Part of the Linux-NTFS
> * project.
> *
> * Copyright (c) 2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_INDEX_H
> --- a/fs/ntfs/inode.c
> +++ b/fs/ntfs/inode.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * inode.c - NTFS kernel inode handling.
> *
> * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/buffer_head.h>
> --- a/fs/ntfs/inode.h
> +++ b/fs/ntfs/inode.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * inode.h - Defines for inode structures NTFS Linux kernel driver. Part of
> * the Linux-NTFS project.
> *
> * Copyright (c) 2001-2007 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_INODE_H
> --- a/fs/ntfs/layout.h
> +++ b/fs/ntfs/layout.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * layout.h - All NTFS associated on-disk structures. Part of the Linux-NTFS
> * project.
> *
> * Copyright (c) 2001-2005 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_LAYOUT_H
> --- a/fs/ntfs/lcnalloc.c
> +++ b/fs/ntfs/lcnalloc.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * lcnalloc.c - Cluster (de)allocation code. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2004-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifdef NTFS_RW
> --- a/fs/ntfs/lcnalloc.h
> +++ b/fs/ntfs/lcnalloc.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * lcnalloc.h - Exports for NTFS kernel cluster (de)allocation. Part of the
> * Linux-NTFS project.
> *
> * Copyright (c) 2004-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_LCNALLOC_H
> --- a/fs/ntfs/logfile.c
> +++ b/fs/ntfs/logfile.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * logfile.c - NTFS kernel journal handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2002-2007 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifdef NTFS_RW
> --- a/fs/ntfs/logfile.h
> +++ b/fs/ntfs/logfile.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * logfile.h - Defines for NTFS kernel journal ($LogFile) handling. Part of
> * the Linux-NTFS project.
> *
> * Copyright (c) 2000-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_LOGFILE_H
> --- a/fs/ntfs/malloc.h
> +++ b/fs/ntfs/malloc.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * malloc.h - NTFS kernel memory handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_MALLOC_H
> --- a/fs/ntfs/mft.c
> +++ b/fs/ntfs/mft.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * mft.c - NTFS kernel mft record operations. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc.
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/buffer_head.h>
> --- a/fs/ntfs/mft.h
> +++ b/fs/ntfs/mft.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * mft.h - Defines for mft record handling in NTFS Linux kernel driver.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_MFT_H
> --- a/fs/ntfs/mst.c
> +++ b/fs/ntfs/mst.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * mst.c - NTFS multi sector transfer protection handling code. Part of the
> * Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include "ntfs.h"
> --- a/fs/ntfs/namei.c
> +++ b/fs/ntfs/namei.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * namei.c - NTFS kernel directory inode operations. Part of the Linux-NTFS
> * project.
> *
> * Copyright (c) 2001-2006 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/dcache.h>
> --- a/fs/ntfs/ntfs.h
> +++ b/fs/ntfs/ntfs.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * ntfs.h - Defines for NTFS Linux kernel driver.
> *
> * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
> * Copyright (C) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_H
> --- a/fs/ntfs/quota.c
> +++ b/fs/ntfs/quota.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * quota.c - NTFS kernel quota ($Quota) handling. Part of the Linux-NTFS
> * project.
> *
> * Copyright (c) 2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifdef NTFS_RW
> --- a/fs/ntfs/quota.h
> +++ b/fs/ntfs/quota.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * quota.h - Defines for NTFS kernel quota ($Quota) handling. Part of the
> * Linux-NTFS project.
> *
> * Copyright (c) 2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_QUOTA_H
> --- a/fs/ntfs/runlist.c
> +++ b/fs/ntfs/runlist.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * runlist.c - NTFS runlist handling code. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2007 Anton Altaparmakov
> * Copyright (c) 2002-2005 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include "debug.h"
> --- a/fs/ntfs/runlist.h
> +++ b/fs/ntfs/runlist.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * runlist.h - Defines for runlist handling in NTFS Linux kernel driver.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2005 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_RUNLIST_H
> --- a/fs/ntfs/super.c
> +++ b/fs/ntfs/super.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * super.c - NTFS kernel super block handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc.
> * Copyright (c) 2001,2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>
> --- a/fs/ntfs/sysctl.c
> +++ b/fs/ntfs/sysctl.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * sysctl.c - Code for sysctl handling in NTFS Linux kernel driver. Part of
> * the Linux-NTFS project. Adapted from the old NTFS driver,
> * Copyright (C) 1997 Martin von Löwis, Régis Duchesne
> *
> * Copyright (c) 2002-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifdef DEBUG
> --- a/fs/ntfs/sysctl.h
> +++ b/fs/ntfs/sysctl.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * sysctl.h - Defines for sysctl handling in NTFS Linux kernel driver. Part of
> * the Linux-NTFS project. Adapted from the old NTFS driver,
> * Copyright (C) 1997 Martin von Löwis, Régis Duchesne
> *
> * Copyright (c) 2002-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_SYSCTL_H
> --- a/fs/ntfs/time.h
> +++ b/fs/ntfs/time.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * time.h - NTFS time conversion functions. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_TIME_H
> --- a/fs/ntfs/types.h
> +++ b/fs/ntfs/types.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * types.h - Defines for NTFS Linux kernel driver specific types.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_TYPES_H
> --- a/fs/ntfs/unistr.c
> +++ b/fs/ntfs/unistr.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * unistr.c - NTFS Unicode string handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2006 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/slab.h>
> --- a/fs/ntfs/usnjrnl.c
> +++ b/fs/ntfs/usnjrnl.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * usnjrnl.h - NTFS kernel transaction log ($UsnJrnl) handling. Part of the
> * Linux-NTFS project.
> *
> * Copyright (c) 2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifdef NTFS_RW
> --- a/fs/ntfs/usnjrnl.h
> +++ b/fs/ntfs/usnjrnl.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * usnjrnl.h - Defines for NTFS kernel transaction log ($UsnJrnl) handling.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_USNJRNL_H
> --- a/fs/ntfs/volume.h
> +++ b/fs/ntfs/volume.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * volume.h - Defines for volume structures in NTFS Linux kernel driver. Part
> * of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2006 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_VOLUME_H
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> library are free software you can redistribute them and or modify
> them under the terms of the gnu general public license as published
> by the free software foundation either version 2 of the license or
> at your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public license for more details you
> should have received a copy of the gnu general public license along
> with this program see the file copying if not write to the free
> software foundation inc 59 temple place suite 330 boston ma 02111
> 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=7f9e7d83404b
> ---
> lib/decompress_unlzo.c | 16 +---------------
> 1 file changed, 1 insertion(+), 15 deletions(-)
>
> --- a/lib/decompress_unlzo.c
> +++ b/lib/decompress_unlzo.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * LZO decompressor for the Linux kernel. Code borrowed from the lzo
> * implementation by Markus Franz Xaver Johannes Oberhumer.
> @@ -10,21 +11,6 @@
> * Copyright (C) 1996-2005 Markus Franz Xaver Johannes Oberhumer
> * All Rights Reserved.
> *
> - * lzop and the LZO library are free software; you can redistribute them
> - * and/or modify them under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; see the file COPYING.
> - * If not, write to the Free Software Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
> - *
> * Markus F.X.J. Oberhumer
> * <markus@oberhumer.com>
> * http://www.oberhumer.com/opensource/lzop/
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
This one incorporates a BSD-style disclaimer paragraph.
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version this software is provided as is and
> any express or implied warranties including but not limited to the
> implied warranties of merchantability and fitness for a particular
> purpose are disclaimed in no event shall the author be liable for
> any direct indirect incidental special exemplary or consequential
> damages including but not limited to procurement of substitute goods
> or services loss of use data or profits or business interruption
> however caused and on any theory of liability whether in contract
> strict liability or tort including negligence or otherwise arising
> in any way out of the use of this software even if advised of the
> possibility of such damage you should have received a copy of the
> gnu general public license along with this program if not write to
> the free software foundation inc 675 mass ave cambridge ma 02139 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=0403f6ca34a5
> ---
> arch/mips/txx9/generic/irq_tx4927.c | 20 +-------------------
> 1 file changed, 1 insertion(+), 19 deletions(-)
>
> --- a/arch/mips/txx9/generic/irq_tx4927.c
> +++ b/arch/mips/txx9/generic/irq_tx4927.c
> @@ -1,27 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Common tx4927 irq handler
> *
> * Author: MontaVista Software, Inc.
> * source@mvista.com
> - *
> - * under the terms of the GNU General Public License as published by the
> - * Free Software Foundation; either version 2 of the License, or (at your
> - * option) any later version.
> - *
> - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
> - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
> - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
> - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
> - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
> - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
> - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> - *
> - * You should have received a copy of the GNU General Public License along
> - * with this program; if not, write to the Free Software Foundation, Inc.,
> - * 675 Mass Ave, Cambridge, MA 02139, USA.
> */
> #include <linux/init.h>
> #include <linux/interrupt.h>
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
I believe this one imports disclaimer language from the IBM-PL/CPL/EPL
license family.
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public license for more details no
> warranty the program is provided on an as is basis without
> warranties or conditions of any kind either express or implied
> including without limitation any warranties or conditions of title
> non infringement merchantability or fitness for a particular purpose
> each recipient is solely responsible for determining the
> appropriateness of using and distributing the program and assumes
> all risks associated with its exercise of rights under this
> agreement including but not limited to the risks and costs of
> program errors damage to or loss of data programs or equipment and
> unavailability or interruption of operations disclaimer of liability
> neither recipient nor any contributors shall have any liability for
> any direct indirect incidental special exemplary or consequential
> damages including without limitation lost profits however caused and
> on any theory of liability whether in contract strict liability or
> tort including negligence or otherwise arising in any way out of the
> use or distribution of the program or the exercise of any rights
> granted hereunder even if advised of the possibility of such damages
> you should have received a copy of the gnu general public license
> along with this program if not write to the free software foundation
> inc 51 franklin street fifth floor boston ma 02110 1301 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 20 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=9738411291d0
> ---
> drivers/scsi/esas2r/esas2r.h | 36 ----------------------------
> drivers/scsi/esas2r/esas2r_flash.c | 36 ----------------------------
> drivers/scsi/esas2r/esas2r_init.c | 36 ----------------------------
> drivers/scsi/esas2r/esas2r_io.c | 36 ----------------------------
> drivers/scsi/esas2r/esas2r_ioctl.c | 36 ----------------------------
> drivers/scsi/esas2r/esas2r_log.c | 36 ----------------------------
> drivers/scsi/esas2r/esas2r_log.h | 36 ----------------------------
> drivers/scsi/esas2r/esas2r_main.c | 36 ----------------------------
> drivers/scsi/esas2r/esas2r_targdb.c | 36 ----------------------------
> drivers/scsi/mpt3sas/Kconfig | 35 ---------------------------
> drivers/scsi/mpt3sas/mpt3sas_base.c | 36 ----------------------------
> drivers/scsi/mpt3sas/mpt3sas_base.h | 36 ----------------------------
> drivers/scsi/mpt3sas/mpt3sas_config.c | 36 ----------------------------
> drivers/scsi/mpt3sas/mpt3sas_ctl.c | 36 ----------------------------
> drivers/scsi/mpt3sas/mpt3sas_ctl.h | 36 ----------------------------
> drivers/scsi/mpt3sas/mpt3sas_debug.h | 36 ----------------------------
> drivers/scsi/mpt3sas/mpt3sas_scsih.c | 36 ----------------------------
> drivers/scsi/mpt3sas/mpt3sas_transport.c | 36 ----------------------------
> drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c | 36 ----------------------------
> drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h | 36 ----------------------------
> 20 files changed, 20 insertions(+), 699 deletions(-)
>
> --- a/drivers/scsi/esas2r/esas2r.h
> +++ b/drivers/scsi/esas2r/esas2r.h
> @@ -1,44 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * linux/drivers/scsi/esas2r/esas2r.h
> * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers
> *
> * Copyright (c) 2001-2013 ATTO Technology, Inc.
> * (mailto:linuxdrivers@attotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> - *
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include <linux/kernel.h>
> --- a/drivers/scsi/esas2r/esas2r_flash.c
> +++ b/drivers/scsi/esas2r/esas2r_flash.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
>
> /*
> * linux/drivers/scsi/esas2r/esas2r_flash.c
> @@ -5,41 +6,6 @@
> *
> * Copyright (c) 2001-2013 ATTO Technology, Inc.
> * (mailto:linuxdrivers@attotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> - *
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include "esas2r.h"
> --- a/drivers/scsi/esas2r/esas2r_init.c
> +++ b/drivers/scsi/esas2r/esas2r_init.c
> @@ -1,44 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * linux/drivers/scsi/esas2r/esas2r_init.c
> * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers
> *
> * Copyright (c) 2001-2013 ATTO Technology, Inc.
> * (mailto:linuxdrivers@attotech.com)mpt3sas/mpt3sas_trigger_diag.
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> - *
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include "esas2r.h"
> --- a/drivers/scsi/esas2r/esas2r_io.c
> +++ b/drivers/scsi/esas2r/esas2r_io.c
> @@ -1,44 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * linux/drivers/scsi/esas2r/esas2r_io.c
> * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers
> *
> * Copyright (c) 2001-2013 ATTO Technology, Inc.
> * (mailto:linuxdrivers@attotech.com)mpt3sas/mpt3sas_trigger_diag.
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> - *
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include "esas2r.h"
> --- a/drivers/scsi/esas2r/esas2r_ioctl.c
> +++ b/drivers/scsi/esas2r/esas2r_ioctl.c
> @@ -1,44 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * linux/drivers/scsi/esas2r/esas2r_ioctl.c
> * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers
> *
> * Copyright (c) 2001-2013 ATTO Technology, Inc.
> * (mailto:linuxdrivers@attotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> - *
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include "esas2r.h"
> --- a/drivers/scsi/esas2r/esas2r_log.c
> +++ b/drivers/scsi/esas2r/esas2r_log.c
> @@ -1,44 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * linux/drivers/scsi/esas2r/esas2r_log.c
> * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers
> *
> * Copyright (c) 2001-2013 ATTO Technology, Inc.
> * (mailto:linuxdrivers@attotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> - *
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include "esas2r.h"
> --- a/drivers/scsi/esas2r/esas2r_log.h
> +++ b/drivers/scsi/esas2r/esas2r_log.h
> @@ -1,44 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * linux/drivers/scsi/esas2r/esas2r_log.h
> * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers
> *
> * Copyright (c) 2001-2013 ATTO Technology, Inc.
> * (mailto:linuxdrivers@attotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> - *
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #ifndef __esas2r_log_h__
> --- a/drivers/scsi/esas2r/esas2r_main.c
> +++ b/drivers/scsi/esas2r/esas2r_main.c
> @@ -1,44 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * linux/drivers/scsi/esas2r/esas2r_main.c
> * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers
> *
> * Copyright (c) 2001-2013 ATTO Technology, Inc.
> * (mailto:linuxdrivers@attotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> - *
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include "esas2r.h"
> --- a/drivers/scsi/esas2r/esas2r_targdb.c
> +++ b/drivers/scsi/esas2r/esas2r_targdb.c
> @@ -1,44 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * linux/drivers/scsi/esas2r/esas2r_targdb.c
> * For use with ATTO ExpressSAS R6xx SAS/SATA RAID controllers
> *
> * Copyright (c) 2001-2013 ATTO Technology, Inc.
> * (mailto:linuxdrivers@attotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> - *
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include "esas2r.h"
> --- a/drivers/scsi/mpt3sas/Kconfig
> +++ b/drivers/scsi/mpt3sas/Kconfig
> @@ -1,3 +1,4 @@
> +# SPDX-License-Identifier: GPL-2.0-or-later
> #
> # Kernel configuration file for the MPT3SAS
> #
> @@ -5,40 +6,6 @@
> # Copyright (C) 2012-2014 LSI Corporation
> # (mailto:DL-MPTFusionLinux@lsi.com)
>
> -# This program is free software; you can redistribute it and/or
> -# modify it under the terms of the GNU General Public License
> -# as published by the Free Software Foundation; either version 2
> -# of the License, or (at your option) any later version.
> -
> -# This program is distributed in the hope that it will be useful,
> -# but WITHOUT ANY WARRANTY; without even the implied warranty of
> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> -# GNU General Public License for more details.
> -
> -# NO WARRANTY
> -# THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> -# CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> -# LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> -# MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> -# solely responsible for determining the appropriateness of using and
> -# distributing the Program and assumes all risks associated with its
> -# exercise of rights under this Agreement, including but not limited to
> -# the risks and costs of program errors, damage to or loss of data,
> -# programs or equipment, and unavailability or interruption of operations.
> -
> -# DISCLAIMER OF LIABILITY
> -# NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> -# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> -# DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> -# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> -# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> -# USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> -# HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> -
> -# You should have received a copy of the GNU General Public License
> -# along with this program; if not, write to the Free Software
> -# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> -# USA.
>
> config SCSI_MPT3SAS
> tristate "LSI MPT Fusion SAS 3.0 & SAS 2.0 Device Driver"
> --- a/drivers/scsi/mpt3sas/mpt3sas_base.c
> +++ b/drivers/scsi/mpt3sas/mpt3sas_base.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * This is the Fusion MPT base driver providing common API layer interface
> * for access to MPT (Message Passing Technology) firmware.
> @@ -6,41 +7,6 @@
> * Copyright (C) 2012-2014 LSI Corporation
> * Copyright (C) 2013-2014 Avago Technologies
> * (mailto: MPT-FusionLinux.pdl@avagotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> -
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include <linux/kernel.h>
> --- a/drivers/scsi/mpt3sas/mpt3sas_base.h
> +++ b/drivers/scsi/mpt3sas/mpt3sas_base.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * This is the Fusion MPT base driver providing common API layer interface
> * for access to MPT (Message Passing Technology) firmware.
> @@ -6,41 +7,6 @@
> * Copyright (C) 2012-2014 LSI Corporation
> * Copyright (C) 2013-2014 Avago Technologies
> * (mailto: MPT-FusionLinux.pdl@avagotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> -
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #ifndef MPT3SAS_BASE_H_INCLUDED
> --- a/drivers/scsi/mpt3sas/mpt3sas_config.c
> +++ b/drivers/scsi/mpt3sas/mpt3sas_config.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * This module provides common API for accessing firmware configuration pages
> *
> @@ -5,41 +6,6 @@
> * Copyright (C) 2012-2014 LSI Corporation
> * Copyright (C) 2013-2014 Avago Technologies
> * (mailto: MPT-FusionLinux.pdl@avagotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> -
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include <linux/module.h>
> --- a/drivers/scsi/mpt3sas/mpt3sas_ctl.c
> +++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Management Module Support for MPT (Message Passing Technology) based
> * controllers
> @@ -6,41 +7,6 @@
> * Copyright (C) 2012-2014 LSI Corporation
> * Copyright (C) 2013-2014 Avago Technologies
> * (mailto: MPT-FusionLinux.pdl@avagotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> -
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include <linux/kernel.h>
> --- a/drivers/scsi/mpt3sas/mpt3sas_ctl.h
> +++ b/drivers/scsi/mpt3sas/mpt3sas_ctl.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Management Module Support for MPT (Message Passing Technology) based
> * controllers
> @@ -6,41 +7,6 @@
> * Copyright (C) 2012-2014 LSI Corporation
> * Copyright (C) 2013-2014 Avago Technologies
> * (mailto: MPT-FusionLinux.pdl@avagotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> -
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #ifndef MPT3SAS_CTL_H_INCLUDED
> --- a/drivers/scsi/mpt3sas/mpt3sas_debug.h
> +++ b/drivers/scsi/mpt3sas/mpt3sas_debug.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Logging Support for MPT (Message Passing Technology) based controllers
> *
> @@ -5,41 +6,6 @@
> * Copyright (C) 2012-2014 LSI Corporation
> * Copyright (C) 2013-2014 Avago Technologies
> * (mailto: MPT-FusionLinux.pdl@avagotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> -
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #ifndef MPT3SAS_DEBUG_H_INCLUDED
> --- a/drivers/scsi/mpt3sas/mpt3sas_scsih.c
> +++ b/drivers/scsi/mpt3sas/mpt3sas_scsih.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Scsi Host Layer for MPT (Message Passing Technology) based controllers
> *
> @@ -5,41 +6,6 @@
> * Copyright (C) 2012-2014 LSI Corporation
> * Copyright (C) 2013-2014 Avago Technologies
> * (mailto: MPT-FusionLinux.pdl@avagotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> -
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include <linux/module.h>
> --- a/drivers/scsi/mpt3sas/mpt3sas_transport.c
> +++ b/drivers/scsi/mpt3sas/mpt3sas_transport.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * SAS Transport Layer for MPT (Message Passing Technology) based controllers
> *
> @@ -5,41 +6,6 @@
> * Copyright (C) 2012-2014 LSI Corporation
> * Copyright (C) 2013-2014 Avago Technologies
> * (mailto: MPT-FusionLinux.pdl@avagotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> -
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include <linux/module.h>
> --- a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c
> +++ b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * This module provides common API to set Diagnostic trigger for MPT
> * (Message Passing Technology) based controllers
> @@ -6,41 +7,6 @@
> * Copyright (C) 2012-2014 LSI Corporation
> * Copyright (C) 2013-2014 Avago Technologies
> * (mailto: MPT-FusionLinux.pdl@avagotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> -
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
>
> #include <linux/kernel.h>
> --- a/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h
> +++ b/drivers/scsi/mpt3sas/mpt3sas_trigger_diag.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * This is the Fusion MPT base driver providing common API layer interface
> * to set Diagnostic triggers for MPT (Message Passing Technology) based
> @@ -7,41 +8,6 @@
> * Copyright (C) 2012-2014 LSI Corporation
> * Copyright (C) 2013-2014 Avago Technologies
> * (mailto: MPT-FusionLinux.pdl@avagotech.com)
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * NO WARRANTY
> - * THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR
> - * CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT
> - * LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT,
> - * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is
> - * solely responsible for determining the appropriateness of using and
> - * distributing the Program and assumes all risks associated with its
> - * exercise of rights under this Agreement, including but not limited to
> - * the risks and costs of program errors, damage to or loss of data,
> - * programs or equipment, and unavailability or interruption of operations.
> -
> - * DISCLAIMER OF LIABILITY
> - * NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY
> - * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> - * DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND
> - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
> - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
> - * USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED
> - * HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
> -
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
> - * USA.
> */
> /* Diagnostic Trigger Configuration Data Structures */
>
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Informal disclaimer language similar to the Alan Cox notices in
another patchset.
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 4 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version neither [wim] [van] [sebroeck] nor
> [iguana] [vzw] admit liability nor provide warranty for any of this
> software this material is provided as is and at no charge
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version neither [kernel] [concepts] nor [nils]
> [faerber] admit liability nor provide warranty for any of this
> software this material is provided as is and at no charge
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version neither [oleg] [drokin] nor
> [ixcelerator] [com] admit liability nor provide warranty for any of
> this software this material is provided as is and at no charge
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version neither [alan] [cox] [cymrunet] [ltd]
> [wim] [van] [sebroeck] nor [iguana] [vzw] admit liability nor
> provide warranty for any of this software this material is provided
> as is and at no charge
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 10 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=ccd5369168d2
> ---
> drivers/watchdog/iTCO_vendor_support.c | 6 +-----
> drivers/watchdog/iTCO_wdt.c | 6 +-----
> drivers/watchdog/nv_tco.h | 14 +++++---------
> drivers/watchdog/pcwd_pci.c | 6 +-----
> drivers/watchdog/pcwd_usb.c | 6 +-----
> drivers/watchdog/sa1100_wdt.c | 6 +-----
> drivers/watchdog/sch311x_wdt.c | 6 +-----
> drivers/watchdog/watchdog_core.c | 6 +-----
> drivers/watchdog/watchdog_core.h | 6 +-----
> drivers/watchdog/watchdog_dev.c | 7 +------
> 10 files changed, 14 insertions(+), 55 deletions(-)
>
> --- a/drivers/watchdog/iTCO_vendor_support.c
> +++ b/drivers/watchdog/iTCO_vendor_support.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * intel TCO vendor specific watchdog driver support
> *
> * (c) Copyright 2006-2009 Wim Van Sebroeck <wim@iguana.be>.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Neither Wim Van Sebroeck nor Iguana vzw. admit liability nor
> * provide warranty for any of this software. This material is
> * provided "AS-IS" and at no charge.
> --- a/drivers/watchdog/iTCO_wdt.c
> +++ b/drivers/watchdog/iTCO_wdt.c
> @@ -1,13 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * intel TCO Watchdog Driver
> *
> * (c) Copyright 2006-2011 Wim Van Sebroeck <wim@iguana.be>.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Neither Wim Van Sebroeck nor Iguana vzw. admit liability nor
> * provide warranty for any of this software. This material is
> * provided "AS-IS" and at no charge.
> --- a/drivers/watchdog/nv_tco.h
> +++ b/drivers/watchdog/nv_tco.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * nv_tco: TCO timer driver for nVidia chipsets.
> *
> @@ -6,19 +7,14 @@
> * Supported Chipsets:
> * - MCP51/MCP55
> *
> - * (c) Copyright 2000 kernel concepts <nils@kernelconcepts.de>, All Rights
> - * Reserved.
> - * http://www.kernelconcepts.de
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Neither kernel concepts nor Nils Faerber admit liability nor provide
> * warranty for any of this software. This material is provided
> * "AS-IS" and at no charge.
> *
> + * (c) Copyright 2000 kernel concepts <nils@kernelconcepts.de>, All Rights
> + * Reserved.
> + * http://www.kernelconcepts.de
> + *
> * (c) Copyright 2000 kernel concepts <nils@kernelconcepts.de>
> * developed for
> * Jentro AG, Haar/Munich (Germany)
> --- a/drivers/watchdog/pcwd_pci.c
> +++ b/drivers/watchdog/pcwd_pci.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Berkshire PCI-PC Watchdog Card Driver
> *
> @@ -10,11 +11,6 @@
> * Matt Domsch <Matt_Domsch@dell.com>,
> * Rob Radez <rob@osinvestor.com>
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Neither Wim Van Sebroeck nor Iguana vzw. admit liability nor
> * provide warranty for any of this software. This material is
> * provided "AS-IS" and at no charge.
> --- a/drivers/watchdog/pcwd_usb.c
> +++ b/drivers/watchdog/pcwd_usb.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Berkshire USB-PC Watchdog Card Driver
> *
> @@ -10,11 +11,6 @@
> * Rob Radez <rob@osinvestor.com>,
> * Greg Kroah-Hartman <greg@kroah.com>
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Neither Wim Van Sebroeck nor Iguana vzw. admit liability nor
> * provide warranty for any of this software. This material is
> * provided "AS-IS" and at no charge.
> --- a/drivers/watchdog/sa1100_wdt.c
> +++ b/drivers/watchdog/sa1100_wdt.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Watchdog driver for the SA11x0/PXA2xx
> *
> * (c) Copyright 2000 Oleg Drokin <green@crimea.edu>
> * Based on SoftDog driver by Alan Cox <alan@lxorguk.ukuu.org.uk>
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Neither Oleg Drokin nor iXcelerator.com admit liability nor provide
> * warranty for any of this software. This material is provided
> * "AS-IS" and at no charge.
> --- a/drivers/watchdog/sch311x_wdt.c
> +++ b/drivers/watchdog/sch311x_wdt.c
> @@ -1,14 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * sch311x_wdt.c - Driver for the SCH311x Super-I/O chips
> * integrated watchdog.
> *
> * (c) Copyright 2008 Wim Van Sebroeck <wim@iguana.be>.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Neither Wim Van Sebroeck nor Iguana vzw. admit liability nor
> * provide warranty for any of this software. This material is
> * provided "AS-IS" and at no charge.
> --- a/drivers/watchdog/watchdog_core.c
> +++ b/drivers/watchdog/watchdog_core.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * watchdog_core.c
> *
> @@ -16,11 +17,6 @@
> * Satyam Sharma <satyam@infradead.org>
> * Randy Dunlap <randy.dunlap@oracle.com>
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Neither Alan Cox, CymruNet Ltd., Wim Van Sebroeck nor Iguana vzw.
> * admit liability nor provide warranty for any of this software.
> * This material is provided "AS-IS" and at no charge.
> --- a/drivers/watchdog/watchdog_core.h
> +++ b/drivers/watchdog/watchdog_core.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * watchdog_core.h
> *
> @@ -16,11 +17,6 @@
> * Satyam Sharma <satyam@infradead.org>
> * Randy Dunlap <randy.dunlap@oracle.com>
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Neither Alan Cox, CymruNet Ltd., Wim Van Sebroeck nor Iguana vzw.
> * admit liability nor provide warranty for any of this software.
> * This material is provided "AS-IS" and at no charge.
> --- a/drivers/watchdog/watchdog_dev.c
> +++ b/drivers/watchdog/watchdog_dev.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * watchdog_dev.c
> *
> @@ -6,7 +7,6 @@
> *
> * (c) Copyright 2008-2011 Wim Van Sebroeck <wim@iguana.be>.
> *
> - *
> * This source code is part of the generic code that can be used
> * by all the watchdog timer drivers.
> *
> @@ -20,11 +20,6 @@
> * Satyam Sharma <satyam@infradead.org>
> * Randy Dunlap <randy.dunlap@oracle.com>
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Neither Alan Cox, CymruNet Ltd., Wim Van Sebroeck nor Iguana vzw.
> * admit liability nor provide warranty for any of this software.
> * This material is provided "AS-IS" and at no charge.
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public license for more details you
> should have received a copy of the gnu general public license along
> with this program in the main directory of the linux [ntfs] source
> in the file copying if not write to the free software foundation inc
> 59 temple place suite 330 boston ma 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=09e70c6fcafd
> ---
> fs/ntfs/upcase.c | 16 +---------------
> 1 file changed, 1 insertion(+), 15 deletions(-)
>
> --- a/fs/ntfs/upcase.c
> +++ b/fs/ntfs/upcase.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * upcase.c - Generate the full NTFS Unicode upcase table in little endian.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001 Richard Russon <ntfs@flatcap.org>
> * Copyright (c) 2001-2006 Anton Altaparmakov
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the Free
> - * Software Foundation; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS source
> - * in the file COPYING); if not, write to the Free Software Foundation,
> - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include "malloc.h"
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public license for more details you
> should have received a copy of the gnu general public license along
> with this program if not write to the free software foundation inc
> 59 temple place suite 330 boston ma 02111 1307 usa the full gnu
> general public license is included in this distribution in the file
> called license
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 4 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=ad37800ef46f
> ---
> drivers/isdn/mISDN/dsp_hwec.c | 19 +------------------
> drivers/isdn/mISDN/dsp_pipeline.c | 19 +------------------
> drivers/net/bonding/bond_3ad.c | 19 +------------------
> include/net/bond_3ad.h | 19 +------------------
> 4 files changed, 4 insertions(+), 72 deletions(-)
>
> --- a/drivers/isdn/mISDN/dsp_hwec.c
> +++ b/drivers/isdn/mISDN/dsp_hwec.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * dsp_hwec.c:
> * builtin mISDN dsp pipeline element for enabling the hw echocanceller
> @@ -5,24 +6,6 @@
> * Copyright (C) 2007, Nadi Sarrar
> *
> * Nadi Sarrar <nadi@beronet.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the Free
> - * Software Foundation; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called LICENSE.
> - *
> */
>
> #include <linux/kernel.h>
> --- a/drivers/isdn/mISDN/dsp_pipeline.c
> +++ b/drivers/isdn/mISDN/dsp_pipeline.c
> @@ -1,27 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * dsp_pipeline.c: pipelined audio processing
> *
> * Copyright (C) 2007, Nadi Sarrar
> *
> * Nadi Sarrar <nadi@beronet.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the Free
> - * Software Foundation; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called LICENSE.
> - *
> */
>
> #include <linux/kernel.h>
> --- a/drivers/net/bonding/bond_3ad.c
> +++ b/drivers/net/bonding/bond_3ad.c
> @@ -1,23 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved.
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the Free
> - * Software Foundation; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called LICENSE.
> - *
> */
>
> #include <linux/skbuff.h>
> --- a/include/net/bond_3ad.h
> +++ b/include/net/bond_3ad.h
> @@ -1,23 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved.
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the Free
> - * Software Foundation; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called LICENSE.
> - *
> */
>
> #ifndef _NET_BOND_3AD_H
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your optional any later version of the license
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 3 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=24eb93ccafe6
> ---
> arch/powerpc/kvm/book3s.h | 7 +------
> include/linux/dma-contiguous.h | 6 +-----
> mm/cma.c | 6 +-----
> 3 files changed, 3 insertions(+), 16 deletions(-)
>
> --- a/arch/powerpc/kvm/book3s.h
> +++ b/arch/powerpc/kvm/book3s.h
> @@ -1,12 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright IBM Corporation, 2013
> * Author Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of the
> - * License or (at your optional) any later version of the license.
> - *
> */
>
> #ifndef __POWERPC_KVM_BOOK3S_H__
> --- a/include/linux/dma-contiguous.h
> +++ b/include/linux/dma-contiguous.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> #ifndef __LINUX_CMA_H
> #define __LINUX_CMA_H
>
> @@ -7,11 +8,6 @@
> * Written by:
> * Marek Szyprowski <m.szyprowski@samsung.com>
> * Michal Nazarewicz <mina86@mina86.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of the
> - * License or (at your optional) any later version of the license.
> */
>
> /*
> --- a/mm/cma.c
> +++ b/mm/cma.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Contiguous Memory Allocator
> *
> @@ -9,11 +10,6 @@
> * Michal Nazarewicz <mina86@mina86.com>
> * Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
> * Joonsoo Kim <iamjoonsoo.kim@lge.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of the
> - * License or (at your optional) any later version of the license.
> */
>
> #define pr_fmt(fmt) "cma: " fmt
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the smems of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public license for more details you
> should have received a copy of the gnu general public license along
> with this program if not write to the free software foundation inc
> 59 temple place suite 330 boston ma 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=6339e329590c
> ---
> drivers/w1/slaves/w1_smem.c | 16 +---------------
> 1 file changed, 1 insertion(+), 15 deletions(-)
>
> --- a/drivers/w1/slaves/w1_smem.c
> +++ b/drivers/w1/slaves/w1_smem.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * w1_smem.c
> *
> * Copyright (c) 2004 Evgeniy Polyakov <zbr@ioremap.net>
> - *
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the smems of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <asm/types.h>
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
This pattern has a simple, relatively high level disclaimer sentence.
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this file is licensed under the terms of the gnu general public
> license version 2 or later this program is licensed as is without
> any warranty of any kind whether express or implied
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 2 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=e398f454a32f
> ---
> drivers/pinctrl/mvebu/pinctrl-armada-37xx.c | 5 +----
> drivers/watchdog/sp805_wdt.c | 5 +----
> 2 files changed, 2 insertions(+), 8 deletions(-)
>
> --- a/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
> +++ b/drivers/pinctrl/mvebu/pinctrl-armada-37xx.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Marvell 37xx SoC pinctrl driver
> *
> * Copyright (C) 2017 Marvell
> *
> * Gregory CLEMENT <gregory.clement@free-electrons.com>
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2 or later. This program is licensed "as is"
> - * without any warranty of any kind, whether express or implied.
> */
>
> #include <linux/gpio/driver.h>
> --- a/drivers/watchdog/sp805_wdt.c
> +++ b/drivers/watchdog/sp805_wdt.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * drivers/char/watchdog/sp805-wdt.c
> *
> @@ -5,10 +6,6 @@
> *
> * Copyright (C) 2010 ST Microelectronics
> * Viresh Kumar <vireshk@kernel.org>
> - *
> - * This file is licensed under the terms of the GNU General Public
> - * License version 2 or later. This program is licensed "as is" without any
> - * warranty of any kind, whether express or implied.
> */
>
> #include <linux/acpi.h>
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> licensed under the gpl v2 or later
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=966757a31376
> ---
> drivers/platform/olpc/olpc-ec.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> --- a/drivers/platform/olpc/olpc-ec.c
> +++ b/drivers/platform/olpc/olpc-ec.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Generic driver for the OLPC Embedded Controller.
> *
> * Author: Andres Salomon <dilinger@queued.net>
> *
> * Copyright (C) 2011-2012 One Laptop per Child Foundation.
> - *
> - * Licensed under the GPL v2 or later.
> */
> #include <linux/completion.h>
> #include <linux/debugfs.h>
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
This one has a fairly detailed nonstandard disclaimer paragraph, which
doesn't seem to be taken from any widely-used license.
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version see the copying file in the top level
> directory or visit http www gnu org licenses gpl 2 0 html this
> program is distributed in the hope that it will be useful but
> without any warranty without even the implied warranty of
> merchantability or fitness for a particular purpose see the gnu
> general public license for more details this program is provided as
> is and with all faults and without warranty of any kind you are
> solely responsible for determining the appropriateness of using and
> distributing the program and assume all risks associated with your
> exercise of rights with respect to the program including but not
> limited to infringement of third party rights the risks and costs of
> program errors damage to or loss of data programs or equipment and
> unavailability or interruption of operations under no circumstances
> will the contributor of this program be liable for any damages of
> any kind arising from your use or distribution of this program
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 6 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=62aaf1489146
> ---
> drivers/scsi/ufs/Kconfig | 24 +-----------------------
> drivers/scsi/ufs/ufs.h | 25 +------------------------
> drivers/scsi/ufs/ufshcd-pci.c | 25 +------------------------
> drivers/scsi/ufs/ufshcd-pltfrm.c | 25 +------------------------
> drivers/scsi/ufs/ufshcd.h | 25 +------------------------
> drivers/scsi/ufs/ufshci.h | 25 +------------------------
> 6 files changed, 6 insertions(+), 143 deletions(-)
>
> --- a/drivers/scsi/ufs/Kconfig
> +++ b/drivers/scsi/ufs/Kconfig
> @@ -1,3 +1,4 @@
> +# SPDX-License-Identifier: GPL-2.0-or-later
> #
> # Kernel configuration file for the UFS Host Controller
> #
> @@ -8,29 +9,6 @@
> # Santosh Yaraganavi <santosh.sy@samsung.com>
> # Vinayak Holikatti <h.vinayak@samsung.com>
> #
> -# This program is free software; you can redistribute it and/or
> -# modify it under the terms of the GNU General Public License
> -# as published by the Free Software Foundation; either version 2
> -# of the License, or (at your option) any later version.
> -# See the COPYING file in the top-level directory or visit
> -# <http://www.gnu.org/licenses/gpl-2.0.html>
> -#
> -# This program is distributed in the hope that it will be useful,
> -# but WITHOUT ANY WARRANTY; without even the implied warranty of
> -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> -# GNU General Public License for more details.
> -#
> -# This program is provided "AS IS" and "WITH ALL FAULTS" and
> -# without warranty of any kind. You are solely responsible for
> -# determining the appropriateness of using and distributing
> -# the program and assume all risks associated with your exercise
> -# of rights with respect to the program, including but not limited
> -# to infringement of third party rights, the risks and costs of
> -# program errors, damage to or loss of data, programs or equipment,
> -# and unavailability or interruption of operations. Under no
> -# circumstances will the contributor of this Program be liable for
> -# any damages of any kind arising from your use or distribution of
> -# this program.
>
> config SCSI_UFSHCD
> tristate "Universal Flash Storage Controller Driver Core"
> --- a/drivers/scsi/ufs/ufs.h
> +++ b/drivers/scsi/ufs/ufs.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Universal Flash Storage Host controller driver
> *
> @@ -7,30 +8,6 @@
> * Authors:
> * Santosh Yaraganavi <santosh.sy@samsung.com>
> * Vinayak Holikatti <h.vinayak@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - * See the COPYING file in the top-level directory or visit
> - * <http://www.gnu.org/licenses/gpl-2.0.html>
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * This program is provided "AS IS" and "WITH ALL FAULTS" and
> - * without warranty of any kind. You are solely responsible for
> - * determining the appropriateness of using and distributing
> - * the program and assume all risks associated with your exercise
> - * of rights with respect to the program, including but not limited
> - * to infringement of third party rights, the risks and costs of
> - * program errors, damage to or loss of data, programs or equipment,
> - * and unavailability or interruption of operations. Under no
> - * circumstances will the contributor of this Program be liable for
> - * any damages of any kind arising from your use or distribution of
> - * this program.
> */
>
> #ifndef _UFS_H
> --- a/drivers/scsi/ufs/ufshcd-pci.c
> +++ b/drivers/scsi/ufs/ufshcd-pci.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Universal Flash Storage Host controller PCI glue driver
> *
> @@ -7,30 +8,6 @@
> * Authors:
> * Santosh Yaraganavi <santosh.sy@samsung.com>
> * Vinayak Holikatti <h.vinayak@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - * See the COPYING file in the top-level directory or visit
> - * <http://www.gnu.org/licenses/gpl-2.0.html>
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * This program is provided "AS IS" and "WITH ALL FAULTS" and
> - * without warranty of any kind. You are solely responsible for
> - * determining the appropriateness of using and distributing
> - * the program and assume all risks associated with your exercise
> - * of rights with respect to the program, including but not limited
> - * to infringement of third party rights, the risks and costs of
> - * program errors, damage to or loss of data, programs or equipment,
> - * and unavailability or interruption of operations. Under no
> - * circumstances will the contributor of this Program be liable for
> - * any damages of any kind arising from your use or distribution of
> - * this program.
> */
>
> #include "ufshcd.h"
> --- a/drivers/scsi/ufs/ufshcd-pltfrm.c
> +++ b/drivers/scsi/ufs/ufshcd-pltfrm.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Universal Flash Storage Host controller Platform bus based glue driver
> *
> @@ -7,30 +8,6 @@
> * Authors:
> * Santosh Yaraganavi <santosh.sy@samsung.com>
> * Vinayak Holikatti <h.vinayak@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - * See the COPYING file in the top-level directory or visit
> - * <http://www.gnu.org/licenses/gpl-2.0.html>
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * This program is provided "AS IS" and "WITH ALL FAULTS" and
> - * without warranty of any kind. You are solely responsible for
> - * determining the appropriateness of using and distributing
> - * the program and assume all risks associated with your exercise
> - * of rights with respect to the program, including but not limited
> - * to infringement of third party rights, the risks and costs of
> - * program errors, damage to or loss of data, programs or equipment,
> - * and unavailability or interruption of operations. Under no
> - * circumstances will the contributor of this Program be liable for
> - * any damages of any kind arising from your use or distribution of
> - * this program.
> */
>
> #include <linux/platform_device.h>
> --- a/drivers/scsi/ufs/ufshcd.h
> +++ b/drivers/scsi/ufs/ufshcd.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Universal Flash Storage Host controller driver
> *
> @@ -8,30 +9,6 @@
> * Authors:
> * Santosh Yaraganavi <santosh.sy@samsung.com>
> * Vinayak Holikatti <h.vinayak@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - * See the COPYING file in the top-level directory or visit
> - * <http://www.gnu.org/licenses/gpl-2.0.html>
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * This program is provided "AS IS" and "WITH ALL FAULTS" and
> - * without warranty of any kind. You are solely responsible for
> - * determining the appropriateness of using and distributing
> - * the program and assume all risks associated with your exercise
> - * of rights with respect to the program, including but not limited
> - * to infringement of third party rights, the risks and costs of
> - * program errors, damage to or loss of data, programs or equipment,
> - * and unavailability or interruption of operations. Under no
> - * circumstances will the contributor of this Program be liable for
> - * any damages of any kind arising from your use or distribution of
> - * this program.
> */
>
> #ifndef _UFSHCD_H
> --- a/drivers/scsi/ufs/ufshci.h
> +++ b/drivers/scsi/ufs/ufshci.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Universal Flash Storage Host controller driver
> *
> @@ -7,30 +8,6 @@
> * Authors:
> * Santosh Yaraganavi <santosh.sy@samsung.com>
> * Vinayak Holikatti <h.vinayak@samsung.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version 2
> - * of the License, or (at your option) any later version.
> - * See the COPYING file in the top-level directory or visit
> - * <http://www.gnu.org/licenses/gpl-2.0.html>
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * This program is provided "AS IS" and "WITH ALL FAULTS" and
> - * without warranty of any kind. You are solely responsible for
> - * determining the appropriateness of using and distributing
> - * the program and assume all risks associated with your exercise
> - * of rights with respect to the program, including but not limited
> - * to infringement of third party rights, the risks and costs of
> - * program errors, damage to or loss of data, programs or equipment,
> - * and unavailability or interruption of operations. Under no
> - * circumstances will the contributor of this Program be liable for
> - * any damages of any kind arising from your use or distribution of
> - * this program.
> */
>
> #ifndef _UFSHCI_H
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public lcodecnse as published
> by the free software foundation either version 2 of the lcodecnse or
> at your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public lcodecnse for more details you
> should have received a copy of the gnu general public lcodecnse
> along with this program if not write to the free software foundation
> inc 59 temple place suite 330 boston ma 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=0af7d44dd16a
> ---
> sound/pci/ali5451/ali5451.c | 16 +---------------
> 1 file changed, 1 insertion(+), 15 deletions(-)
>
> --- a/sound/pci/ali5451/ali5451.c
> +++ b/sound/pci/ali5451/ali5451.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Matt Wu <Matt_Wu@acersoftech.com.cn>
> * Apr 26, 2001
> @@ -8,21 +9,6 @@
> *
> * TODO:
> * --
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public Lcodecnse as published by
> - * the Free Software Foundation; either version 2 of the Lcodecnse, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public Lcodecnse for more details.
> - *
> - * You should have received a copy of the GNU General Public Lcodecnse
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> - *
> */
>
> #include <linux/io.h>
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version author [bill] [dirks]
> [bill]@[thedirks] [org] [based] [on] [code] [by] [alan] [cox]
> [alan]@[cymru] [net] video capture interface for linux a generic
> video device interface for the linux operating system using a set of
> device structures vectors for low level operations this program is
> free software you can redistribute it and or modify it under the
> terms of the gnu general public license as published by the free
> software foundation either version 2 of the license or at your
> option any later version
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=3e00a2c38a0b
> ---
> drivers/media/v4l2-core/v4l2-common.c | 12 +-----------
> 1 file changed, 1 insertion(+), 11 deletions(-)
>
> --- a/drivers/media/v4l2-core/v4l2-common.c
> +++ b/drivers/media/v4l2-core/v4l2-common.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Video for Linux Two
> *
> @@ -7,14 +8,8 @@
> * This file replaces the videodev.c file that comes with the
> * regular kernel distribution.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Author: Bill Dirks <bill@thedirks.org>
> * based on code by Alan Cox, <alan@cymru.net>
> - *
> */
>
> /*
> @@ -23,11 +18,6 @@
> * A generic video device interface for the LINUX operating system
> * using a set of device structures/vectors for low level operations.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Author: Alan Cox, <alan@lxorguk.ukuu.org.uk>
> *
> * Fixes:
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license version 2 or
> later as published by the free software foundation this program is
> distributed in the hope that it will be useful but without any
> warranty without even the implied warranty of merchantability or
> fitness for a particular purpose see the gnu general public license
> for more details
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 6 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=09f0fb3be587
> ---
> drivers/leds/leds-cpcap.c | 10 +---------
> tools/thermal/tmon/pid.c | 13 +------------
> tools/thermal/tmon/sysfs.c | 11 +----------
> tools/thermal/tmon/tmon.c | 11 +----------
> tools/thermal/tmon/tmon.h | 11 +----------
> tools/thermal/tmon/tui.c | 11 +----------
> 6 files changed, 6 insertions(+), 61 deletions(-)
>
> --- a/drivers/leds/leds-cpcap.c
> +++ b/drivers/leds/leds-cpcap.c
> @@ -1,14 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright (c) 2017 Sebastian Reichel <sre@kernel.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 or
> - * later as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> */
>
> #include <linux/leds.h>
> --- a/tools/thermal/tmon/pid.c
> +++ b/tools/thermal/tmon/pid.c
> @@ -1,21 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * pid.c PID controller for testing cooling devices
> *
> - *
> - *
> * Copyright (C) 2012 Intel Corporation. All rights reserved.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License version
> - * 2 or later as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> * Author Name Jacob Pan <jacob.jun.pan@linux.intel.com>
> - *
> */
>
> #include <unistd.h>
> --- a/tools/thermal/tmon/sysfs.c
> +++ b/tools/thermal/tmon/sysfs.c
> @@ -1,19 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * sysfs.c sysfs ABI access functions for TMON program
> *
> * Copyright (C) 2013 Intel Corporation. All rights reserved.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License version
> - * 2 or later as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> * Author: Jacob Pan <jacob.jun.pan@linux.intel.com>
> - *
> */
> #include <unistd.h>
> #include <stdio.h>
> --- a/tools/thermal/tmon/tmon.c
> +++ b/tools/thermal/tmon/tmon.c
> @@ -1,19 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * tmon.c Thermal Monitor (TMON) main function and entry point
> *
> * Copyright (C) 2012 Intel Corporation. All rights reserved.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License version
> - * 2 or later as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> * Author: Jacob Pan <jacob.jun.pan@linux.intel.com>
> - *
> */
>
> #include <getopt.h>
> --- a/tools/thermal/tmon/tmon.h
> +++ b/tools/thermal/tmon/tmon.h
> @@ -1,19 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * tmon.h contains data structures and constants used by TMON
> *
> * Copyright (C) 2012 Intel Corporation. All rights reserved.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License version
> - * 2 or later as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> * Author Name Jacob Pan <jacob.jun.pan@linux.intel.com>
> - *
> */
>
> #ifndef TMON_H
> --- a/tools/thermal/tmon/tui.c
> +++ b/tools/thermal/tmon/tui.c
> @@ -1,19 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * tui.c ncurses text user interface for TMON program
> *
> * Copyright (C) 2013 Intel Corporation. All rights reserved.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License version
> - * 2 or later as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> * Author: Jacob Pan <jacob.jun.pan@linux.intel.com>
> - *
> */
>
> #include <unistd.h>
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this file is part of the linux kernel and is made available under
> the terms of the gnu general public license version 2 or at your
> option any later version incorporated herein by reference
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 18 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=77241ca7be35
> ---
> arch/x86/boot/bioscall.S | 5 +----
> arch/x86/boot/mkcpustr.c | 5 +----
> arch/x86/boot/regs.c | 5 +----
> fs/autofs/autofs_i.h | 5 +----
> fs/autofs/dev-ioctl.c | 5 +----
> fs/autofs/expire.c | 5 +----
> fs/autofs/init.c | 5 +----
> fs/autofs/inode.c | 5 +----
> fs/autofs/root.c | 5 +----
> fs/autofs/symlink.c | 5 +----
> fs/autofs/waitq.c | 5 +----
> fs/devpts/inode.c | 5 +----
> include/linux/auto_dev-ioctl.h | 5 +----
> include/linux/auto_fs.h | 5 +----
> include/linux/devpts_fs.h | 5 +----
> include/linux/jbd2.h | 5 +----
> lib/raid6/mktables.c | 5 +----
> lib/raid6/test/test.c | 5 +----
> 18 files changed, 18 insertions(+), 72 deletions(-)
>
> --- a/arch/x86/boot/bioscall.S
> +++ b/arch/x86/boot/bioscall.S
> @@ -1,11 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /* -----------------------------------------------------------------------
> *
> * Copyright 2009-2014 Intel Corporation; author H. Peter Anvin
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/arch/x86/boot/mkcpustr.c
> +++ b/arch/x86/boot/mkcpustr.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* ----------------------------------------------------------------------- *
> *
> * Copyright 2008 rPath, Inc. - All Rights Reserved
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/arch/x86/boot/regs.c
> +++ b/arch/x86/boot/regs.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -----------------------------------------------------------------------
> *
> * Copyright 2009 Intel Corporation; author H. Peter Anvin
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/fs/autofs/autofs_i.h
> +++ b/fs/autofs/autofs_i.h
> @@ -1,10 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright 1997-1998 Transmeta Corporation - All Rights Reserved
> * Copyright 2005-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> /* Internal header file for autofs */
> --- a/fs/autofs/dev-ioctl.c
> +++ b/fs/autofs/dev-ioctl.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 2008 Red Hat, Inc. All rights reserved.
> * Copyright 2008 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/miscdevice.h>
> --- a/fs/autofs/expire.c
> +++ b/fs/autofs/expire.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org>
> * Copyright 2001-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include "autofs_i.h"
> --- a/fs/autofs/init.c
> +++ b/fs/autofs/init.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/module.h>
> --- a/fs/autofs/inode.c
> +++ b/fs/autofs/inode.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 2005-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/seq_file.h>
> --- a/fs/autofs/root.c
> +++ b/fs/autofs/root.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org>
> * Copyright 2001-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/capability.h>
> --- a/fs/autofs/symlink.c
> +++ b/fs/autofs/symlink.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include "autofs_i.h"
> --- a/fs/autofs/waitq.c
> +++ b/fs/autofs/waitq.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 2001-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/sched/signal.h>
> --- a/fs/devpts/inode.c
> +++ b/fs/devpts/inode.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -*- linux-c -*- --------------------------------------------------------- *
> *
> * linux/fs/devpts/inode.c
> *
> * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved
> *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> - *
> * ------------------------------------------------------------------------- */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/include/linux/auto_dev-ioctl.h
> +++ b/include/linux/auto_dev-ioctl.h
> @@ -1,10 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright 2008 Red Hat, Inc. All rights reserved.
> * Copyright 2008 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #ifndef _LINUX_AUTO_DEV_IOCTL_H
> --- a/include/linux/auto_fs.h
> +++ b/include/linux/auto_fs.h
> @@ -1,9 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright 1997 Transmeta Corporation - All Rights Reserved
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #ifndef _LINUX_AUTO_FS_H
> --- a/include/linux/devpts_fs.h
> +++ b/include/linux/devpts_fs.h
> @@ -1,13 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /* -*- linux-c -*- --------------------------------------------------------- *
> *
> * linux/include/linux/devpts_fs.h
> *
> * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved
> *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> - *
> * ------------------------------------------------------------------------- */
>
> #ifndef _LINUX_DEVPTS_FS_H
> --- a/include/linux/jbd2.h
> +++ b/include/linux/jbd2.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * linux/include/linux/jbd2.h
> *
> @@ -5,10 +6,6 @@
> *
> * Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved
> *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> - *
> * Definitions for transaction data structures for the buffer cache
> * filesystem journaling support.
> */
> --- a/lib/raid6/mktables.c
> +++ b/lib/raid6/mktables.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -*- linux-c -*- ------------------------------------------------------- *
> *
> * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/lib/raid6/test/test.c
> +++ b/lib/raid6/test/test.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -*- linux-c -*- ------------------------------------------------------- *
> *
> * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this source code is licensed under the gnu general public license
> version 2 or later see the file copying for more details
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=884d4b3c4292
> ---
> drivers/xen/events/events_internal.h | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> --- a/drivers/xen/events/events_internal.h
> +++ b/drivers/xen/events/events_internal.h
> @@ -1,10 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Xen Event Channels (internal header)
> *
> * Copyright (C) 2013 Citrix Systems R&D Ltd.
> - *
> - * This source code is licensed under the GNU General Public License,
> - * Version 2 or later. See the file COPYING for more details.
> */
> #ifndef __EVENTS_INTERNAL_H__
> #define __EVENTS_INTERNAL_H__
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this source code is public free you can distribute it and or modify
> it under terms of the gnu general public license published by the
> free software foundation either version two of this license or any
> later version
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=d69903b6af6a
> ---
> drivers/net/ethernet/hp/hp100.h | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> --- a/drivers/net/ethernet/hp/hp100.h
> +++ b/drivers/net/ethernet/hp/hp100.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * hp100.h: Hewlett Packard HP10/100VG ANY LAN ethernet driver for Linux.
> *
> @@ -7,11 +8,6 @@
> * Siegfried Loeffler <floeff@tunix.mathematik.uni-stuttgart.de>
> *
> * This driver is based on the 'hpfepkt' crynwr packet driver.
> - *
> - * This source/code is public free; you can distribute it and/or modify
> - * it under terms of the GNU General Public License (published by the
> - * Free Software Foundation) either version two of this License, or any
> - * later version.
> */
>
> /****************************************************************************
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license version 2 as
> published by the free software foundation or any later at your
> option
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 5 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=837cdb861a7f
> ---
> net/netfilter/nf_conntrack_timeout.c | 5 +----
> net/netfilter/nf_conntrack_timestamp.c | 5 +----
> net/netfilter/nfnetlink_acct.c | 5 +----
> net/netfilter/nfnetlink_cthelper.c | 5 +----
> net/netfilter/nfnetlink_cttimeout.c | 5 +----
> 5 files changed, 5 insertions(+), 20 deletions(-)
>
> --- a/net/netfilter/nf_conntrack_timeout.c
> +++ b/net/netfilter/nf_conntrack_timeout.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org>
> * (C) 2012 by Vyatta Inc. <http://www.vyatta.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> */
>
> #include <linux/types.h>
> --- a/net/netfilter/nf_conntrack_timestamp.c
> +++ b/net/netfilter/nf_conntrack_timestamp.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2010 Pablo Neira Ayuso <pablo@netfilter.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/net/netfilter/nfnetlink_acct.c
> +++ b/net/netfilter/nfnetlink_acct.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2011 Pablo Neira Ayuso <pablo@netfilter.org>
> * (C) 2011 Intra2net AG <http://www.intra2net.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> */
> #include <linux/init.h>
> #include <linux/module.h>
> --- a/net/netfilter/nfnetlink_cthelper.c
> +++ b/net/netfilter/nfnetlink_cthelper.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
> *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> - *
> * This software has been sponsored by Vyatta Inc. <http://www.vyatta.com>
> */
> #include <linux/init.h>
> --- a/net/netfilter/nfnetlink_cttimeout.c
> +++ b/net/netfilter/nfnetlink_cttimeout.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org>
> * (C) 2012 by Vyatta Inc. <http://www.vyatta.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> */
> #include <linux/init.h>
> #include <linux/module.h>
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this code is released under the gnu general public license version 2
> or later
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 3 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=f99e4ea9b813
> ---
> arch/x86/kernel/smp.c | 4 +---
> arch/x86/kernel/smpboot.c | 4 +---
> arch/x86/platform/uv/tlb_uv.c | 4 +---
> 3 files changed, 3 insertions(+), 9 deletions(-)
>
> --- a/arch/x86/kernel/smp.c
> +++ b/arch/x86/kernel/smp.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Intel SMP support routines.
> *
> @@ -6,9 +7,6 @@
> * (c) 2002,2003 Andi Kleen, SuSE Labs.
> *
> * i386 and x86_64 integration by Glauber Costa <gcosta@redhat.com>
> - *
> - * This code is released under the GNU General Public License version 2 or
> - * later.
> */
>
> #include <linux/init.h>
> --- a/arch/x86/kernel/smpboot.c
> +++ b/arch/x86/kernel/smpboot.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * x86 SMP booting functions
> *
> @@ -12,9 +13,6 @@
> * Pentium Pro and Pentium-II/Xeon MP machines.
> * Original development of Linux SMP code supported by Caldera.
> *
> - * This code is released under the GNU General Public License version 2 or
> - * later.
> - *
> * Fixes
> * Felix Koop : NR_CPUS used properly
> * Jose Renau : Handle single CPU case.
> --- a/arch/x86/platform/uv/tlb_uv.c
> +++ b/arch/x86/platform/uv/tlb_uv.c
> @@ -1,10 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * SGI UltraViolet TLB flush routines.
> *
> * (c) 2008-2014 Cliff Wickman <cpw@sgi.com>, SGI.
> - *
> - * This code is released under the GNU General Public License version 2 or
> - * later.
> */
> #include <linux/seq_file.h>
> #include <linux/proc_fs.h>
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
Reviewed-by: Richard Fontana <rfontana@redhat.com>
On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this work is licensed under the terms of the gnu gpl version 2 or
> later see the copying file in the top level directory
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 6 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=6f42bc6b9599
> ---
> drivers/scsi/virtio_scsi.c | 5 +----
> drivers/virtio/virtio_mmio.c | 6 +-----
> drivers/virtio/virtio_pci_common.c | 5 +----
> drivers/virtio/virtio_pci_common.h | 5 +----
> drivers/virtio/virtio_pci_legacy.c | 5 +----
> drivers/virtio/virtio_pci_modern.c | 5 +----
> 6 files changed, 6 insertions(+), 25 deletions(-)
>
> --- a/drivers/scsi/virtio_scsi.c
> +++ b/drivers/scsi/virtio_scsi.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio SCSI HBA driver
> *
> @@ -7,10 +8,6 @@
> * Authors:
> * Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
> * Paolo Bonzini <pbonzini@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/virtio/virtio_mmio.c
> +++ b/drivers/virtio/virtio_mmio.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio memory mapped device driver
> *
> @@ -48,12 +49,7 @@
> * virtio_mmio.device=0x100@0x100b0000:48 \
> * virtio_mmio.device=1K@0x1001e000:74
> *
> - *
> - *
> * Based on Virtio PCI driver by Anthony Liguori, copyright IBM Corp. 2007
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> */
>
> #define pr_fmt(fmt) "virtio-mmio: " fmt
> --- a/drivers/virtio/virtio_pci_common.c
> +++ b/drivers/virtio/virtio_pci_common.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio PCI driver - common functionality for all device versions
> *
> @@ -11,10 +12,6 @@
> * Anthony Liguori <aliguori@us.ibm.com>
> * Rusty Russell <rusty@rustcorp.com.au>
> * Michael S. Tsirkin <mst@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #include "virtio_pci_common.h"
> --- a/drivers/virtio/virtio_pci_common.h
> +++ b/drivers/virtio/virtio_pci_common.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> #ifndef _DRIVERS_VIRTIO_VIRTIO_PCI_COMMON_H
> #define _DRIVERS_VIRTIO_VIRTIO_PCI_COMMON_H
> /*
> @@ -13,10 +14,6 @@
> * Anthony Liguori <aliguori@us.ibm.com>
> * Rusty Russell <rusty@rustcorp.com.au>
> * Michael S. Tsirkin <mst@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #include <linux/module.h>
> --- a/drivers/virtio/virtio_pci_legacy.c
> +++ b/drivers/virtio/virtio_pci_legacy.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio PCI driver - legacy device support
> *
> @@ -11,10 +12,6 @@
> * Anthony Liguori <aliguori@us.ibm.com>
> * Rusty Russell <rusty@rustcorp.com.au>
> * Michael S. Tsirkin <mst@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #include "virtio_pci_common.h"
> --- a/drivers/virtio/virtio_pci_modern.c
> +++ b/drivers/virtio/virtio_pci_modern.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio PCI driver - modern (virtio 1.0) device support
> *
> @@ -11,10 +12,6 @@
> * Anthony Liguori <aliguori@us.ibm.com>
> * Rusty Russell <rusty@rustcorp.com.au>
> * Michael S. Tsirkin <mst@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #include <linux/delay.h>
>
>
--
Richard Fontana
Senior Commercial Counsel
Red Hat, Inc.
On Wed, May 22, 2019 at 09:07:49AM -0400, Richard Fontana wrote: > This pattern has a simple, relatively high level disclaimer sentence. What does that mean? Also: A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top thanks, greg k-h
On Wed, 22 May 2019, Richard Fontana wrote:
> On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> > neither [alan] [cox] [nor] [cymrunet]
> > [ltd] admit liability nor provide warranty for any of this software
> > this material is provided as is and at no charge
>
> Since some of these disclaimer statements are getting scrutinized,
> this one is also notable though it is more general than the other ones
> that have been called out. I think we should decide what to do about
> variously-worded warranty/liability disclaimer statements in general
> and consider this variety along with others. I assume SPDX previously
> never considered the problem of how to deal with license notices with
> various nonstandard disclaimer statements other than implicitly
> treating the ones in the GNU notice as conveying nothing more than
> what's already in the GPL/LGPL license texts.
>
> For the time being I am trying to call attention to anything that
> seems even slightly interestingly different from what's in the GNU
> notice ("WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE").
Right. The patcher keeps them around:
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version
- * 2 of the License, or (at your option) any later version.
- *
* Neither Alan Cox nor CymruNet Ltd. admit liability nor provide
* warranty for any of this software. This material is provided
* "AS-IS" and at no charge.
But yes, the question is whether this is yet another license
variant^Wabomination.
Assumed that combining these magic disclaimers with the GPL text forms a
unique license then we probably (did not validate) double the number of
licenses in the kernel. We already have 80+ without those.
Thanks,
tglx
On Wed, 22 May 2019, Richard Fontana wrote:
> On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> This one has a fairly detailed nonstandard disclaimer paragraph, which
> doesn't seem to be taken from any widely-used license.
>
> > --- a/drivers/scsi/ufs/Kconfig
> > +++ b/drivers/scsi/ufs/Kconfig
> > @@ -1,3 +1,4 @@
> > +# SPDX-License-Identifier: GPL-2.0-or-later
> > #
> > # Kernel configuration file for the UFS Host Controller
> > #
> > @@ -8,29 +9,6 @@
> > # Santosh Yaraganavi <santosh.sy@samsung.com>
> > # Vinayak Holikatti <h.vinayak@samsung.com>
> > #
> > -# This program is free software; you can redistribute it and/or
> > -# modify it under the terms of the GNU General Public License
> > -# as published by the Free Software Foundation; either version 2
> > -# of the License, or (at your option) any later version.
> > -# See the COPYING file in the top-level directory or visit
> > -# <http://www.gnu.org/licenses/gpl-2.0.html>
> > -#
> > -# This program is distributed in the hope that it will be useful,
> > -# but WITHOUT ANY WARRANTY; without even the implied warranty of
> > -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> > -# GNU General Public License for more details.
> > -#
> > -# This program is provided "AS IS" and "WITH ALL FAULTS" and
> > -# without warranty of any kind. You are solely responsible for
> > -# determining the appropriateness of using and distributing
> > -# the program and assume all risks associated with your exercise
> > -# of rights with respect to the program, including but not limited
> > -# to infringement of third party rights, the risks and costs of
> > -# program errors, damage to or loss of data, programs or equipment,
> > -# and unavailability or interruption of operations. Under no
> > -# circumstances will the contributor of this Program be liable for
> > -# any damages of any kind arising from your use or distribution of
> > -# this program.
Provided by Samsung. Do we have contacts to Samsung Open Source lawyers?
Thanks,
tglx
Reviewed-by: Armijn Hemel <armijn@tjaldur.nl>
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license version 2 as
> published by the free software foundation or any later at your
> option
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 5 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=837cdb861a7f
> ---
> net/netfilter/nf_conntrack_timeout.c | 5 +----
> net/netfilter/nf_conntrack_timestamp.c | 5 +----
> net/netfilter/nfnetlink_acct.c | 5 +----
> net/netfilter/nfnetlink_cthelper.c | 5 +----
> net/netfilter/nfnetlink_cttimeout.c | 5 +----
> 5 files changed, 5 insertions(+), 20 deletions(-)
>
> --- a/net/netfilter/nf_conntrack_timeout.c
> +++ b/net/netfilter/nf_conntrack_timeout.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org>
> * (C) 2012 by Vyatta Inc. <http://www.vyatta.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> */
>
> #include <linux/types.h>
> --- a/net/netfilter/nf_conntrack_timestamp.c
> +++ b/net/netfilter/nf_conntrack_timestamp.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2010 Pablo Neira Ayuso <pablo@netfilter.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/net/netfilter/nfnetlink_acct.c
> +++ b/net/netfilter/nfnetlink_acct.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2011 Pablo Neira Ayuso <pablo@netfilter.org>
> * (C) 2011 Intra2net AG <http://www.intra2net.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> */
> #include <linux/init.h>
> #include <linux/module.h>
> --- a/net/netfilter/nfnetlink_cthelper.c
> +++ b/net/netfilter/nfnetlink_cthelper.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
> *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> - *
> * This software has been sponsored by Vyatta Inc. <http://www.vyatta.com>
> */
> #include <linux/init.h>
> --- a/net/netfilter/nfnetlink_cttimeout.c
> +++ b/net/netfilter/nfnetlink_cttimeout.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org>
> * (C) 2012 by Vyatta Inc. <http://www.vyatta.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> */
> #include <linux/init.h>
> #include <linux/module.h>
>
>
--
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
Reviewed by: Armijn Hemel <armijn@tjaldur.nl>
> Based on 1 normalized pattern(s):
>
> this work is licensed under the terms of the gnu gpl version 2 or
> later see the copying file in the top level directory
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 6 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=6f42bc6b9599
> ---
> drivers/scsi/virtio_scsi.c | 5 +----
> drivers/virtio/virtio_mmio.c | 6 +-----
> drivers/virtio/virtio_pci_common.c | 5 +----
> drivers/virtio/virtio_pci_common.h | 5 +----
> drivers/virtio/virtio_pci_legacy.c | 5 +----
> drivers/virtio/virtio_pci_modern.c | 5 +----
> 6 files changed, 6 insertions(+), 25 deletions(-)
>
> --- a/drivers/scsi/virtio_scsi.c
> +++ b/drivers/scsi/virtio_scsi.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio SCSI HBA driver
> *
> @@ -7,10 +8,6 @@
> * Authors:
> * Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
> * Paolo Bonzini <pbonzini@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/virtio/virtio_mmio.c
> +++ b/drivers/virtio/virtio_mmio.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio memory mapped device driver
> *
> @@ -48,12 +49,7 @@
> * virtio_mmio.device=0x100@0x100b0000:48 \
> * virtio_mmio.device=1K@0x1001e000:74
> *
> - *
> - *
> * Based on Virtio PCI driver by Anthony Liguori, copyright IBM Corp. 2007
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> */
>
> #define pr_fmt(fmt) "virtio-mmio: " fmt
> --- a/drivers/virtio/virtio_pci_common.c
> +++ b/drivers/virtio/virtio_pci_common.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio PCI driver - common functionality for all device versions
> *
> @@ -11,10 +12,6 @@
> * Anthony Liguori <aliguori@us.ibm.com>
> * Rusty Russell <rusty@rustcorp.com.au>
> * Michael S. Tsirkin <mst@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #include "virtio_pci_common.h"
> --- a/drivers/virtio/virtio_pci_common.h
> +++ b/drivers/virtio/virtio_pci_common.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> #ifndef _DRIVERS_VIRTIO_VIRTIO_PCI_COMMON_H
> #define _DRIVERS_VIRTIO_VIRTIO_PCI_COMMON_H
> /*
> @@ -13,10 +14,6 @@
> * Anthony Liguori <aliguori@us.ibm.com>
> * Rusty Russell <rusty@rustcorp.com.au>
> * Michael S. Tsirkin <mst@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #include <linux/module.h>
> --- a/drivers/virtio/virtio_pci_legacy.c
> +++ b/drivers/virtio/virtio_pci_legacy.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio PCI driver - legacy device support
> *
> @@ -11,10 +12,6 @@
> * Anthony Liguori <aliguori@us.ibm.com>
> * Rusty Russell <rusty@rustcorp.com.au>
> * Michael S. Tsirkin <mst@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #include "virtio_pci_common.h"
> --- a/drivers/virtio/virtio_pci_modern.c
> +++ b/drivers/virtio/virtio_pci_modern.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio PCI driver - modern (virtio 1.0) device support
> *
> @@ -11,10 +12,6 @@
> * Anthony Liguori <aliguori@us.ibm.com>
> * Rusty Russell <rusty@rustcorp.com.au>
> * Michael S. Tsirkin <mst@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #include <linux/delay.h>
>
>
--
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
thanks Richard - really helpful to have others flagging these, as keeping track is enough work that I’m not having time to review also.
But could i please ask you (and others) to not remove the original text of Thomas’ email when you respond? It reduces the digging I need to do to find the original filenames and text if you top-post (as un-cool as that is, but you can just blame me for you un-coolness in this case)
thanks,
Jilayne
> On May 22, 2019, at 6:59 AM, Richard Fontana <rfontana@redhat.com> wrote:
>
> On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
>> neither [alan] [cox] [nor] [cymrunet]
>> [ltd] admit liability nor provide warranty for any of this software
>> this material is provided as is and at no charge
>
> Since some of these disclaimer statements are getting scrutinized,
> this one is also notable though it is more general than the other ones
> that have been called out. I think we should decide what to do about
> variously-worded warranty/liability disclaimer statements in general
> and consider this variety along with others. I assume SPDX previously
> never considered the problem of how to deal with license notices with
> various nonstandard disclaimer statements other than implicitly
> treating the ones in the GNU notice as conveying nothing more than
> what's already in the GPL/LGPL license texts.
>
> For the time being I am trying to call attention to anything that
> seems even slightly interestingly different from what's in the GNU
> notice ("WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE").
>
> Richard
Reviewed by: Armijn Hemel <armijn@tjaldur.nl>
> Based on 1 normalized pattern(s):
>
> licensed under the gpl v2 or later
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=966757a31376
> ---
> drivers/platform/olpc/olpc-ec.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> --- a/drivers/platform/olpc/olpc-ec.c
> +++ b/drivers/platform/olpc/olpc-ec.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Generic driver for the OLPC Embedded Controller.
> *
> * Author: Andres Salomon <dilinger@queued.net>
> *
> * Copyright (C) 2011-2012 One Laptop per Child Foundation.
> - *
> - * Licensed under the GPL v2 or later.
> */
> #include <linux/completion.h>
> #include <linux/debugfs.h>
>
>
--
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
Reviewed-by: Armijn Hemel <armijn@tjaldur.nl>
> Based on 1 normalized pattern(s):
>
> this source code is licensed under the gnu general public license
> version 2 or later see the file copying for more details
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=884d4b3c4292
> ---
> drivers/xen/events/events_internal.h | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> --- a/drivers/xen/events/events_internal.h
> +++ b/drivers/xen/events/events_internal.h
> @@ -1,10 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Xen Event Channels (internal header)
> *
> * Copyright (C) 2013 Citrix Systems R&D Ltd.
> - *
> - * This source code is licensed under the GNU General Public License,
> - * Version 2 or later. See the file COPYING for more details.
> */
> #ifndef __EVENTS_INTERNAL_H__
> #define __EVENTS_INTERNAL_H__
>
>
--
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
Reviewed-by: Armijn Hemel <armijn@tjaldur.nl>
> Based on 1 normalized pattern(s):
>
> this code is released under the gnu general public license version 2
> or later
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 3 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=f99e4ea9b813
> ---
> arch/x86/kernel/smp.c | 4 +---
> arch/x86/kernel/smpboot.c | 4 +---
> arch/x86/platform/uv/tlb_uv.c | 4 +---
> 3 files changed, 3 insertions(+), 9 deletions(-)
>
> --- a/arch/x86/kernel/smp.c
> +++ b/arch/x86/kernel/smp.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Intel SMP support routines.
> *
> @@ -6,9 +7,6 @@
> * (c) 2002,2003 Andi Kleen, SuSE Labs.
> *
> * i386 and x86_64 integration by Glauber Costa <gcosta@redhat.com>
> - *
> - * This code is released under the GNU General Public License version 2 or
> - * later.
> */
>
> #include <linux/init.h>
> --- a/arch/x86/kernel/smpboot.c
> +++ b/arch/x86/kernel/smpboot.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * x86 SMP booting functions
> *
> @@ -12,9 +13,6 @@
> * Pentium Pro and Pentium-II/Xeon MP machines.
> * Original development of Linux SMP code supported by Caldera.
> *
> - * This code is released under the GNU General Public License version 2 or
> - * later.
> - *
> * Fixes
> * Felix Koop : NR_CPUS used properly
> * Jose Renau : Handle single CPU case.
> --- a/arch/x86/platform/uv/tlb_uv.c
> +++ b/arch/x86/platform/uv/tlb_uv.c
> @@ -1,10 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * SGI UltraViolet TLB flush routines.
> *
> * (c) 2008-2014 Cliff Wickman <cpw@sgi.com>, SGI.
> - *
> - * This code is released under the GNU General Public License version 2 or
> - * later.
> */
> #include <linux/seq_file.h>
> #include <linux/proc_fs.h>
>
>
--
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
On Wed, 22 May 2019, Richard Fontana wrote: > This one incorporates a BSD-style disclaimer paragraph. > > On Wed, May 22, 2019 at 8:05 AM Thomas Gleixner <tglx@linutronix.de> wrote: > > * Common tx4927 irq handler > > * > > * Author: MontaVista Software, Inc. > > * source@mvista.com That's very similar to the ones we had in batch 1 patch 6/25 (Rule 6). Quite some of them cam through montavista as well, but not all of them unfortunately. > > - * > > - * under the terms of the GNU General Public License as published by the > > - * Free Software Foundation; either version 2 of the License, or (at your > > - * option) any later version. Just the license text misses the first line: * This program is free software; you can redistribute it and/or modify it and therefore the scanner put it into a different rule. > > - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED > > - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF > > - * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. > > - * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, > > - * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, > > - * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS > > - * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND > > - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR > > - * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE > > - * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. That's the identical text +/- whitespace damage in the other files ... Thanks, tglx
Reviewed-by: Armijn Hemel <armijn@tjaldur.nl>
> Based on 1 normalized pattern(s):
>
> this file is part of the linux kernel and is made available under
> the terms of the gnu general public license version 2 or at your
> option any later version incorporated herein by reference
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 18 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=77241ca7be35
> ---
> arch/x86/boot/bioscall.S | 5 +----
> arch/x86/boot/mkcpustr.c | 5 +----
> arch/x86/boot/regs.c | 5 +----
> fs/autofs/autofs_i.h | 5 +----
> fs/autofs/dev-ioctl.c | 5 +----
> fs/autofs/expire.c | 5 +----
> fs/autofs/init.c | 5 +----
> fs/autofs/inode.c | 5 +----
> fs/autofs/root.c | 5 +----
> fs/autofs/symlink.c | 5 +----
> fs/autofs/waitq.c | 5 +----
> fs/devpts/inode.c | 5 +----
> include/linux/auto_dev-ioctl.h | 5 +----
> include/linux/auto_fs.h | 5 +----
> include/linux/devpts_fs.h | 5 +----
> include/linux/jbd2.h | 5 +----
> lib/raid6/mktables.c | 5 +----
> lib/raid6/test/test.c | 5 +----
> 18 files changed, 18 insertions(+), 72 deletions(-)
>
> --- a/arch/x86/boot/bioscall.S
> +++ b/arch/x86/boot/bioscall.S
> @@ -1,11 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /* -----------------------------------------------------------------------
> *
> * Copyright 2009-2014 Intel Corporation; author H. Peter Anvin
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/arch/x86/boot/mkcpustr.c
> +++ b/arch/x86/boot/mkcpustr.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* ----------------------------------------------------------------------- *
> *
> * Copyright 2008 rPath, Inc. - All Rights Reserved
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/arch/x86/boot/regs.c
> +++ b/arch/x86/boot/regs.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -----------------------------------------------------------------------
> *
> * Copyright 2009 Intel Corporation; author H. Peter Anvin
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/fs/autofs/autofs_i.h
> +++ b/fs/autofs/autofs_i.h
> @@ -1,10 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright 1997-1998 Transmeta Corporation - All Rights Reserved
> * Copyright 2005-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> /* Internal header file for autofs */
> --- a/fs/autofs/dev-ioctl.c
> +++ b/fs/autofs/dev-ioctl.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 2008 Red Hat, Inc. All rights reserved.
> * Copyright 2008 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/miscdevice.h>
> --- a/fs/autofs/expire.c
> +++ b/fs/autofs/expire.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org>
> * Copyright 2001-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include "autofs_i.h"
> --- a/fs/autofs/init.c
> +++ b/fs/autofs/init.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/module.h>
> --- a/fs/autofs/inode.c
> +++ b/fs/autofs/inode.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 2005-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/seq_file.h>
> --- a/fs/autofs/root.c
> +++ b/fs/autofs/root.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org>
> * Copyright 2001-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/capability.h>
> --- a/fs/autofs/symlink.c
> +++ b/fs/autofs/symlink.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include "autofs_i.h"
> --- a/fs/autofs/waitq.c
> +++ b/fs/autofs/waitq.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 2001-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/sched/signal.h>
> --- a/fs/devpts/inode.c
> +++ b/fs/devpts/inode.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -*- linux-c -*- --------------------------------------------------------- *
> *
> * linux/fs/devpts/inode.c
> *
> * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved
> *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> - *
> * ------------------------------------------------------------------------- */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/include/linux/auto_dev-ioctl.h
> +++ b/include/linux/auto_dev-ioctl.h
> @@ -1,10 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright 2008 Red Hat, Inc. All rights reserved.
> * Copyright 2008 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #ifndef _LINUX_AUTO_DEV_IOCTL_H
> --- a/include/linux/auto_fs.h
> +++ b/include/linux/auto_fs.h
> @@ -1,9 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright 1997 Transmeta Corporation - All Rights Reserved
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #ifndef _LINUX_AUTO_FS_H
> --- a/include/linux/devpts_fs.h
> +++ b/include/linux/devpts_fs.h
> @@ -1,13 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /* -*- linux-c -*- --------------------------------------------------------- *
> *
> * linux/include/linux/devpts_fs.h
> *
> * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved
> *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> - *
> * ------------------------------------------------------------------------- */
>
> #ifndef _LINUX_DEVPTS_FS_H
> --- a/include/linux/jbd2.h
> +++ b/include/linux/jbd2.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * linux/include/linux/jbd2.h
> *
> @@ -5,10 +6,6 @@
> *
> * Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved
> *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> - *
> * Definitions for transaction data structures for the buffer cache
> * filesystem journaling support.
> */
> --- a/lib/raid6/mktables.c
> +++ b/lib/raid6/mktables.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -*- linux-c -*- ------------------------------------------------------- *
> *
> * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/lib/raid6/test/test.c
> +++ b/lib/raid6/test/test.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -*- linux-c -*- ------------------------------------------------------- *
> *
> * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
>
>
--
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
Reviewed-by: Armijn Hemel <armijn@tjaldur.nl>
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version author [bill] [dirks]
> [bill]@[thedirks] [org] [based] [on] [code] [by] [alan] [cox]
> [alan]@[cymru] [net] video capture interface for linux a generic
> video device interface for the linux operating system using a set of
> device structures vectors for low level operations this program is
> free software you can redistribute it and or modify it under the
> terms of the gnu general public license as published by the free
> software foundation either version 2 of the license or at your
> option any later version
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=3e00a2c38a0b
> ---
> drivers/media/v4l2-core/v4l2-common.c | 12 +-----------
> 1 file changed, 1 insertion(+), 11 deletions(-)
>
> --- a/drivers/media/v4l2-core/v4l2-common.c
> +++ b/drivers/media/v4l2-core/v4l2-common.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Video for Linux Two
> *
> @@ -7,14 +8,8 @@
> * This file replaces the videodev.c file that comes with the
> * regular kernel distribution.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Author: Bill Dirks <bill@thedirks.org>
> * based on code by Alan Cox, <alan@cymru.net>
> - *
> */
>
> /*
> @@ -23,11 +18,6 @@
> * A generic video device interface for the LINUX operating system
> * using a set of device structures/vectors for low level operations.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Author: Alan Cox, <alan@lxorguk.ukuu.org.uk>
> *
> * Fixes:
>
>
--
Armijn Hemel, MSc
Tjaldur Software Governance Solutions
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
On Wed, May 22, 2019 at 7:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this source code is licensed under the gnu general public license
> version 2 or later see the file copying for more details
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=884d4b3c4292
> ---
> drivers/xen/events/events_internal.h | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> --- a/drivers/xen/events/events_internal.h
> +++ b/drivers/xen/events/events_internal.h
> @@ -1,10 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Xen Event Channels (internal header)
> *
> * Copyright (C) 2013 Citrix Systems R&D Ltd.
> - *
> - * This source code is licensed under the GNU General Public License,
> - * Version 2 or later. See the file COPYING for more details.
> */
> #ifndef __EVENTS_INTERNAL_H__
> #define __EVENTS_INTERNAL_H__
>
>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
On Wed, May 22, 2019 at 7:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this code is released under the gnu general public license version 2
> or later
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 3 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=f99e4ea9b813
> ---
> arch/x86/kernel/smp.c | 4 +---
> arch/x86/kernel/smpboot.c | 4 +---
> arch/x86/platform/uv/tlb_uv.c | 4 +---
> 3 files changed, 3 insertions(+), 9 deletions(-)
>
> --- a/arch/x86/kernel/smp.c
> +++ b/arch/x86/kernel/smp.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Intel SMP support routines.
> *
> @@ -6,9 +7,6 @@
> * (c) 2002,2003 Andi Kleen, SuSE Labs.
> *
> * i386 and x86_64 integration by Glauber Costa <gcosta@redhat.com>
> - *
> - * This code is released under the GNU General Public License version 2 or
> - * later.
> */
>
> #include <linux/init.h>
> --- a/arch/x86/kernel/smpboot.c
> +++ b/arch/x86/kernel/smpboot.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * x86 SMP booting functions
> *
> @@ -12,9 +13,6 @@
> * Pentium Pro and Pentium-II/Xeon MP machines.
> * Original development of Linux SMP code supported by Caldera.
> *
> - * This code is released under the GNU General Public License version 2 or
> - * later.
> - *
> * Fixes
> * Felix Koop : NR_CPUS used properly
> * Jose Renau : Handle single CPU case.
> --- a/arch/x86/platform/uv/tlb_uv.c
> +++ b/arch/x86/platform/uv/tlb_uv.c
> @@ -1,10 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * SGI UltraViolet TLB flush routines.
> *
> * (c) 2008-2014 Cliff Wickman <cpw@sgi.com>, SGI.
> - *
> - * This code is released under the GNU General Public License version 2 or
> - * later.
> */
> #include <linux/seq_file.h>
> #include <linux/proc_fs.h>
>
>
Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org>
On Wed, May 22, 2019 at 7:05 AM Thomas Gleixner <tglx@linutronix.de> wrote:
>
> Based on 1 normalized pattern(s):
>
> this file is part of the linux kernel and is made available under
> the terms of the gnu general public license version 2 or at your
> option any later version incorporated herein by reference
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 18 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=77241ca7be35
> ---
> arch/x86/boot/bioscall.S | 5 +----
> arch/x86/boot/mkcpustr.c | 5 +----
> arch/x86/boot/regs.c | 5 +----
> fs/autofs/autofs_i.h | 5 +----
> fs/autofs/dev-ioctl.c | 5 +----
> fs/autofs/expire.c | 5 +----
> fs/autofs/init.c | 5 +----
> fs/autofs/inode.c | 5 +----
> fs/autofs/root.c | 5 +----
> fs/autofs/symlink.c | 5 +----
> fs/autofs/waitq.c | 5 +----
> fs/devpts/inode.c | 5 +----
> include/linux/auto_dev-ioctl.h | 5 +----
> include/linux/auto_fs.h | 5 +----
> include/linux/devpts_fs.h | 5 +----
> include/linux/jbd2.h | 5 +----
> lib/raid6/mktables.c | 5 +----
> lib/raid6/test/test.c | 5 +----
> 18 files changed, 18 insertions(+), 72 deletions(-)
>
> --- a/arch/x86/boot/bioscall.S
> +++ b/arch/x86/boot/bioscall.S
> @@ -1,11 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /* -----------------------------------------------------------------------
> *
> * Copyright 2009-2014 Intel Corporation; author H. Peter Anvin
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/arch/x86/boot/mkcpustr.c
> +++ b/arch/x86/boot/mkcpustr.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* ----------------------------------------------------------------------- *
> *
> * Copyright 2008 rPath, Inc. - All Rights Reserved
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/arch/x86/boot/regs.c
> +++ b/arch/x86/boot/regs.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -----------------------------------------------------------------------
> *
> * Copyright 2009 Intel Corporation; author H. Peter Anvin
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/fs/autofs/autofs_i.h
> +++ b/fs/autofs/autofs_i.h
> @@ -1,10 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright 1997-1998 Transmeta Corporation - All Rights Reserved
> * Copyright 2005-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> /* Internal header file for autofs */
> --- a/fs/autofs/dev-ioctl.c
> +++ b/fs/autofs/dev-ioctl.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 2008 Red Hat, Inc. All rights reserved.
> * Copyright 2008 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/miscdevice.h>
> --- a/fs/autofs/expire.c
> +++ b/fs/autofs/expire.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org>
> * Copyright 2001-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include "autofs_i.h"
> --- a/fs/autofs/init.c
> +++ b/fs/autofs/init.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/module.h>
> --- a/fs/autofs/inode.c
> +++ b/fs/autofs/inode.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 2005-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/seq_file.h>
> --- a/fs/autofs/root.c
> +++ b/fs/autofs/root.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org>
> * Copyright 2001-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/capability.h>
> --- a/fs/autofs/symlink.c
> +++ b/fs/autofs/symlink.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include "autofs_i.h"
> --- a/fs/autofs/waitq.c
> +++ b/fs/autofs/waitq.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 2001-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/sched/signal.h>
> --- a/fs/devpts/inode.c
> +++ b/fs/devpts/inode.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -*- linux-c -*- --------------------------------------------------------- *
> *
> * linux/fs/devpts/inode.c
> *
> * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved
> *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> - *
> * ------------------------------------------------------------------------- */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/include/linux/auto_dev-ioctl.h
> +++ b/include/linux/auto_dev-ioctl.h
> @@ -1,10 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright 2008 Red Hat, Inc. All rights reserved.
> * Copyright 2008 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #ifndef _LINUX_AUTO_DEV_IOCTL_H
> --- a/include/linux/auto_fs.h
> +++ b/include/linux/auto_fs.h
> @@ -1,9 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright 1997 Transmeta Corporation - All Rights Reserved
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #ifndef _LINUX_AUTO_FS_H
> --- a/include/linux/devpts_fs.h
> +++ b/include/linux/devpts_fs.h
> @@ -1,13 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /* -*- linux-c -*- --------------------------------------------------------- *
> *
> * linux/include/linux/devpts_fs.h
> *
> * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved
> *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> - *
> * ------------------------------------------------------------------------- */
>
> #ifndef _LINUX_DEVPTS_FS_H
> --- a/include/linux/jbd2.h
> +++ b/include/linux/jbd2.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * linux/include/linux/jbd2.h
> *
> @@ -5,10 +6,6 @@
> *
> * Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved
> *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> - *
> * Definitions for transaction data structures for the buffer cache
> * filesystem journaling support.
> */
> --- a/lib/raid6/mktables.c
> +++ b/lib/raid6/mktables.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -*- linux-c -*- ------------------------------------------------------- *
> *
> * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/lib/raid6/test/test.c
> +++ b/lib/raid6/test/test.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -*- linux-c -*- ------------------------------------------------------- *
> *
> * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> gdb gas and the gnu binutils are free software you can redistribute
> them and or modify them under the terms of the gnu general public
> license as published by the free software foundation either version
> 2 or at your option any later version gdb gas and the gnu binutils
> are distributed in the hope that they will be useful but without any
> warranty without even the implied warranty of merchantability or
> fitness for a particular purpose see the gnu general public license
> for more details you should have received a copy of the gnu general
> public license along with this file see the file copying if not
> write to the free software foundation 51 franklin street fifth floor
> boston ma 02110 1301 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 2 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=32fb12ed1b66
> ---
> arch/powerpc/xmon/ppc-dis.c | 15 ++-------------
> arch/powerpc/xmon/ppc-opc.c | 16 ++--------------
> 2 files changed, 4 insertions(+), 27 deletions(-)
>
> --- a/arch/powerpc/xmon/ppc-dis.c
> +++ b/arch/powerpc/xmon/ppc-dis.c
> @@ -1,22 +1,11 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* ppc-dis.c -- Disassemble PowerPC instructions
> Copyright (C) 1994-2016 Free Software Foundation, Inc.
> Written by Ian Lance Taylor, Cygnus Support
>
> This file is part of GDB, GAS, and the GNU binutils.
>
> -GDB, GAS, and the GNU binutils are free software; you can redistribute
> -them and/or modify them under the terms of the GNU General Public
> -License as published by the Free Software Foundation; either version
> -2, or (at your option) any later version.
> -
> -GDB, GAS, and the GNU binutils are distributed in the hope that they
> -will be useful, but WITHOUT ANY WARRANTY; without even the implied
> -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
> -the GNU General Public License for more details.
> -
> -You should have received a copy of the GNU General Public License
> -along with this file; see the file COPYING. If not, write to the Free
> -Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */
> + */
>
> #include <asm/cputable.h>
> #include <asm/cpu_has_feature.h>
> --- a/arch/powerpc/xmon/ppc-opc.c
> +++ b/arch/powerpc/xmon/ppc-opc.c
> @@ -1,23 +1,11 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* ppc-opc.c -- PowerPC opcode list
> Copyright (C) 1994-2016 Free Software Foundation, Inc.
> Written by Ian Lance Taylor, Cygnus Support
>
> This file is part of GDB, GAS, and the GNU binutils.
>
> - GDB, GAS, and the GNU binutils are free software; you can redistribute
> - them and/or modify them under the terms of the GNU General Public
> - License as published by the Free Software Foundation; either version
> - 2, or (at your option) any later version.
> -
> - GDB, GAS, and the GNU binutils are distributed in the hope that they
> - will be useful, but WITHOUT ANY WARRANTY; without even the implied
> - warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
> - the GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with this file; see the file COPYING. If not, write to the Free
> - Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
> - 02110-1301, USA. */
> + */
>
> #include <linux/stddef.h>
> #include <linux/kernel.h>
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license version 2 as
> published by the free software foundation or any later at your
> option
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 5 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=837cdb861a7f
> ---
> net/netfilter/nf_conntrack_timeout.c | 5 +----
> net/netfilter/nf_conntrack_timestamp.c | 5 +----
> net/netfilter/nfnetlink_acct.c | 5 +----
> net/netfilter/nfnetlink_cthelper.c | 5 +----
> net/netfilter/nfnetlink_cttimeout.c | 5 +----
> 5 files changed, 5 insertions(+), 20 deletions(-)
>
> --- a/net/netfilter/nf_conntrack_timeout.c
> +++ b/net/netfilter/nf_conntrack_timeout.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org>
> * (C) 2012 by Vyatta Inc. <http://www.vyatta.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> */
>
> #include <linux/types.h>
> --- a/net/netfilter/nf_conntrack_timestamp.c
> +++ b/net/netfilter/nf_conntrack_timestamp.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2010 Pablo Neira Ayuso <pablo@netfilter.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/net/netfilter/nfnetlink_acct.c
> +++ b/net/netfilter/nfnetlink_acct.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2011 Pablo Neira Ayuso <pablo@netfilter.org>
> * (C) 2011 Intra2net AG <http://www.intra2net.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> */
> #include <linux/init.h>
> #include <linux/module.h>
> --- a/net/netfilter/nfnetlink_cthelper.c
> +++ b/net/netfilter/nfnetlink_cthelper.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2012 Pablo Neira Ayuso <pablo@netfilter.org>
> *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> - *
> * This software has been sponsored by Vyatta Inc. <http://www.vyatta.com>
> */
> #include <linux/init.h>
> --- a/net/netfilter/nfnetlink_cttimeout.c
> +++ b/net/netfilter/nfnetlink_cttimeout.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * (C) 2012 by Pablo Neira Ayuso <pablo@netfilter.org>
> * (C) 2012 by Vyatta Inc. <http://www.vyatta.com>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 as
> - * published by the Free Software Foundation (or any later at your option).
> */
> #include <linux/init.h>
> #include <linux/module.h>
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this work is licensed under the terms of the gnu gpl version 2 or
> later see the copying file in the top level directory
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 6 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=6f42bc6b9599
> ---
> drivers/scsi/virtio_scsi.c | 5 +----
> drivers/virtio/virtio_mmio.c | 6 +-----
> drivers/virtio/virtio_pci_common.c | 5 +----
> drivers/virtio/virtio_pci_common.h | 5 +----
> drivers/virtio/virtio_pci_legacy.c | 5 +----
> drivers/virtio/virtio_pci_modern.c | 5 +----
> 6 files changed, 6 insertions(+), 25 deletions(-)
>
> --- a/drivers/scsi/virtio_scsi.c
> +++ b/drivers/scsi/virtio_scsi.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio SCSI HBA driver
> *
> @@ -7,10 +8,6 @@
> * Authors:
> * Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
> * Paolo Bonzini <pbonzini@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/virtio/virtio_mmio.c
> +++ b/drivers/virtio/virtio_mmio.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio memory mapped device driver
> *
> @@ -48,12 +49,7 @@
> * virtio_mmio.device=0x100@0x100b0000:48 \
> * virtio_mmio.device=1K@0x1001e000:74
> *
> - *
> - *
> * Based on Virtio PCI driver by Anthony Liguori, copyright IBM Corp. 2007
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> */
>
> #define pr_fmt(fmt) "virtio-mmio: " fmt
> --- a/drivers/virtio/virtio_pci_common.c
> +++ b/drivers/virtio/virtio_pci_common.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio PCI driver - common functionality for all device versions
> *
> @@ -11,10 +12,6 @@
> * Anthony Liguori <aliguori@us.ibm.com>
> * Rusty Russell <rusty@rustcorp.com.au>
> * Michael S. Tsirkin <mst@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #include "virtio_pci_common.h"
> --- a/drivers/virtio/virtio_pci_common.h
> +++ b/drivers/virtio/virtio_pci_common.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> #ifndef _DRIVERS_VIRTIO_VIRTIO_PCI_COMMON_H
> #define _DRIVERS_VIRTIO_VIRTIO_PCI_COMMON_H
> /*
> @@ -13,10 +14,6 @@
> * Anthony Liguori <aliguori@us.ibm.com>
> * Rusty Russell <rusty@rustcorp.com.au>
> * Michael S. Tsirkin <mst@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #include <linux/module.h>
> --- a/drivers/virtio/virtio_pci_legacy.c
> +++ b/drivers/virtio/virtio_pci_legacy.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio PCI driver - legacy device support
> *
> @@ -11,10 +12,6 @@
> * Anthony Liguori <aliguori@us.ibm.com>
> * Rusty Russell <rusty@rustcorp.com.au>
> * Michael S. Tsirkin <mst@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #include "virtio_pci_common.h"
> --- a/drivers/virtio/virtio_pci_modern.c
> +++ b/drivers/virtio/virtio_pci_modern.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Virtio PCI driver - modern (virtio 1.0) device support
> *
> @@ -11,10 +12,6 @@
> * Anthony Liguori <aliguori@us.ibm.com>
> * Rusty Russell <rusty@rustcorp.com.au>
> * Michael S. Tsirkin <mst@redhat.com>
> - *
> - * This work is licensed under the terms of the GNU GPL, version 2 or later.
> - * See the COPYING file in the top-level directory.
> - *
> */
>
> #include <linux/delay.h>
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> licensed under the gpl v2 or later
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=966757a31376
> ---
> drivers/platform/olpc/olpc-ec.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
> --- a/drivers/platform/olpc/olpc-ec.c
> +++ b/drivers/platform/olpc/olpc-ec.c
> @@ -1,11 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Generic driver for the OLPC Embedded Controller.
> *
> * Author: Andres Salomon <dilinger@queued.net>
> *
> * Copyright (C) 2011-2012 One Laptop per Child Foundation.
> - *
> - * Licensed under the GPL v2 or later.
> */
> #include <linux/completion.h>
> #include <linux/debugfs.h>
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this source code is licensed under the gnu general public license
> version 2 or later see the file copying for more details
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=884d4b3c4292
> ---
> drivers/xen/events/events_internal.h | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
> --- a/drivers/xen/events/events_internal.h
> +++ b/drivers/xen/events/events_internal.h
> @@ -1,10 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Xen Event Channels (internal header)
> *
> * Copyright (C) 2013 Citrix Systems R&D Ltd.
> - *
> - * This source code is licensed under the GNU General Public License,
> - * Version 2 or later. See the file COPYING for more details.
> */
> #ifndef __EVENTS_INTERNAL_H__
> #define __EVENTS_INTERNAL_H__
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this code is released under the gnu general public license version 2
> or later
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 3 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=f99e4ea9b813
> ---
> arch/x86/kernel/smp.c | 4 +---
> arch/x86/kernel/smpboot.c | 4 +---
> arch/x86/platform/uv/tlb_uv.c | 4 +---
> 3 files changed, 3 insertions(+), 9 deletions(-)
>
> --- a/arch/x86/kernel/smp.c
> +++ b/arch/x86/kernel/smp.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Intel SMP support routines.
> *
> @@ -6,9 +7,6 @@
> * (c) 2002,2003 Andi Kleen, SuSE Labs.
> *
> * i386 and x86_64 integration by Glauber Costa <gcosta@redhat.com>
> - *
> - * This code is released under the GNU General Public License version 2 or
> - * later.
> */
>
> #include <linux/init.h>
> --- a/arch/x86/kernel/smpboot.c
> +++ b/arch/x86/kernel/smpboot.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * x86 SMP booting functions
> *
> @@ -12,9 +13,6 @@
> * Pentium Pro and Pentium-II/Xeon MP machines.
> * Original development of Linux SMP code supported by Caldera.
> *
> - * This code is released under the GNU General Public License version 2 or
> - * later.
> - *
> * Fixes
> * Felix Koop : NR_CPUS used properly
> * Jose Renau : Handle single CPU case.
> --- a/arch/x86/platform/uv/tlb_uv.c
> +++ b/arch/x86/platform/uv/tlb_uv.c
> @@ -1,10 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * SGI UltraViolet TLB flush routines.
> *
> * (c) 2008-2014 Cliff Wickman <cpw@sgi.com>, SGI.
> - *
> - * This code is released under the GNU General Public License version 2 or
> - * later.
> */
> #include <linux/seq_file.h>
> #include <linux/proc_fs.h>
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this file is part of the linux kernel and is made available under
> the terms of the gnu general public license version 2 or at your
> option any later version incorporated herein by reference
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 18 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=77241ca7be35
> ---
> arch/x86/boot/bioscall.S | 5 +----
> arch/x86/boot/mkcpustr.c | 5 +----
> arch/x86/boot/regs.c | 5 +----
> fs/autofs/autofs_i.h | 5 +----
> fs/autofs/dev-ioctl.c | 5 +----
> fs/autofs/expire.c | 5 +----
> fs/autofs/init.c | 5 +----
> fs/autofs/inode.c | 5 +----
> fs/autofs/root.c | 5 +----
> fs/autofs/symlink.c | 5 +----
> fs/autofs/waitq.c | 5 +----
> fs/devpts/inode.c | 5 +----
> include/linux/auto_dev-ioctl.h | 5 +----
> include/linux/auto_fs.h | 5 +----
> include/linux/devpts_fs.h | 5 +----
> include/linux/jbd2.h | 5 +----
> lib/raid6/mktables.c | 5 +----
> lib/raid6/test/test.c | 5 +----
> 18 files changed, 18 insertions(+), 72 deletions(-)
>
> --- a/arch/x86/boot/bioscall.S
> +++ b/arch/x86/boot/bioscall.S
> @@ -1,11 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /* -----------------------------------------------------------------------
> *
> * Copyright 2009-2014 Intel Corporation; author H. Peter Anvin
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/arch/x86/boot/mkcpustr.c
> +++ b/arch/x86/boot/mkcpustr.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* ----------------------------------------------------------------------- *
> *
> * Copyright 2008 rPath, Inc. - All Rights Reserved
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/arch/x86/boot/regs.c
> +++ b/arch/x86/boot/regs.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -----------------------------------------------------------------------
> *
> * Copyright 2009 Intel Corporation; author H. Peter Anvin
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/fs/autofs/autofs_i.h
> +++ b/fs/autofs/autofs_i.h
> @@ -1,10 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright 1997-1998 Transmeta Corporation - All Rights Reserved
> * Copyright 2005-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> /* Internal header file for autofs */
> --- a/fs/autofs/dev-ioctl.c
> +++ b/fs/autofs/dev-ioctl.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 2008 Red Hat, Inc. All rights reserved.
> * Copyright 2008 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/miscdevice.h>
> --- a/fs/autofs/expire.c
> +++ b/fs/autofs/expire.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org>
> * Copyright 2001-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include "autofs_i.h"
> --- a/fs/autofs/init.c
> +++ b/fs/autofs/init.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/module.h>
> --- a/fs/autofs/inode.c
> +++ b/fs/autofs/inode.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 2005-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/seq_file.h>
> --- a/fs/autofs/root.c
> +++ b/fs/autofs/root.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 1999-2000 Jeremy Fitzhardinge <jeremy@goop.org>
> * Copyright 2001-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/capability.h>
> --- a/fs/autofs/symlink.c
> +++ b/fs/autofs/symlink.c
> @@ -1,9 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include "autofs_i.h"
> --- a/fs/autofs/waitq.c
> +++ b/fs/autofs/waitq.c
> @@ -1,10 +1,7 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright 1997-1998 Transmeta Corporation -- All Rights Reserved
> * Copyright 2001-2006 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #include <linux/sched/signal.h>
> --- a/fs/devpts/inode.c
> +++ b/fs/devpts/inode.c
> @@ -1,13 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -*- linux-c -*- --------------------------------------------------------- *
> *
> * linux/fs/devpts/inode.c
> *
> * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved
> *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> - *
> * ------------------------------------------------------------------------- */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/include/linux/auto_dev-ioctl.h
> +++ b/include/linux/auto_dev-ioctl.h
> @@ -1,10 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright 2008 Red Hat, Inc. All rights reserved.
> * Copyright 2008 Ian Kent <raven@themaw.net>
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #ifndef _LINUX_AUTO_DEV_IOCTL_H
> --- a/include/linux/auto_fs.h
> +++ b/include/linux/auto_fs.h
> @@ -1,9 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright 1997 Transmeta Corporation - All Rights Reserved
> - *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> */
>
> #ifndef _LINUX_AUTO_FS_H
> --- a/include/linux/devpts_fs.h
> +++ b/include/linux/devpts_fs.h
> @@ -1,13 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /* -*- linux-c -*- --------------------------------------------------------- *
> *
> * linux/include/linux/devpts_fs.h
> *
> * Copyright 1998-2004 H. Peter Anvin -- All Rights Reserved
> *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> - *
> * ------------------------------------------------------------------------- */
>
> #ifndef _LINUX_DEVPTS_FS_H
> --- a/include/linux/jbd2.h
> +++ b/include/linux/jbd2.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * linux/include/linux/jbd2.h
> *
> @@ -5,10 +6,6 @@
> *
> * Copyright 1998-2000 Red Hat, Inc --- All Rights Reserved
> *
> - * This file is part of the Linux kernel and is made available under
> - * the terms of the GNU General Public License, version 2, or at your
> - * option, any later version, incorporated herein by reference.
> - *
> * Definitions for transaction data structures for the buffer cache
> * filesystem journaling support.
> */
> --- a/lib/raid6/mktables.c
> +++ b/lib/raid6/mktables.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -*- linux-c -*- ------------------------------------------------------- *
> *
> * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
> --- a/lib/raid6/test/test.c
> +++ b/lib/raid6/test/test.c
> @@ -1,11 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /* -*- linux-c -*- ------------------------------------------------------- *
> *
> * Copyright 2002-2007 H. Peter Anvin - All Rights Reserved
> *
> - * This file is part of the Linux kernel, and is made available under
> - * the terms of the GNU General Public License version 2 or (at your
> - * option) any later version; incorporated herein by reference.
> - *
> * ----------------------------------------------------------------------- */
>
> /*
>
>
On 5/22/19 9:18 AM, Greg KH wrote:
> On Wed, May 22, 2019 at 09:07:49AM -0400, Richard Fontana wrote:
>> This pattern has a simple, relatively high level disclaimer sentence.
>
> What does that mean?
The disclaimer includes some BSD-style disclaimer text, but is so
high-level/generic that it may not be materially different than the
usual GPL-style disclaimer. (That's both my interpretation of what
Richard was saying, and my own opinion when I reviewed the patch.)
Allison
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version author [bill] [dirks]
> [bill]@[thedirks] [org] [based] [on] [code] [by] [alan] [cox]
> [alan]@[cymru] [net] video capture interface for linux a generic
> video device interface for the linux operating system using a set of
> device structures vectors for low level operations this program is
> free software you can redistribute it and or modify it under the
> terms of the gnu general public license as published by the free
> software foundation either version 2 of the license or at your
> option any later version
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=3e00a2c38a0b
> ---
> drivers/media/v4l2-core/v4l2-common.c | 12 +-----------
> 1 file changed, 1 insertion(+), 11 deletions(-)
>
> --- a/drivers/media/v4l2-core/v4l2-common.c
> +++ b/drivers/media/v4l2-core/v4l2-common.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Video for Linux Two
> *
> @@ -7,14 +8,8 @@
> * This file replaces the videodev.c file that comes with the
> * regular kernel distribution.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Author: Bill Dirks <bill@thedirks.org>
> * based on code by Alan Cox, <alan@cymru.net>
> - *
> */
>
> /*
> @@ -23,11 +18,6 @@
> * A generic video device interface for the LINUX operating system
> * using a set of device structures/vectors for low level operations.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License
> - * as published by the Free Software Foundation; either version
> - * 2 of the License, or (at your option) any later version.
> - *
> * Author: Alan Cox, <alan@lxorguk.ukuu.org.uk>
> *
> * Fixes:
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this source code is public free you can distribute it and or modify
> it under terms of the gnu general public license published by the
> free software foundation either version two of this license or any
> later version
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=d69903b6af6a
> ---
> drivers/net/ethernet/hp/hp100.h | 6 +-----
> 1 file changed, 1 insertion(+), 5 deletions(-)
>
> --- a/drivers/net/ethernet/hp/hp100.h
> +++ b/drivers/net/ethernet/hp/hp100.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * hp100.h: Hewlett Packard HP10/100VG ANY LAN ethernet driver for Linux.
> *
> @@ -7,11 +8,6 @@
> * Siegfried Loeffler <floeff@tunix.mathematik.uni-stuttgart.de>
> *
> * This driver is based on the 'hpfepkt' crynwr packet driver.
> - *
> - * This source/code is public free; you can distribute it and/or modify
> - * it under terms of the GNU General Public License (published by the
> - * Free Software Foundation) either version two of this License, or any
> - * later version.
> */
>
> /****************************************************************************
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public lcodecnse as published
> by the free software foundation either version 2 of the lcodecnse or
> at your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public lcodecnse for more details you
> should have received a copy of the gnu general public lcodecnse
> along with this program if not write to the free software foundation
> inc 59 temple place suite 330 boston ma 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=0af7d44dd16a
> ---
> sound/pci/ali5451/ali5451.c | 16 +---------------
> 1 file changed, 1 insertion(+), 15 deletions(-)
>
> --- a/sound/pci/ali5451/ali5451.c
> +++ b/sound/pci/ali5451/ali5451.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Matt Wu <Matt_Wu@acersoftech.com.cn>
> * Apr 26, 2001
> @@ -8,21 +9,6 @@
> *
> * TODO:
> * --
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public Lcodecnse as published by
> - * the Free Software Foundation; either version 2 of the Lcodecnse, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public Lcodecnse for more details.
> - *
> - * You should have received a copy of the GNU General Public Lcodecnse
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> - *
> */
>
> #include <linux/io.h>
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license version 2 or
> later as published by the free software foundation this program is
> distributed in the hope that it will be useful but without any
> warranty without even the implied warranty of merchantability or
> fitness for a particular purpose see the gnu general public license
> for more details
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 6 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=09f0fb3be587
> ---
> drivers/leds/leds-cpcap.c | 10 +---------
> tools/thermal/tmon/pid.c | 13 +------------
> tools/thermal/tmon/sysfs.c | 11 +----------
> tools/thermal/tmon/tmon.c | 11 +----------
> tools/thermal/tmon/tmon.h | 11 +----------
> tools/thermal/tmon/tui.c | 11 +----------
> 6 files changed, 6 insertions(+), 61 deletions(-)
>
> --- a/drivers/leds/leds-cpcap.c
> +++ b/drivers/leds/leds-cpcap.c
> @@ -1,14 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright (c) 2017 Sebastian Reichel <sre@kernel.org>
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License version 2 or
> - * later as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> */
>
> #include <linux/leds.h>
> --- a/tools/thermal/tmon/pid.c
> +++ b/tools/thermal/tmon/pid.c
> @@ -1,21 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * pid.c PID controller for testing cooling devices
> *
> - *
> - *
> * Copyright (C) 2012 Intel Corporation. All rights reserved.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License version
> - * 2 or later as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> * Author Name Jacob Pan <jacob.jun.pan@linux.intel.com>
> - *
> */
>
> #include <unistd.h>
> --- a/tools/thermal/tmon/sysfs.c
> +++ b/tools/thermal/tmon/sysfs.c
> @@ -1,19 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * sysfs.c sysfs ABI access functions for TMON program
> *
> * Copyright (C) 2013 Intel Corporation. All rights reserved.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License version
> - * 2 or later as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> * Author: Jacob Pan <jacob.jun.pan@linux.intel.com>
> - *
> */
> #include <unistd.h>
> #include <stdio.h>
> --- a/tools/thermal/tmon/tmon.c
> +++ b/tools/thermal/tmon/tmon.c
> @@ -1,19 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * tmon.c Thermal Monitor (TMON) main function and entry point
> *
> * Copyright (C) 2012 Intel Corporation. All rights reserved.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License version
> - * 2 or later as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> * Author: Jacob Pan <jacob.jun.pan@linux.intel.com>
> - *
> */
>
> #include <getopt.h>
> --- a/tools/thermal/tmon/tmon.h
> +++ b/tools/thermal/tmon/tmon.h
> @@ -1,19 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * tmon.h contains data structures and constants used by TMON
> *
> * Copyright (C) 2012 Intel Corporation. All rights reserved.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License version
> - * 2 or later as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> * Author Name Jacob Pan <jacob.jun.pan@linux.intel.com>
> - *
> */
>
> #ifndef TMON_H
> --- a/tools/thermal/tmon/tui.c
> +++ b/tools/thermal/tmon/tui.c
> @@ -1,19 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * tui.c ncurses text user interface for TMON program
> *
> * Copyright (C) 2013 Intel Corporation. All rights reserved.
> *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License version
> - * 2 or later as published by the Free Software Foundation.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> * Author: Jacob Pan <jacob.jun.pan@linux.intel.com>
> - *
> */
>
> #include <unistd.h>
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public license for more details you
> should have received a copy of the gnu general public license along
> with this program if not write to the free software foundation inc
> 59 temple place suite 330 boston ma 02111 1307 usa the full gnu
> general public license is included in this distribution in the file
> called license
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 4 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=ad37800ef46f
> ---
> drivers/isdn/mISDN/dsp_hwec.c | 19 +------------------
> drivers/isdn/mISDN/dsp_pipeline.c | 19 +------------------
> drivers/net/bonding/bond_3ad.c | 19 +------------------
> include/net/bond_3ad.h | 19 +------------------
> 4 files changed, 4 insertions(+), 72 deletions(-)
>
> --- a/drivers/isdn/mISDN/dsp_hwec.c
> +++ b/drivers/isdn/mISDN/dsp_hwec.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * dsp_hwec.c:
> * builtin mISDN dsp pipeline element for enabling the hw echocanceller
> @@ -5,24 +6,6 @@
> * Copyright (C) 2007, Nadi Sarrar
> *
> * Nadi Sarrar <nadi@beronet.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the Free
> - * Software Foundation; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called LICENSE.
> - *
> */
>
> #include <linux/kernel.h>
> --- a/drivers/isdn/mISDN/dsp_pipeline.c
> +++ b/drivers/isdn/mISDN/dsp_pipeline.c
> @@ -1,27 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * dsp_pipeline.c: pipelined audio processing
> *
> * Copyright (C) 2007, Nadi Sarrar
> *
> * Nadi Sarrar <nadi@beronet.com>
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the Free
> - * Software Foundation; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called LICENSE.
> - *
> */
>
> #include <linux/kernel.h>
> --- a/drivers/net/bonding/bond_3ad.c
> +++ b/drivers/net/bonding/bond_3ad.c
> @@ -1,23 +1,6 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved.
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the Free
> - * Software Foundation; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called LICENSE.
> - *
> */
>
> #include <linux/skbuff.h>
> --- a/include/net/bond_3ad.h
> +++ b/include/net/bond_3ad.h
> @@ -1,23 +1,6 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright(c) 1999 - 2004 Intel Corporation. All rights reserved.
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the Free
> - * Software Foundation; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful, but WITHOUT
> - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
> - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
> - * more details.
> - *
> - * You should have received a copy of the GNU General Public License along with
> - * this program; if not, write to the Free Software Foundation, Inc., 59
> - * Temple Place - Suite 330, Boston, MA 02111-1307, USA.
> - *
> - * The full GNU General Public License is included in this distribution in the
> - * file called LICENSE.
> - *
> */
>
> #ifndef _NET_BOND_3AD_H
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> is free software you can redistribute it and or modify it under the
> terms of the gnu general public license as published by the free
> software foundation either version 2 or at your option any later
> version [drbd] is distributed in the hope that it will be useful but
> without any warranty without even the implied warranty of
> merchantability or fitness for a particular purpose see the gnu
> general public license for more details you should have received a
> copy of the gnu general public license along with [drbd] see the
> file copying if not write to the free software foundation 675 mass
> ave cambridge ma 02139 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 16 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=97296f018fbd
> ---
> drivers/block/drbd/drbd_actlog.c | 14 +-------------
> drivers/block/drbd/drbd_bitmap.c | 14 +-------------
> drivers/block/drbd/drbd_int.h | 14 +-------------
> drivers/block/drbd/drbd_main.c | 14 +-------------
> drivers/block/drbd/drbd_nl.c | 14 +-------------
> drivers/block/drbd/drbd_proc.c | 14 +-------------
> drivers/block/drbd/drbd_receiver.c | 14 +-------------
> drivers/block/drbd/drbd_req.c | 14 +-------------
> drivers/block/drbd/drbd_req.h | 14 +-------------
> drivers/block/drbd/drbd_state.c | 14 +-------------
> drivers/block/drbd/drbd_strings.c | 14 +-------------
> drivers/block/drbd/drbd_vli.h | 14 +-------------
> drivers/block/drbd/drbd_worker.c | 14 +-------------
> include/linux/drbd.h | 14 +-------------
> include/linux/lru_cache.h | 14 +-------------
> lib/lru_cache.c | 14 +-------------
> 16 files changed, 16 insertions(+), 208 deletions(-)
>
> --- a/drivers/block/drbd/drbd_actlog.c
> +++ b/drivers/block/drbd/drbd_actlog.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_actlog.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_bitmap.c
> +++ b/drivers/block/drbd/drbd_bitmap.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_bitmap.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 2004-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2004-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
> */
>
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> --- a/drivers/block/drbd/drbd_int.h
> +++ b/drivers/block/drbd/drbd_int.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> drbd_int.h
>
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_main.c
> +++ b/drivers/block/drbd/drbd_main.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd.c
>
> @@ -10,19 +11,6 @@
> Thanks to Carter Burden, Bart Grantham and Gennadiy Nerubayev
> from Logicworks, Inc. for making SDP replication support possible.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_nl.c
> +++ b/drivers/block/drbd/drbd_nl.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_nl.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_proc.c
> +++ b/drivers/block/drbd/drbd_proc.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_proc.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_receiver.c
> +++ b/drivers/block/drbd/drbd_receiver.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_receiver.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
> */
>
>
> --- a/drivers/block/drbd/drbd_req.c
> +++ b/drivers/block/drbd/drbd_req.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_req.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_req.h
> +++ b/drivers/block/drbd/drbd_req.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> drbd_req.h
>
> @@ -7,19 +8,6 @@
> Copyright (C) 2006-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
> Copyright (C) 2006-2008, Philipp Reisner <philipp.reisner@linbit.com>.
>
> - DRBD is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - DRBD is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
> */
>
> #ifndef _DRBD_REQ_H
> --- a/drivers/block/drbd/drbd_state.c
> +++ b/drivers/block/drbd/drbd_state.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_state.c
>
> @@ -10,19 +11,6 @@
> Thanks to Carter Burden, Bart Grantham and Gennadiy Nerubayev
> from Logicworks, Inc. for making SDP replication support possible.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
> */
>
> #include <linux/drbd_limits.h>
> --- a/drivers/block/drbd/drbd_strings.c
> +++ b/drivers/block/drbd/drbd_strings.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd.h
>
> @@ -7,19 +8,6 @@
> Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/drivers/block/drbd/drbd_vli.h
> +++ b/drivers/block/drbd/drbd_vli.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> -*- linux-c -*-
> drbd_receiver.c
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
> */
>
> #ifndef _DRBD_VLI_H
> --- a/drivers/block/drbd/drbd_worker.c
> +++ b/drivers/block/drbd/drbd_worker.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> drbd_worker.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 1999-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2002-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/include/linux/drbd.h
> +++ b/include/linux/drbd.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> drbd.h
> Kernel module for 2.6.x Kernels
> @@ -8,19 +9,6 @@
> Copyright (C) 2001-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2001-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
> #ifndef DRBD_H
> --- a/include/linux/lru_cache.h
> +++ b/include/linux/lru_cache.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> lru_cache.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
> --- a/lib/lru_cache.c
> +++ b/lib/lru_cache.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> lru_cache.c
>
> @@ -7,19 +8,6 @@
> Copyright (C) 2003-2008, Philipp Reisner <philipp.reisner@linbit.com>.
> Copyright (C) 2003-2008, Lars Ellenberg <lars.ellenberg@linbit.com>.
>
> - drbd is free software; you can redistribute it and/or modify
> - it under the terms of the GNU General Public License as published by
> - the Free Software Foundation; either version 2, or (at your option)
> - any later version.
> -
> - drbd is distributed in the hope that it will be useful,
> - but WITHOUT ANY WARRANTY; without even the implied warranty of
> - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - GNU General Public License for more details.
> -
> - You should have received a copy of the GNU General Public License
> - along with drbd; see the file COPYING. If not, write to
> - the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
>
> */
>
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this code is free software you can redistribute it and or modify it
> under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public license for more details you
> should have received a copy of the gnu general public license along
> with this program if not see http www gnu org licenses
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=6ace6e5335d1
> ---
> net/netfilter/ipvs/ip_vs_nfct.c | 18 +-----------------
> 1 file changed, 1 insertion(+), 17 deletions(-)
>
> --- a/net/netfilter/ipvs/ip_vs_nfct.c
> +++ b/net/netfilter/ipvs/ip_vs_nfct.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * ip_vs_nfct.c: Netfilter connection tracking support for IPVS
> *
> @@ -7,27 +8,11 @@
> * Portions Copyright (C) 2003-2010
> * Julian Anastasov
> *
> - *
> - * This code is free software; you can redistribute it and/or modify
> - * it under the terms of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, see <http://www.gnu.org/licenses/>.
> - *
> - *
> * Authors:
> * Ben North <ben@redfrontdoor.org>
> * Julian Anastasov <ja@ssi.bg> Reorganize and sync with latest kernels
> * Hannes Eder <heder@google.com> Extend NFCT support for FTP, ipvs match
> *
> - *
> * Current status:
> *
> * - provide conntrack confirmation for new and related connections, by
> @@ -43,7 +28,6 @@
> * when RELATED conntrack is created from real server (Active FTP DATA)
> * - if iptables_nat is not loaded the Passive FTP will not work (the
> * PASV response can not be NAT-ed) but Active FTP should work
> - *
> */
>
> #define KMSG_COMPONENT "IPVS"
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the smems of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public license for more details you
> should have received a copy of the gnu general public license along
> with this program if not write to the free software foundation inc
> 59 temple place suite 330 boston ma 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=6339e329590c
> ---
> drivers/w1/slaves/w1_smem.c | 16 +---------------
> 1 file changed, 1 insertion(+), 15 deletions(-)
>
> --- a/drivers/w1/slaves/w1_smem.c
> +++ b/drivers/w1/slaves/w1_smem.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * w1_smem.c
> *
> * Copyright (c) 2004 Evgeniy Polyakov <zbr@ioremap.net>
> - *
> - *
> - * This program is free software; you can redistribute it and/or modify
> - * it under the smems of the GNU General Public License as published by
> - * the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; if not, write to the Free Software
> - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <asm/types.h>
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> library are free software you can redistribute them and or modify
> them under the terms of the gnu general public license as published
> by the free software foundation either version 2 of the license or
> at your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public license for more details you
> should have received a copy of the gnu general public license along
> with this program see the file copying if not write to the free
> software foundation inc 59 temple place suite 330 boston ma 02111
> 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=7f9e7d83404b
> ---
> lib/decompress_unlzo.c | 16 +---------------
> 1 file changed, 1 insertion(+), 15 deletions(-)
>
> --- a/lib/decompress_unlzo.c
> +++ b/lib/decompress_unlzo.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * LZO decompressor for the Linux kernel. Code borrowed from the lzo
> * implementation by Markus Franz Xaver Johannes Oberhumer.
> @@ -10,21 +11,6 @@
> * Copyright (C) 1996-2005 Markus Franz Xaver Johannes Oberhumer
> * All Rights Reserved.
> *
> - * lzop and the LZO library are free software; you can redistribute them
> - * and/or modify them under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of
> - * the License, or (at your option) any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program; see the file COPYING.
> - * If not, write to the Free Software Foundation, Inc.,
> - * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
> - *
> * Markus F.X.J. Oberhumer
> * <markus@oberhumer.com>
> * http://www.oberhumer.com/opensource/lzop/
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this program include file is free software you can redistribute it
> and or modify it under the terms of the gnu general public license
> as published by the free software foundation either version 2 of the
> license or at your option any later version this program include
> file is distributed in the hope that it will be useful but without
> any warranty without even the implied warranty of merchantability or
> fitness for a particular purpose see the gnu general public license
> for more details you should have received a copy of the gnu general
> public license along with this program in the main directory of the
> linux [ntfs] distribution in the file copying if not write to the
> free software foundation inc 59 temple place suite 330 boston ma
> 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 43 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=5f91b170281a
> ---
> fs/ntfs/aops.c | 16 +---------------
> fs/ntfs/aops.h | 16 +---------------
> fs/ntfs/attrib.c | 16 +---------------
> fs/ntfs/attrib.h | 16 +---------------
> fs/ntfs/bitmap.c | 16 +---------------
> fs/ntfs/bitmap.h | 16 +---------------
> fs/ntfs/collate.c | 16 +---------------
> fs/ntfs/collate.h | 16 +---------------
> fs/ntfs/compress.c | 16 +---------------
> fs/ntfs/debug.c | 16 +---------------
> fs/ntfs/debug.h | 16 +---------------
> fs/ntfs/dir.c | 16 +---------------
> fs/ntfs/dir.h | 16 +---------------
> fs/ntfs/endian.h | 16 +---------------
> fs/ntfs/file.c | 16 +---------------
> fs/ntfs/index.c | 16 +---------------
> fs/ntfs/index.h | 16 +---------------
> fs/ntfs/inode.c | 16 +---------------
> fs/ntfs/inode.h | 16 +---------------
> fs/ntfs/layout.h | 16 +---------------
> fs/ntfs/lcnalloc.c | 16 +---------------
> fs/ntfs/lcnalloc.h | 16 +---------------
> fs/ntfs/logfile.c | 16 +---------------
> fs/ntfs/logfile.h | 16 +---------------
> fs/ntfs/malloc.h | 16 +---------------
> fs/ntfs/mft.c | 16 +---------------
> fs/ntfs/mft.h | 16 +---------------
> fs/ntfs/mst.c | 16 +---------------
> fs/ntfs/namei.c | 16 +---------------
> fs/ntfs/ntfs.h | 16 +---------------
> fs/ntfs/quota.c | 16 +---------------
> fs/ntfs/quota.h | 16 +---------------
> fs/ntfs/runlist.c | 16 +---------------
> fs/ntfs/runlist.h | 16 +---------------
> fs/ntfs/super.c | 16 +---------------
> fs/ntfs/sysctl.c | 16 +---------------
> fs/ntfs/sysctl.h | 16 +---------------
> fs/ntfs/time.h | 16 +---------------
> fs/ntfs/types.h | 16 +---------------
> fs/ntfs/unistr.c | 16 +---------------
> fs/ntfs/usnjrnl.c | 16 +---------------
> fs/ntfs/usnjrnl.h | 16 +---------------
> fs/ntfs/volume.h | 16 +---------------
> 43 files changed, 43 insertions(+), 645 deletions(-)
>
> --- a/fs/ntfs/aops.c
> +++ b/fs/ntfs/aops.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * aops.c - NTFS kernel address space operations and page cache handling.
> *
> * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/errno.h>
> --- a/fs/ntfs/aops.h
> +++ b/fs/ntfs/aops.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /**
> * aops.h - Defines for NTFS kernel address space operations and page cache
> * handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_AOPS_H
> --- a/fs/ntfs/attrib.c
> +++ b/fs/ntfs/attrib.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * attrib.c - NTFS attribute operations. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc.
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/buffer_head.h>
> --- a/fs/ntfs/attrib.h
> +++ b/fs/ntfs/attrib.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * attrib.h - Defines for attribute handling in NTFS Linux kernel driver.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2005 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_ATTRIB_H
> --- a/fs/ntfs/bitmap.c
> +++ b/fs/ntfs/bitmap.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * bitmap.c - NTFS kernel bitmap handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2004-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifdef NTFS_RW
> --- a/fs/ntfs/bitmap.h
> +++ b/fs/ntfs/bitmap.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * bitmap.h - Defines for NTFS kernel bitmap handling. Part of the Linux-NTFS
> * project.
> *
> * Copyright (c) 2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_BITMAP_H
> --- a/fs/ntfs/collate.c
> +++ b/fs/ntfs/collate.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * collate.c - NTFS kernel collation handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include "collate.h"
> --- a/fs/ntfs/collate.h
> +++ b/fs/ntfs/collate.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * collate.h - Defines for NTFS kernel collation handling. Part of the
> * Linux-NTFS project.
> *
> * Copyright (c) 2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_COLLATE_H
> --- a/fs/ntfs/compress.c
> +++ b/fs/ntfs/compress.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * compress.c - NTFS kernel compressed attributes handling.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/fs.h>
> --- a/fs/ntfs/debug.c
> +++ b/fs/ntfs/debug.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * debug.c - NTFS kernel debug support. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
> #include "debug.h"
> --- a/fs/ntfs/debug.h
> +++ b/fs/ntfs/debug.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * debug.h - NTFS kernel debug support. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_DEBUG_H
> --- a/fs/ntfs/dir.c
> +++ b/fs/ntfs/dir.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * dir.c - NTFS kernel directory operations. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2007 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/buffer_head.h>
> --- a/fs/ntfs/dir.h
> +++ b/fs/ntfs/dir.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * dir.h - Defines for directory handling in NTFS Linux kernel driver. Part of
> * the Linux-NTFS project.
> *
> * Copyright (c) 2002-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_DIR_H
> --- a/fs/ntfs/endian.h
> +++ b/fs/ntfs/endian.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * endian.h - Defines for endianness handling in NTFS Linux kernel driver.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_ENDIAN_H
> --- a/fs/ntfs/file.c
> +++ b/fs/ntfs/file.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * file.c - NTFS kernel file operations. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2015 Anton Altaparmakov and Tuxera Inc.
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/backing-dev.h>
> --- a/fs/ntfs/index.c
> +++ b/fs/ntfs/index.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * index.c - NTFS kernel index handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2004-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/slab.h>
> --- a/fs/ntfs/index.h
> +++ b/fs/ntfs/index.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * index.h - Defines for NTFS kernel index handling. Part of the Linux-NTFS
> * project.
> *
> * Copyright (c) 2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_INDEX_H
> --- a/fs/ntfs/inode.c
> +++ b/fs/ntfs/inode.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * inode.c - NTFS kernel inode handling.
> *
> * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/buffer_head.h>
> --- a/fs/ntfs/inode.h
> +++ b/fs/ntfs/inode.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * inode.h - Defines for inode structures NTFS Linux kernel driver. Part of
> * the Linux-NTFS project.
> *
> * Copyright (c) 2001-2007 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_INODE_H
> --- a/fs/ntfs/layout.h
> +++ b/fs/ntfs/layout.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * layout.h - All NTFS associated on-disk structures. Part of the Linux-NTFS
> * project.
> *
> * Copyright (c) 2001-2005 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_LAYOUT_H
> --- a/fs/ntfs/lcnalloc.c
> +++ b/fs/ntfs/lcnalloc.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * lcnalloc.c - Cluster (de)allocation code. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2004-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifdef NTFS_RW
> --- a/fs/ntfs/lcnalloc.h
> +++ b/fs/ntfs/lcnalloc.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * lcnalloc.h - Exports for NTFS kernel cluster (de)allocation. Part of the
> * Linux-NTFS project.
> *
> * Copyright (c) 2004-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_LCNALLOC_H
> --- a/fs/ntfs/logfile.c
> +++ b/fs/ntfs/logfile.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * logfile.c - NTFS kernel journal handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2002-2007 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifdef NTFS_RW
> --- a/fs/ntfs/logfile.h
> +++ b/fs/ntfs/logfile.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * logfile.h - Defines for NTFS kernel journal ($LogFile) handling. Part of
> * the Linux-NTFS project.
> *
> * Copyright (c) 2000-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_LOGFILE_H
> --- a/fs/ntfs/malloc.h
> +++ b/fs/ntfs/malloc.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * malloc.h - NTFS kernel memory handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_MALLOC_H
> --- a/fs/ntfs/mft.c
> +++ b/fs/ntfs/mft.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * mft.c - NTFS kernel mft record operations. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc.
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/buffer_head.h>
> --- a/fs/ntfs/mft.h
> +++ b/fs/ntfs/mft.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * mft.h - Defines for mft record handling in NTFS Linux kernel driver.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_MFT_H
> --- a/fs/ntfs/mst.c
> +++ b/fs/ntfs/mst.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * mst.c - NTFS multi sector transfer protection handling code. Part of the
> * Linux-NTFS project.
> *
> * Copyright (c) 2001-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include "ntfs.h"
> --- a/fs/ntfs/namei.c
> +++ b/fs/ntfs/namei.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * namei.c - NTFS kernel directory inode operations. Part of the Linux-NTFS
> * project.
> *
> * Copyright (c) 2001-2006 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/dcache.h>
> --- a/fs/ntfs/ntfs.h
> +++ b/fs/ntfs/ntfs.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * ntfs.h - Defines for NTFS Linux kernel driver.
> *
> * Copyright (c) 2001-2014 Anton Altaparmakov and Tuxera Inc.
> * Copyright (C) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_H
> --- a/fs/ntfs/quota.c
> +++ b/fs/ntfs/quota.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * quota.c - NTFS kernel quota ($Quota) handling. Part of the Linux-NTFS
> * project.
> *
> * Copyright (c) 2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifdef NTFS_RW
> --- a/fs/ntfs/quota.h
> +++ b/fs/ntfs/quota.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * quota.h - Defines for NTFS kernel quota ($Quota) handling. Part of the
> * Linux-NTFS project.
> *
> * Copyright (c) 2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_QUOTA_H
> --- a/fs/ntfs/runlist.c
> +++ b/fs/ntfs/runlist.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /**
> * runlist.c - NTFS runlist handling code. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2007 Anton Altaparmakov
> * Copyright (c) 2002-2005 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include "debug.h"
> --- a/fs/ntfs/runlist.h
> +++ b/fs/ntfs/runlist.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * runlist.h - Defines for runlist handling in NTFS Linux kernel driver.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2005 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_RUNLIST_H
> --- a/fs/ntfs/super.c
> +++ b/fs/ntfs/super.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * super.c - NTFS kernel super block handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2012 Anton Altaparmakov and Tuxera Inc.
> * Copyright (c) 2001,2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
> #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
>
> --- a/fs/ntfs/sysctl.c
> +++ b/fs/ntfs/sysctl.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * sysctl.c - Code for sysctl handling in NTFS Linux kernel driver. Part of
> * the Linux-NTFS project. Adapted from the old NTFS driver,
> * Copyright (C) 1997 Martin von Löwis, Régis Duchesne
> *
> * Copyright (c) 2002-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifdef DEBUG
> --- a/fs/ntfs/sysctl.h
> +++ b/fs/ntfs/sysctl.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * sysctl.h - Defines for sysctl handling in NTFS Linux kernel driver. Part of
> * the Linux-NTFS project. Adapted from the old NTFS driver,
> * Copyright (C) 1997 Martin von Löwis, Régis Duchesne
> *
> * Copyright (c) 2002-2004 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_SYSCTL_H
> --- a/fs/ntfs/time.h
> +++ b/fs/ntfs/time.h
> @@ -1,22 +1,8 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * time.h - NTFS time conversion functions. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_TIME_H
> --- a/fs/ntfs/types.h
> +++ b/fs/ntfs/types.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * types.h - Defines for NTFS Linux kernel driver specific types.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_TYPES_H
> --- a/fs/ntfs/unistr.c
> +++ b/fs/ntfs/unistr.c
> @@ -1,22 +1,8 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * unistr.c - NTFS Unicode string handling. Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2006 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include <linux/slab.h>
> --- a/fs/ntfs/usnjrnl.c
> +++ b/fs/ntfs/usnjrnl.c
> @@ -1,23 +1,9 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * usnjrnl.h - NTFS kernel transaction log ($UsnJrnl) handling. Part of the
> * Linux-NTFS project.
> *
> * Copyright (c) 2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifdef NTFS_RW
> --- a/fs/ntfs/usnjrnl.h
> +++ b/fs/ntfs/usnjrnl.h
> @@ -1,23 +1,9 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * usnjrnl.h - Defines for NTFS kernel transaction log ($UsnJrnl) handling.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2005 Anton Altaparmakov
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_USNJRNL_H
> --- a/fs/ntfs/volume.h
> +++ b/fs/ntfs/volume.h
> @@ -1,24 +1,10 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * volume.h - Defines for volume structures in NTFS Linux kernel driver. Part
> * of the Linux-NTFS project.
> *
> * Copyright (c) 2001-2006 Anton Altaparmakov
> * Copyright (c) 2002 Richard Russon
> - *
> - * This program/include file is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as published
> - * by the Free Software Foundation; either version 2 of the License, or
> - * (at your option) any later version.
> - *
> - * This program/include file is distributed in the hope that it will be
> - * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
> - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS
> - * distribution in the file COPYING); if not, write to the Free Software
> - * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #ifndef _LINUX_NTFS_VOLUME_H
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your option any later version this program is distributed in the
> hope that it will be useful but without any warranty without even
> the implied warranty of merchantability or fitness for a particular
> purpose see the gnu general public license for more details you
> should have received a copy of the gnu general public license along
> with this program in the main directory of the linux [ntfs] source
> in the file copying if not write to the free software foundation inc
> 59 temple place suite 330 boston ma 02111 1307 usa
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 1 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=09e70c6fcafd
> ---
> fs/ntfs/upcase.c | 16 +---------------
> 1 file changed, 1 insertion(+), 15 deletions(-)
>
> --- a/fs/ntfs/upcase.c
> +++ b/fs/ntfs/upcase.c
> @@ -1,24 +1,10 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * upcase.c - Generate the full NTFS Unicode upcase table in little endian.
> * Part of the Linux-NTFS project.
> *
> * Copyright (c) 2001 Richard Russon <ntfs@flatcap.org>
> * Copyright (c) 2001-2006 Anton Altaparmakov
> - *
> - * This program is free software; you can redistribute it and/or modify it
> - * under the terms of the GNU General Public License as published by the Free
> - * Software Foundation; either version 2 of the License, or (at your option)
> - * any later version.
> - *
> - * This program is distributed in the hope that it will be useful,
> - * but WITHOUT ANY WARRANTY; without even the implied warranty of
> - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> - * GNU General Public License for more details.
> - *
> - * You should have received a copy of the GNU General Public License
> - * along with this program (in the main directory of the Linux-NTFS source
> - * in the file COPYING); if not, write to the Free Software Foundation,
> - * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
> */
>
> #include "malloc.h"
>
>
Reviewed-by: Allison Randal <allison@lohutok.net>
On 5/22/19 3:51 AM, Thomas Gleixner wrote:
> Based on 1 normalized pattern(s):
>
> this program is free software you can redistribute it and or modify
> it under the terms of the gnu general public license as published by
> the free software foundation either version 2 of the license or at
> your optional any later version of the license
>
> extracted by the scancode license scanner the SPDX license identifier
>
> GPL-2.0-or-later
>
> has been chosen to replace the boilerplate/reference in 3 file(s).
>
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
>
> ---
> https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch4&id=24eb93ccafe6
> ---
> arch/powerpc/kvm/book3s.h | 7 +------
> include/linux/dma-contiguous.h | 6 +-----
> mm/cma.c | 6 +-----
> 3 files changed, 3 insertions(+), 16 deletions(-)
>
> --- a/arch/powerpc/kvm/book3s.h
> +++ b/arch/powerpc/kvm/book3s.h
> @@ -1,12 +1,7 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> /*
> * Copyright IBM Corporation, 2013
> * Author Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of the
> - * License or (at your optional) any later version of the license.
> - *
> */
>
> #ifndef __POWERPC_KVM_BOOK3S_H__
> --- a/include/linux/dma-contiguous.h
> +++ b/include/linux/dma-contiguous.h
> @@ -1,3 +1,4 @@
> +/* SPDX-License-Identifier: GPL-2.0-or-later */
> #ifndef __LINUX_CMA_H
> #define __LINUX_CMA_H
>
> @@ -7,11 +8,6 @@
> * Written by:
> * Marek Szyprowski <m.szyprowski@samsung.com>
> * Michal Nazarewicz <mina86@mina86.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of the
> - * License or (at your optional) any later version of the license.
> */
>
> /*
> --- a/mm/cma.c
> +++ b/mm/cma.c
> @@ -1,3 +1,4 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> /*
> * Contiguous Memory Allocator
> *
> @@ -9,11 +10,6 @@
> * Michal Nazarewicz <mina86@mina86.com>
> * Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
> * Joonsoo Kim <iamjoonsoo.kim@lge.com>
> - *
> - * This program is free software; you can redistribute it and/or
> - * modify it under the terms of the GNU General Public License as
> - * published by the Free Software Foundation; either version 2 of the
> - * License or (at your optional) any later version of the license.
> */
>
> #define pr_fmt(fmt) "cma: " fmt
>
>
On 5/22/19 8:59 AM, Richard Fontana wrote:
>
> For the time being I am trying to call attention to anything that
> seems even slightly interestingly different from what's in the GNU
> notice ("WITHOUT ANY WARRANTY; without even the implied warranty of
> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE").
I'm not replying to each one individually, but have agreed with all the
non-standard disclaimers that Richard flagged for further review.
Allison
On Wed, May 22, 2019 at 9:18 AM Greg KH <gregkh@linuxfoundation.org> wrote: > Also: > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > A: No. > Q: Should I include quotations after my reply? > > http://daringfireball.net/2007/07/on_top I come from the bottom-posting tradition and resisted top-posting for years, so I am pleased that top-posting is not appropriate for this list. (At least one other person reading this list may remember that the Harvey Birdman Rule [1] (in the process of being rebranded the Hindering Backchannels Rule) had a very strong anti-top-posting component in its original version, but this proved to be excessively harsh in practice and was modified appropriately.) I assume it's okay to put the "Reviewed-by:" at the top of the reply though? Richard [1] https://github.com/richardfontana/hbr/blob/master/HBR.md
On Thu, May 23, 2019 at 5:20 PM Allison Randal <allison@lohutok.net> wrote: > > On 5/22/19 9:18 AM, Greg KH wrote: > > On Wed, May 22, 2019 at 09:07:49AM -0400, Richard Fontana wrote: > >> This pattern has a simple, relatively high level disclaimer sentence. > > > > What does that mean? > > The disclaimer includes some BSD-style disclaimer text, but is so > high-level/generic that it may not be materially different than the > usual GPL-style disclaimer. (That's both my interpretation of what > Richard was saying, and my own opinion when I reviewed the patch.) Actually the reason I called it out is that I don't know how we should handle it. For reference, since thanks to my top-posting the context was lost, it was this: > this program is licensed as is without > any warranty of any kind whether express or implied Having done a tiny amount of legal research I'm starting to feel more comfortable with the idea of nonretention of at least a lot of these non-GNU disclaimer statements. Certainly this one. (That's not to dismiss the underlying GPL compliance issue I called attention to, though.) Richard
On Thu, 23 May 2019, Richard Fontana wrote:
> On Wed, May 22, 2019 at 9:18 AM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> > Also:
> > A: Because it messes up the order in which people normally read text.
> > Q: Why is top-posting such a bad thing?
> > A: Top-posting.
> > Q: What is the most annoying thing in e-mail?
> >
> > A: No.
> > Q: Should I include quotations after my reply?
> >
> > http://daringfireball.net/2007/07/on_top
>
> I come from the bottom-posting tradition and resisted top-posting for
> years, so I am pleased that top-posting is not appropriate for this
> list. (At least one other person reading this list may remember that
> the Harvey Birdman Rule [1] (in the process of being rebranded the
> Hindering Backchannels Rule) had a very strong anti-top-posting
> component in its original version, but this proved to be excessively
> harsh in practice and was modified appropriately.)
>
> I assume it's okay to put the "Reviewed-by:" at the top of the reply though?
You got lucky with that one. The script which picks up the Reviewed-by tags
is not biased vs. top/bottom posting. But now that you are mentioning it, I
surely could train it to detect top posting and to send nasty reminders :)
Thanks,
tglx
On Thu, May 23, 2019 at 10:21:57PM -0400, Richard Fontana wrote:
> On Wed, May 22, 2019 at 9:18 AM Greg KH <gregkh@linuxfoundation.org> wrote:
>
> > Also:
> > A: Because it messes up the order in which people normally read text.
> > Q: Why is top-posting such a bad thing?
> > A: Top-posting.
> > Q: What is the most annoying thing in e-mail?
> >
> > A: No.
> > Q: Should I include quotations after my reply?
> >
> > http://daringfireball.net/2007/07/on_top
>
> I come from the bottom-posting tradition and resisted top-posting for
> years, so I am pleased that top-posting is not appropriate for this
> list. (At least one other person reading this list may remember that
> the Harvey Birdman Rule [1] (in the process of being rebranded the
> Hindering Backchannels Rule) had a very strong anti-top-posting
> component in its original version, but this proved to be excessively
> harsh in practice and was modified appropriately.)
>
> I assume it's okay to put the "Reviewed-by:" at the top of the reply though?
It's not the nicest, as you should trim the email and not quote the
whole large patch, but we can live with it for now.
thanks,
greg k-h
On 5/24/19 1:55 AM, Greg KH wrote: > On Thu, May 23, 2019 at 10:21:57PM -0400, Richard Fontana wrote: >> >> I assume it's okay to put the "Reviewed-by:" at the top of the reply though? > > It's not the nicest, as you should trim the email and not quote the > whole large patch, but we can live with it for now. I've been a developer on so many different open source projects, that I've adopted the "When in Rome" Rule, following whatever formal or informal patterns the project prefers. Here, I'd expect that to be: https://github.com/torvalds/linux/blob/master/Documentation/process/submitting-patches.rst But, that doc doesn't actually say where to put the "Reviewed-by" line in a reply email, so the tools will pick it up. As far as I can tell from lkml, the r-b line can go anywhere in the reply, so I'll experiment with that on today's batch. But, really, I am totally happy to precisely follow whatever pattern you prefer, so just let us know. We are guests in your development workflow, so it makes more sense for us to adapt to you, than for you to adapt to us. :) Allison