| Subject: treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 66 |
| Date: Tue, 07 May 2019 12:01:45 +0100 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| |
| 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 good title or non infringement 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 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 12 file(s). |
| |
| The result has been manually verified and compared against a license |
| compliance dataset provided by .... |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| |
| --- |
| |
| --- a/arch/ia64/kernel/err_inject.c |
| +++ b/arch/ia64/kernel/err_inject.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * err_inject.c - |
| * 1.) Inject errors to a processor. |
| @@ -5,24 +6,8 @@ |
| * This driver along with user space code can be acting as an error |
| * injection tool. |
| * |
| - * 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, GOOD TITLE or |
| - * NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| - * |
| * Written by: Fenghua Yu <fenghua.yu@intel.com>, Intel Corporation |
| * Copyright (C) 2006, Intel Corp. All rights reserved. |
| - * |
| */ |
| #include <linux/device.h> |
| #include <linux/init.h> |
| |
| |
| --- a/arch/powerpc/kernel/eeh_driver.c |
| +++ b/arch/powerpc/kernel/eeh_driver.c |
| @@ -1,24 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * PCI Error Recovery Driver for RPA-compliant PPC64 platform. |
| * Copyright IBM Corp. 2004 2005 |
| * Copyright Linas Vepstas <linas@linas.org> 2004, 2005 |
| * |
| * 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, GOOD TITLE or |
| - * NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| * |
| * Send comments and feedback to Linas Vepstas <linas@austin.ibm.com> |
| */ |
| |
| |
| --- a/arch/powerpc/kernel/eeh_sysfs.c |
| +++ b/arch/powerpc/kernel/eeh_sysfs.c |
| @@ -1,24 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * Sysfs entries for PCI Error Recovery for PAPR-compliant platform. |
| * Copyright IBM Corporation 2007 |
| * Copyright Linas Vepstas <linas@austin.ibm.com> 2007 |
| * |
| * 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, GOOD TITLE or |
| - * NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| * |
| * Send comments and feedback to Linas Vepstas <linas@austin.ibm.com> |
| */ |
| |
| |
| --- a/arch/powerpc/platforms/pseries/pci_dlpar.c |
| +++ b/arch/powerpc/platforms/pseries/pci_dlpar.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * PCI Dynamic LPAR, PCI Hot Plug and PCI EEH recovery code |
| * for RPA-compliant PPC64 platform. |
| @@ -8,21 +9,6 @@ |
| * Updates, 2005, Linas Vepstas <linas@austin.ibm.com> |
| * |
| * 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, GOOD TITLE or |
| - * NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| */ |
| |
| #include <linux/pci.h> |
| |
| |
| --- a/arch/x86/include/asm/topology.h |
| +++ b/arch/x86/include/asm/topology.h |
| @@ -1,24 +1,10 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* |
| * Written by: Matthew Dobson, IBM Corporation |
| * |
| * Copyright (C) 2002, IBM Corp. |
| * |
| * 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, GOOD TITLE or |
| - * NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| * |
| * Send feedback to <colpatch@us.ibm.com> |
| */ |
| |
| |
| --- a/arch/x86/kernel/topology.c |
| +++ b/arch/x86/kernel/topology.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * Populate sysfs with topology information |
| * |
| @@ -7,21 +8,6 @@ |
| * Copyright (C) 2002, IBM Corp. |
| * |
| * 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, GOOD TITLE or |
| - * NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| * |
| * Send feedback to <colpatch@us.ibm.com> |
| */ |
| |
| |
| --- a/arch/x86/mm/numa_32.c |
| +++ b/arch/x86/mm/numa_32.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * Written by: Patricia Gaughen <gone@us.ibm.com>, IBM Corporation |
| * August 2002: added remote node KVA remap - Martin J. Bligh |
| @@ -5,21 +6,6 @@ |
| * Copyright (C) 2002, IBM Corp. |
| * |
| * 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, GOOD TITLE or |
| - * NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| */ |
| |
| #include <linux/memblock.h> |
| |
| |
| --- a/drivers/char/tlclk.c |
| +++ b/drivers/char/tlclk.c |
| @@ -1,24 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * Telecom Clock driver for Intel NetStructure(tm) MPCBL0010 |
| * |
| * Copyright (C) 2005 Kontron Canada |
| * |
| * 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, GOOD TITLE or |
| - * NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| * |
| * Send feedback to <sebastien.bouchard@ca.kontron.com> and the current |
| * Maintainer <mark.gross@intel.com> |
| |
| |
| --- a/fs/ocfs2/symlink.c |
| +++ b/fs/ocfs2/symlink.c |
| @@ -1,22 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| * linux/cluster/ssi/cfs/symlink.c |
| - * |
| - * 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, GOOD TITLE |
| - * or NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| * |
| * Questions/Comments/Bugfixes to ssic-linux-devel@lists.sourceforge.net |
| * |
| @@ -31,7 +17,6 @@ |
| * ocfs2 symlink handling code. |
| * |
| * Copyright (C) 2004, 2005 Oracle. |
| - * |
| */ |
| |
| #include <linux/fs.h> |
| |
| |
| --- a/include/asm-generic/topology.h |
| +++ b/include/asm-generic/topology.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* |
| * linux/include/asm-generic/topology.h |
| * |
| @@ -6,21 +7,6 @@ |
| * Copyright (C) 2002, IBM Corp. |
| * |
| * 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, GOOD TITLE or |
| - * NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| * |
| * Send feedback to <colpatch@us.ibm.com> |
| */ |
| |
| |
| --- a/include/linux/topology.h |
| +++ b/include/linux/topology.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* |
| * include/linux/topology.h |
| * |
| @@ -6,21 +7,6 @@ |
| * Copyright (C) 2002, IBM Corp. |
| * |
| * 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, GOOD TITLE or |
| - * NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| * |
| * Send feedback to <colpatch@us.ibm.com> |
| */ |
| |
| |
| --- a/kernel/configs.c |
| +++ b/kernel/configs.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * kernel/configs.c |
| * Echo the kernel .config file used to build the kernel |
| @@ -6,21 +7,6 @@ |
| * Copyright (C) 2002 Randy Dunlap <rdunlap@xenotime.net> |
| * Copyright (C) 2002 Al Stone <ahs3@fc.hp.com> |
| * Copyright (C) 2002 Hewlett-Packard Company |
| - * |
| - * 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, GOOD TITLE or |
| - * NON INFRINGEMENT. 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., 675 Mass Ave, Cambridge, MA 02139, USA. |
| */ |
| |
| #include <linux/kernel.h> |
| |
| |