| Subject: treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 45 |
| Date: Tue, 07 May 2019 12:01:41 +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 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 11 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/mips/cavium-octeon/crypto/octeon-sha512.c |
| +++ b/arch/mips/cavium-octeon/crypto/octeon-sha512.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * Cryptographic API. |
| * |
| @@ -10,11 +11,6 @@ |
| * Copyright (c) Jean-Luc Cooke <jlcooke@certainkey.com> |
| * Copyright (c) Andrew McDonald <andrew@mcdonald.org.uk> |
| * Copyright (c) 2003 Kyle McMartin <kyle@debian.org> |
| - * |
| - * 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, or (at your option) any |
| - * later version. |
| */ |
| |
| #include <linux/mm.h> |
| |
| |
| --- a/crypto/sha512_generic.c |
| +++ b/crypto/sha512_generic.c |
| @@ -1,14 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* SHA-512 code by Jean-Luc Cooke <jlcooke@certainkey.com> |
| * |
| * Copyright (c) Jean-Luc Cooke <jlcooke@certainkey.com> |
| * Copyright (c) Andrew McDonald <andrew@mcdonald.org.uk> |
| * Copyright (c) 2003 Kyle McMartin <kyle@debian.org> |
| - * |
| - * 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, or (at your option) any |
| - * later version. |
| - * |
| */ |
| #include <crypto/internal/hash.h> |
| #include <linux/kernel.h> |
| |
| |
| --- a/drivers/ata/ahci_da850.c |
| +++ b/drivers/ata/ahci_da850.c |
| @@ -1,10 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * DaVinci DA850 AHCI SATA platform driver |
| - * |
| - * 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, or (at your option) |
| - * any later version. |
| */ |
| |
| #include <linux/kernel.h> |
| |
| |
| --- a/drivers/ata/ahci_dm816.c |
| +++ b/drivers/ata/ahci_dm816.c |
| @@ -1,12 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * DaVinci DM816 AHCI SATA platform driver |
| * |
| * Copyright (C) 2017 BayLibre SAS |
| - * |
| - * 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, or (at your option) |
| - * any later version. |
| */ |
| |
| #include <linux/kernel.h> |
| |
| |
| --- a/drivers/ata/ahci_platform.c |
| +++ b/drivers/ata/ahci_platform.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * AHCI SATA platform driver |
| * |
| @@ -5,11 +6,6 @@ |
| * Jeff Garzik <jgarzik@pobox.com> |
| * Copyright 2010 MontaVista Software, LLC. |
| * Anton Vorontsov <avorontsov@ru.mvista.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, or (at your option) |
| - * any later version. |
| */ |
| |
| #include <linux/kernel.h> |
| |
| |
| --- a/drivers/ata/ahci_qoriq.c |
| +++ b/drivers/ata/ahci_qoriq.c |
| @@ -1,13 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * Freescale QorIQ AHCI SATA platform driver |
| * |
| * Copyright 2015 Freescale, Inc. |
| * Tang Yuantian <Yuantian.Tang@freescale.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, or (at your option) |
| - * any later version. |
| */ |
| |
| #include <linux/kernel.h> |
| |
| |
| --- a/drivers/ata/libahci_platform.c |
| +++ b/drivers/ata/libahci_platform.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * AHCI SATA platform library |
| * |
| @@ -5,11 +6,6 @@ |
| * Jeff Garzik <jgarzik@pobox.com> |
| * Copyright 2010 MontaVista Software, LLC. |
| * Anton Vorontsov <avorontsov@ru.mvista.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, or (at your option) |
| - * any later version. |
| */ |
| |
| #include <linux/clk.h> |
| |
| |
| --- a/drivers/md/md-cluster.c |
| +++ b/drivers/md/md-cluster.c |
| @@ -1,11 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * Copyright (C) 2015, SUSE |
| - * |
| - * 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, or (at your option) |
| - * any later version. |
| - * |
| */ |
| |
| |
| |
| |
| --- a/drivers/scsi/scsi_debug.c |
| +++ b/drivers/scsi/scsi_debug.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * vvvvvvvvvvvvvvvvvvvvvvv Original vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv |
| * Copyright (C) 1992 Eric Youngdale |
| @@ -8,13 +9,7 @@ |
| * |
| * Copyright (C) 2001 - 2018 Douglas Gilbert |
| * |
| - * 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, or (at your option) |
| - * any later version. |
| - * |
| * For documentation see http://sg.danny.cz/sg/sdebug26.html |
| - * |
| */ |
| |
| |
| |
| |
| --- a/drivers/scsi/sg.c |
| +++ b/drivers/scsi/sg.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-or-later |
| /* |
| * History: |
| * Started: Aug 9 by Lawrence Foard (entropy@world.std.com), |
| @@ -8,12 +9,6 @@ |
| * Copyright (C) 1992 Lawrence Foard |
| * Version 2 and 3 extensions to driver: |
| * Copyright (C) 1998 - 2014 Douglas Gilbert |
| - * |
| - * 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, or (at your option) |
| - * any later version. |
| - * |
| */ |
| |
| static int sg_version_num = 30536; /* 2 digits for each component */ |
| |
| |
| --- a/include/linux/ahci_platform.h |
| +++ b/include/linux/ahci_platform.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
| /* |
| * AHCI SATA platform driver |
| * |
| @@ -5,11 +6,6 @@ |
| * Jeff Garzik <jgarzik@pobox.com> |
| * Copyright 2010 MontaVista Software, LLC. |
| * Anton Vorontsov <avorontsov@ru.mvista.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, or (at your option) |
| - * any later version. |
| */ |
| |
| #ifndef _AHCI_PLATFORM_H |
| |
| |