| Subject: treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 331 |
| Date: Tue, 07 May 2019 12:02:53 +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 version 2 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 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 59 temple place - suite 330 |
| boston ma 02111-1307 usa |
| |
| |
| |
| extracted by the scancode license scanner the SPDX license identifier |
| |
| GPL-2.0-only |
| |
| has been chosen to replace the boilerplate/reference in 9 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/drivers/mtd/nand/onenand/omap2.c |
| +++ b/drivers/mtd/nand/onenand/omap2.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * OneNAND driver for OMAP2 / OMAP3 |
| * |
| @@ -5,20 +6,6 @@ |
| * |
| * Author: Jarkko Lavinen <jarkko.lavinen@nokia.com> and Juha Yrjölä |
| * IRQ and DMA support written by Timo Teras |
| - * |
| - * 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. |
| - * |
| - * 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| - * |
| */ |
| |
| #include <linux/device.h> |
| |
| |
| --- a/drivers/mtd/tests/nandbiterrs.c |
| +++ b/drivers/mtd/tests/nandbiterrs.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright © 2012 NetCommWireless |
| * Iwo Mergler <Iwo.Mergler@netcommwireless.com.au> |
| @@ -24,20 +25,6 @@ |
| * |
| * Please note that neither of these tests will significantly 'use up' any |
| * FLASH endurance. Only a maximum of two erase operations will be performed. |
| - * |
| - * |
| - * 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. |
| - * |
| - * 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| */ |
| |
| #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| |
| --- a/drivers/mtd/tests/oobtest.c |
| +++ b/drivers/mtd/tests/oobtest.c |
| @@ -1,18 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2006-2008 Nokia Corporation |
| - * |
| - * 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. |
| - * |
| - * 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| * |
| * Test OOB read and write on MTD device. |
| * |
| |
| |
| --- a/drivers/mtd/tests/pagetest.c |
| +++ b/drivers/mtd/tests/pagetest.c |
| @@ -1,18 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2006-2008 Nokia Corporation |
| - * |
| - * 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. |
| - * |
| - * 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| * |
| * Test page read and write on MTD device. |
| * |
| |
| |
| --- a/drivers/mtd/tests/readtest.c |
| +++ b/drivers/mtd/tests/readtest.c |
| @@ -1,18 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2006-2008 Nokia Corporation |
| - * |
| - * 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. |
| - * |
| - * 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| * |
| * Check MTD device read. |
| * |
| |
| |
| --- a/drivers/mtd/tests/speedtest.c |
| +++ b/drivers/mtd/tests/speedtest.c |
| @@ -1,18 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2007 Nokia Corporation |
| - * |
| - * 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. |
| - * |
| - * 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| * |
| * Test read and write speed of a MTD device. |
| * |
| |
| |
| --- a/drivers/mtd/tests/stresstest.c |
| +++ b/drivers/mtd/tests/stresstest.c |
| @@ -1,18 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2006-2008 Nokia Corporation |
| - * |
| - * 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. |
| - * |
| - * 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| * |
| * Test random reads, writes and erases on MTD device. |
| * |
| |
| |
| --- a/drivers/mtd/tests/subpagetest.c |
| +++ b/drivers/mtd/tests/subpagetest.c |
| @@ -1,22 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2006-2007 Nokia Corporation |
| * |
| - * 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. |
| - * |
| - * 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| - * |
| * Test sub-page read and write on MTD device. |
| * Author: Adrian Hunter <ext-adrian.hunter@nokia.com> |
| - * |
| */ |
| |
| #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt |
| |
| |
| --- a/drivers/mtd/tests/torturetest.c |
| +++ b/drivers/mtd/tests/torturetest.c |
| @@ -1,20 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2006-2008 Artem Bityutskiy |
| * Copyright (C) 2006-2008 Jarkko Lavinen |
| * Copyright (C) 2006-2008 Adrian Hunter |
| - * |
| - * 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. |
| - * |
| - * 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, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| * |
| * Authors: Artem Bityutskiy, Jarkko Lavinen, Adria Hunter |
| * |
| |
| |