Reviewed-by: Steve Winslow <swinslow@xxxxxxxxx> On Tue, May 28, 2019 at 1:16 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote: > > From: Thomas Gleixner tglx@xxxxxxxxxxxxx > > Based on 1 normalized pattern(s): > > this copyrighted material is made available to anyone wishing to use > modify copy or redistribute it subject to the terms and conditions > of the gnu general public license v 2 > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-only > > has been chosen to replace the boilerplate/reference in 45 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch9&id=cecc7956a230 > --- > arch/ia64/include/asm/syscall.h | 5 +---- > arch/powerpc/include/asm/syscall.h | 5 +---- > arch/x86/include/asm/syscall.h | 5 +---- > arch/x86/kernel/tls.h | 5 +---- > fs/compat_binfmt_elf.c | 5 +---- > fs/dlm/ast.c | 4 +--- > fs/dlm/ast.h | 4 +--- > fs/dlm/config.c | 4 +--- > fs/dlm/config.h | 4 +--- > fs/dlm/debug_fs.c | 4 +--- > fs/dlm/dir.c | 4 +--- > fs/dlm/dir.h | 4 +--- > fs/dlm/dlm_internal.h | 4 +--- > fs/dlm/lock.c | 4 +--- > fs/dlm/lock.h | 4 +--- > fs/dlm/lockspace.c | 4 +--- > fs/dlm/lockspace.h | 4 +--- > fs/dlm/lowcomms.c | 4 +--- > fs/dlm/lowcomms.h | 4 +--- > fs/dlm/lvb_table.h | 4 +--- > fs/dlm/main.c | 4 +--- > fs/dlm/member.c | 4 +--- > fs/dlm/member.h | 4 +--- > fs/dlm/memory.c | 4 +--- > fs/dlm/memory.h | 4 +--- > fs/dlm/midcomms.c | 4 +--- > fs/dlm/midcomms.h | 4 +--- > fs/dlm/netlink.c | 5 +---- > fs/dlm/rcom.c | 4 +--- > fs/dlm/rcom.h | 4 +--- > fs/dlm/recover.c | 4 +--- > fs/dlm/recover.h | 4 +--- > fs/dlm/recoverd.c | 4 +--- > fs/dlm/recoverd.h | 4 +--- > fs/dlm/requestqueue.c | 4 +--- > fs/dlm/requestqueue.h | 4 +--- > fs/dlm/user.c | 5 +---- > fs/dlm/user.h | 5 +---- > fs/dlm/util.c | 4 +--- > fs/dlm/util.h | 4 +--- > include/asm-generic/syscall.h | 5 +---- > include/linux/dlm.h | 4 +--- > include/linux/dlm_plock.h | 5 +---- > include/linux/regset.h | 5 +---- > include/linux/tracehook.h | 5 +---- > 45 files changed, 45 insertions(+), 147 deletions(-) > > --- a/arch/ia64/include/asm/syscall.h > +++ b/arch/ia64/include/asm/syscall.h > @@ -1,12 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Access to user system call parameters and results > * > * Copyright (C) 2008 Intel Corp. Shaohua Li <shaohua.li@xxxxxxxxx> > * > - * This copyrighted material is made available to anyone wishing to use, > - * modify, copy, or redistribute it subject to the terms and conditions > - * of the GNU General Public License v.2. > - * > * See asm-generic/syscall.h for descriptions of what we must do here. > */ > > --- a/arch/powerpc/include/asm/syscall.h > +++ b/arch/powerpc/include/asm/syscall.h > @@ -1,12 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Access to user system call parameters and results > * > * Copyright (C) 2008 Red Hat, Inc. All rights reserved. > * > - * This copyrighted material is made available to anyone wishing to use, > - * modify, copy, or redistribute it subject to the terms and conditions > - * of the GNU General Public License v.2. > - * > * See asm-generic/syscall.h for descriptions of what we must do here. > */ > > --- a/arch/x86/include/asm/syscall.h > +++ b/arch/x86/include/asm/syscall.h > @@ -1,12 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Access to user system call parameters and results > * > * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved. > * > - * This copyrighted material is made available to anyone wishing to use, > - * modify, copy, or redistribute it subject to the terms and conditions > - * of the GNU General Public License v.2. > - * > * See asm-generic/syscall.h for descriptions of what we must do here. > */ > > --- a/arch/x86/kernel/tls.h > +++ b/arch/x86/kernel/tls.h > @@ -1,12 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Internal declarations for x86 TLS implementation functions. > * > * Copyright (C) 2007 Red Hat, Inc. All rights reserved. > * > - * This copyrighted material is made available to anyone wishing to use, > - * modify, copy, or redistribute it subject to the terms and conditions > - * of the GNU General Public License v.2. > - * > * Red Hat Author: Roland McGrath. > */ > > --- a/fs/compat_binfmt_elf.c > +++ b/fs/compat_binfmt_elf.c > @@ -1,12 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * 32-bit compatibility support for ELF format executables and core dumps. > * > * Copyright (C) 2007 Red Hat, Inc. All rights reserved. > * > - * This copyrighted material is made available to anyone wishing to use, > - * modify, copy, or redistribute it subject to the terms and conditions > - * of the GNU General Public License v.2. > - * > * Red Hat Author: Roland McGrath. > * > * This file is used in a 64-bit kernel that wants to support 32-bit ELF. > --- a/fs/dlm/ast.c > +++ b/fs/dlm/ast.c > @@ -1,12 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2010 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/ast.h > +++ b/fs/dlm/ast.h > @@ -1,11 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/config.c > +++ b/fs/dlm/config.c > @@ -1,12 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/config.h > +++ b/fs/dlm/config.h > @@ -1,12 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/debug_fs.c > +++ b/fs/dlm/debug_fs.c > @@ -1,11 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) 2005-2009 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/dir.c > +++ b/fs/dlm/dir.c > @@ -1,12 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/dir.h > +++ b/fs/dlm/dir.h > @@ -1,12 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/dlm_internal.h > +++ b/fs/dlm/dlm_internal.h > @@ -1,12 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/lock.c > +++ b/fs/dlm/lock.c > @@ -1,11 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) 2005-2010 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/lock.h > +++ b/fs/dlm/lock.h > @@ -1,11 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/lockspace.c > +++ b/fs/dlm/lockspace.c > @@ -1,12 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/lockspace.h > +++ b/fs/dlm/lockspace.h > @@ -1,12 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/lowcomms.c > +++ b/fs/dlm/lowcomms.c > @@ -1,12 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/lowcomms.h > +++ b/fs/dlm/lowcomms.h > @@ -1,12 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2009 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/lvb_table.h > +++ b/fs/dlm/lvb_table.h > @@ -1,11 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) 2005 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/main.c > +++ b/fs/dlm/main.c > @@ -1,12 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/member.c > +++ b/fs/dlm/member.c > @@ -1,11 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) 2005-2011 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/member.h > +++ b/fs/dlm/member.h > @@ -1,11 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) 2005-2011 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/memory.c > +++ b/fs/dlm/memory.c > @@ -1,12 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/memory.h > +++ b/fs/dlm/memory.h > @@ -1,12 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2007 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/midcomms.c > +++ b/fs/dlm/midcomms.c > @@ -1,12 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2008 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/midcomms.h > +++ b/fs/dlm/midcomms.h > @@ -1,12 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/netlink.c > +++ b/fs/dlm/netlink.c > @@ -1,9 +1,6 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Copyright (C) 2007 Red Hat, Inc. All rights reserved. > - * > - * This copyrighted material is made available to anyone wishing to use, > - * modify, copy, or redistribute it subject to the terms and conditions > - * of the GNU General Public License v.2. > */ > > #include <net/genetlink.h> > --- a/fs/dlm/rcom.c > +++ b/fs/dlm/rcom.c > @@ -1,12 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/rcom.h > +++ b/fs/dlm/rcom.h > @@ -1,12 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/recover.c > +++ b/fs/dlm/recover.c > @@ -1,12 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/recover.h > +++ b/fs/dlm/recover.h > @@ -1,12 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/recoverd.c > +++ b/fs/dlm/recoverd.c > @@ -1,12 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/recoverd.h > +++ b/fs/dlm/recoverd.h > @@ -1,12 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2005 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/requestqueue.c > +++ b/fs/dlm/requestqueue.c > @@ -1,11 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/requestqueue.h > +++ b/fs/dlm/requestqueue.h > @@ -1,11 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) 2005-2007 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/user.c > +++ b/fs/dlm/user.c > @@ -1,9 +1,6 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Copyright (C) 2006-2010 Red Hat, Inc. All rights reserved. > - * > - * This copyrighted material is made available to anyone wishing to use, > - * modify, copy, or redistribute it subject to the terms and conditions > - * of the GNU General Public License v.2. > */ > > #include <linux/miscdevice.h> > --- a/fs/dlm/user.h > +++ b/fs/dlm/user.h > @@ -1,9 +1,6 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Copyright (C) 2006-2010 Red Hat, Inc. All rights reserved. > - * > - * This copyrighted material is made available to anyone wishing to use, > - * modify, copy, or redistribute it subject to the terms and conditions > - * of the GNU General Public License v.2. > */ > > #ifndef __USER_DOT_H__ > --- a/fs/dlm/util.c > +++ b/fs/dlm/util.c > @@ -1,11 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/fs/dlm/util.h > +++ b/fs/dlm/util.h > @@ -1,11 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) 2005 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/include/asm-generic/syscall.h > +++ b/include/asm-generic/syscall.h > @@ -1,12 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Access to user system call parameters and results > * > * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved. > * > - * This copyrighted material is made available to anyone wishing to use, > - * modify, copy, or redistribute it subject to the terms and conditions > - * of the GNU General Public License v.2. > - * > * This file is a stub providing documentation for what functions > * asm-ARCH/syscall.h files need to define. Most arch definitions > * will be simple inlines. > --- a/include/linux/dlm.h > +++ b/include/linux/dlm.h > @@ -1,12 +1,10 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /****************************************************************************** > ******************************************************************************* > ** > ** Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. > ** Copyright (C) 2004-2011 Red Hat, Inc. All rights reserved. > ** > -** This copyrighted material is made available to anyone wishing to use, > -** modify, copy, or redistribute it subject to the terms and conditions > -** of the GNU General Public License v.2. > ** > ******************************************************************************* > ******************************************************************************/ > --- a/include/linux/dlm_plock.h > +++ b/include/linux/dlm_plock.h > @@ -1,9 +1,6 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Copyright (C) 2005-2008 Red Hat, Inc. All rights reserved. > - * > - * This copyrighted material is made available to anyone wishing to use, > - * modify, copy, or redistribute it subject to the terms and conditions > - * of the GNU General Public License v.2. > */ > #ifndef __DLM_PLOCK_DOT_H__ > #define __DLM_PLOCK_DOT_H__ > --- a/include/linux/regset.h > +++ b/include/linux/regset.h > @@ -1,12 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * User-mode machine state access > * > * Copyright (C) 2007 Red Hat, Inc. All rights reserved. > * > - * This copyrighted material is made available to anyone wishing to use, > - * modify, copy, or redistribute it subject to the terms and conditions > - * of the GNU General Public License v.2. > - * > * Red Hat Author: Roland McGrath. > */ > > --- a/include/linux/tracehook.h > +++ b/include/linux/tracehook.h > @@ -1,12 +1,9 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * Tracing hooks > * > * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved. > * > - * This copyrighted material is made available to anyone wishing to use, > - * modify, copy, or redistribute it subject to the terms and conditions > - * of the GNU General Public License v.2. > - * > * This file defines hook entry points called by core code where > * user tracing/debugging support might need to do something. These > * entry points are called tracehook_*(). Each hook declared below > > -- Steve Winslow Director of Strategic Programs The Linux Foundation swinslow@xxxxxxxxxxxxxxxxxxx