Reviewed-by: Steve Winslow <swinslow@xxxxxxxxx> On Tue, May 28, 2019 at 1:17 PM Thomas Gleixner <tglx@xxxxxxxxxxxxx> wrote: > > From: Thomas Gleixner tglx@xxxxxxxxxxxxx > > Based on 1 normalized pattern(s): > > released under gpl v2 > > extracted by the scancode license scanner the SPDX license identifier > > GPL-2.0-only > > has been chosen to replace the boilerplate/reference in 15 file(s). > > Signed-off-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx> > > --- > https://git.kernel.org/pub/scm/linux/kernel/git/tglx/linux-spdx.git/commit/?h=batch10&id=e87fcc178679 > --- > arch/mips/sgi-ip27/ip27-hubio.c | 2 +- > arch/mips/sgi-ip27/ip27-xtalk.c | 2 +- > drivers/ata/libata-transport.c | 2 +- > drivers/ata/sata_inic162x.c | 3 +-- > drivers/scsi/scsi_sysctl.c | 2 +- > drivers/scsi/scsi_transport_sas.c | 2 +- > fs/fat/fatent.c | 2 +- > fs/namespace.c | 2 +- > fs/omfs/dir.c | 2 +- > fs/omfs/file.c | 2 +- > fs/omfs/inode.c | 2 +- > fs/pnode.c | 3 +-- > fs/pnode.h | 3 +-- > scripts/export_report.pl | 2 +- > tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c | 3 +-- > 15 files changed, 15 insertions(+), 19 deletions(-) > > --- a/arch/mips/sgi-ip27/ip27-hubio.c > +++ b/arch/mips/sgi-ip27/ip27-hubio.c > @@ -1,7 +1,7 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Copyright (C) 1992-1997, 2000-2003 Silicon Graphics, Inc. > * Copyright (C) 2004 Christoph Hellwig. > - * Released under GPL v2. > * > * Support functions for the HUB ASIC - mostly PIO mapping related. > */ > --- a/arch/mips/sgi-ip27/ip27-xtalk.c > +++ b/arch/mips/sgi-ip27/ip27-xtalk.c > @@ -1,8 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Copyright (C) 1999, 2000 Ralf Baechle (ralf@xxxxxxx) > * Copyright (C) 1999, 2000 Silcon Graphics, Inc. > * Copyright (C) 2004 Christoph Hellwig. > - * Released under GPL v2. > * > * Generic XTALK initialization code > */ > --- a/drivers/ata/libata-transport.c > +++ b/drivers/ata/libata-transport.c > @@ -1,6 +1,6 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Copyright 2008 ioogle, Inc. All rights reserved. > - * Released under GPL v2. > * > * Libata transport class. > * > --- a/drivers/ata/sata_inic162x.c > +++ b/drivers/ata/sata_inic162x.c > @@ -1,11 +1,10 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * sata_inic162x.c - Driver for Initio 162x SATA controllers > * > * Copyright 2006 SUSE Linux Products GmbH > * Copyright 2006 Tejun Heo <teheo@xxxxxxxxxx> > * > - * This file is released under GPL v2. > - * > * **** WARNING **** > * > * This driver never worked properly and unfortunately data corruption is > --- a/drivers/scsi/scsi_sysctl.c > +++ b/drivers/scsi/scsi_sysctl.c > @@ -1,6 +1,6 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Copyright (C) 2003 Christoph Hellwig. > - * Released under GPL v2. > */ > > #include <linux/errno.h> > --- a/drivers/scsi/scsi_transport_sas.c > +++ b/drivers/scsi/scsi_transport_sas.c > @@ -1,6 +1,6 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Copyright (C) 2005-2006 Dell Inc. > - * Released under GPL v2. > * > * Serial Attached SCSI (SAS) transport class. > * > --- a/fs/fat/fatent.c > +++ b/fs/fat/fatent.c > @@ -1,6 +1,6 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Copyright (C) 2004, OGAWA Hirofumi > - * Released under GPL v2. > */ > > #include <linux/blkdev.h> > --- a/fs/namespace.c > +++ b/fs/namespace.c > @@ -1,8 +1,8 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * linux/fs/namespace.c > * > * (C) Copyright Al Viro 2000, 2001 > - * Released under GPL v2. > * > * Based on code from fs/super.c, copyright Linus Torvalds and others. > * Heavily rewritten. > --- a/fs/omfs/dir.c > +++ b/fs/omfs/dir.c > @@ -1,7 +1,7 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * OMFS (as used by RIO Karma) directory operations. > * Copyright (C) 2005 Bob Copeland <me@xxxxxxxxxxxxxxx> > - * Released under GPL v2. > */ > > #include <linux/fs.h> > --- a/fs/omfs/file.c > +++ b/fs/omfs/file.c > @@ -1,7 +1,7 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * OMFS (as used by RIO Karma) file operations. > * Copyright (C) 2005 Bob Copeland <me@xxxxxxxxxxxxxxx> > - * Released under GPL v2. > */ > > #include <linux/module.h> > --- a/fs/omfs/inode.c > +++ b/fs/omfs/inode.c > @@ -1,7 +1,7 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * Optimized MPEG FS - inode and super operations. > * Copyright (C) 2006 Bob Copeland <me@xxxxxxxxxxxxxxx> > - * Released under GPL v2. > */ > #include <linux/module.h> > #include <linux/sched.h> > --- a/fs/pnode.c > +++ b/fs/pnode.c > @@ -1,10 +1,9 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * linux/fs/pnode.c > * > * (C) Copyright IBM Corporation 2005. > - * Released under GPL v2. > * Author : Ram Pai (linuxram@xxxxxxxxxx) > - * > */ > #include <linux/mnt_namespace.h> > #include <linux/mount.h> > --- a/fs/pnode.h > +++ b/fs/pnode.h > @@ -1,9 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ > /* > * linux/fs/pnode.h > * > * (C) Copyright IBM Corporation 2005. > - * Released under GPL v2. > - * > */ > #ifndef _LINUX_PNODE_H > #define _LINUX_PNODE_H > --- a/scripts/export_report.pl > +++ b/scripts/export_report.pl > @@ -1,7 +1,7 @@ > #!/usr/bin/env perl > +# SPDX-License-Identifier: GPL-2.0-only > # > # (C) Copyright IBM Corporation 2006. > -# Released under GPL v2. > # Author : Ram Pai (linuxram@xxxxxxxxxx) > # > # Usage: export_report.pl -k Module.symvers [-o report_file ] -f *.mod.c > --- a/tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c > +++ b/tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c > @@ -1,3 +1,4 @@ > +// SPDX-License-Identifier: GPL-2.0-only > /* > * x86_energy_perf_policy -- set the energy versus performance > * policy preference bias on recent X86 processors. > @@ -5,8 +6,6 @@ > /* > * Copyright (c) 2010 - 2017 Intel Corporation. > * Len Brown <len.brown@xxxxxxxxx> > - * > - * This program is released under GPL v2 > */ > > #define _GNU_SOURCE > > -- Steve Winslow Director of Strategic Programs The Linux Foundation swinslow@xxxxxxxxxxxxxxxxxxx