Batch 17 of random GPL notices/references
Subsystems (103)
cover Batch 17 of random GPL notices/references
The last batch of oddities. Enjoy!
Thanks,
tglx
PATCH 2/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 452
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software void 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 if not see http void www gnu org licenses
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- arch/arm64/kernel/sys32.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)
arch/arm64/kernel/sys32.c +1 -12
@@ -1,19 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * arch/arm64/kernel/sys32.c * * Copyright (C) 2015 ARM Ltd. -* -* This program is free software(void); 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. If not, see <http(void);//www.gnu.org/licenses/>. */ /*
PATCH 1/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 451
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is subject to the terms and conditions of version 2 of the gnu general public license see the file copying in the main directory of the linux distribution for more details
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 5 file(s).
--- include/linux/cgroup_rdma.h | 5 +---- kernel/bpf/cgroup.c | 5 +---- kernel/bpf/lpm_trie.c | 5 +---- kernel/cgroup/pids.c | 5 +---- kernel/cgroup/rdma.c | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-)
include/linux/cgroup_rdma.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016 Parav Pandit <[email protected]> -* -* This file is subject to the terms and conditions of version 2 of the GNU -* General Public License. See the file COPYING in the main directory of the -* Linux distribution for more details. */ #ifndef _CGROUP_RDMA_H
kernel/bpf/cgroup.c +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Functions to manage eBPF programs attached to cgroups * * Copyright (c) 2016 Daniel Mack -* -* This file is subject to the terms and conditions of version 2 of the GNU -* General Public License. See the file COPYING in the main directory of the -* Linux distribution for more details. */ #include <linux/kernel.h>
kernel/bpf/lpm_trie.c +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Longest prefix match list implementation * * Copyright (c) 2016,2017 Daniel Mack * Copyright (c) 2016 David Herrmann -* -* This file is subject to the terms and conditions of version 2 of the GNU -* General Public License. See the file COPYING in the main directory of the -* Linux distribution for more details. */ #include <linux/bpf.h>
kernel/cgroup/pids.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Process number limiting controller for cgroups. *
@@ -25,10 +26,6 @@* a superset of parent/child/pids.current. * * Copyright (C) 2015 Aleksa Sarai <[email protected]> -* -* This file is subject to the terms and conditions of version 2 of the GNU -* General Public License. See the file COPYING in the main directory of the -* Linux distribution for more details. */ #include <linux/kernel.h>
kernel/cgroup/rdma.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * RDMA resource limiting controller for cgroups. *
@@ -5,10 +6,6 @@* additional RDMA resources after a certain limit is reached. * * Copyright (C) 2016 Parav Pandit <[email protected]> -* -* This file is subject to the terms and conditions of version 2 of the GNU -* General Public License. See the file COPYING in the main directory of the -* Linux distribution for more details. */ #include <linux/bitops.h>
PATCH 3/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 453
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 2 normalized pattern(s):
this file is provided under a gplv2 license when using or redistributing this file you may do so under that license gpl license summary [copyright] [c] [2016] [t] [platforms] [all] [rights] [reserved] this program is free software you can redistribute it and or modify it under the terms and conditions 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 if not it can be found http www gnu org licenses the full gnu general public license is included in this distribution in the file called copying this software is provided by the copyright holders and contributors as is and any express or implied warranties including but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed in no event shall the copyright owner or contributors be liable for any direct indirect incidental special exemplary or consequential damages including but not limited to procurement of substitute goods or services loss of use data or profits or business interruption however caused and on any theory of liability whether in contract strict liability or tort including negligence or otherwise arising in any way out of the use of this software even if advised of the possibility of such damage
this file is provided under a gplv2 license when using or redistributing this file you may do so under that license gpl license summary [copyright] [c] [2016] [2018] [t] [platforms] [jsc] [all] [rights] [reserved] this program is free software you can redistribute it and or modify it under the terms and conditions 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 if not [one] can be found http www gnu org licenses the full gnu general public license is included in this distribution in the file called copying this software is provided by the copyright holders and contributors as is and any express or implied warranties including but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed in no event shall the copyright owner or contributors be liable for any direct indirect incidental special exemplary or consequential damages including but not limited to procurement of substitute goods or services loss of use data or profits or business interruption however caused and on any theory of liability whether in contract strict liability or tort including negligence or otherwise arising in any way out of the use of this software even if advised of the possibility of such damage
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 3 file(s).
--- drivers/misc/eeprom/idt_89hpesx.c | 33 +-------------------------------- drivers/ntb/hw/idt/ntb_hw_idt.c | 33 +-------------------------------- drivers/ntb/hw/idt/ntb_hw_idt.h | 33 +-------------------------------- 3 files changed, 3 insertions(+), 96 deletions(-)
drivers/misc/eeprom/idt_89hpesx.c +1 -32
@@ -1,38 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -* This file is provided under a GPLv2 license. When using or -* redistributing this file, you may do so under that license. -* -* GPL LICENSE SUMMARY -* * Copyright (C) 2016 T-Platforms. All Rights Reserved. * -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions 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; if not, it can be found <http://www.gnu.org/licenses/>. -* -* The full GNU General Public License is included in this distribution in -* the file called "COPYING". -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* * IDT PCIe-switch NTB Linux driver * * Contact Information:
drivers/ntb/hw/idt/ntb_hw_idt.c +1 -32
@@ -1,38 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -* This file is provided under a GPLv2 license. When using or -* redistributing this file, you may do so under that license. -* -* GPL LICENSE SUMMARY -* * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved. * -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions 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; if not, one can be found http://www.gnu.org/licenses/. -* -* The full GNU General Public License is included in this distribution in -* the file called "COPYING". -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* * IDT PCIe-switch NTB Linux driver * * Contact Information:
drivers/ntb/hw/idt/ntb_hw_idt.h +1 -32
@@ -1,38 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* -* This file is provided under a GPLv2 license. When using or -* redistributing this file, you may do so under that license. -* -* GPL LICENSE SUMMARY -* * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved. * -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions 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; if not, one can be found http://www.gnu.org/licenses/. -* -* The full GNU General Public License is included in this distribution in -* the file called "COPYING". -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* * IDT PCIe-switch NTB Linux driver * * Contact Information:
PATCH 4/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can distribute it and or modify it under the terms of the gnu general public license as published by the free software foundation version 2 of the license
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 8 file(s).
--- arch/mips/math-emu/dp_2008class.c | 5 +---- arch/mips/math-emu/dp_fmax.c | 5 +---- arch/mips/math-emu/dp_fmin.c | 5 +---- arch/mips/math-emu/dp_maddf.c | 5 +---- arch/mips/math-emu/sp_2008class.c | 5 +---- arch/mips/math-emu/sp_fmax.c | 5 +---- arch/mips/math-emu/sp_fmin.c | 5 +---- arch/mips/math-emu/sp_maddf.c | 5 +---- 8 files changed, 8 insertions(+), 32 deletions(-)
arch/mips/math-emu/dp_2008class.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * double precision: CLASS.f
@@ -6,10 +7,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754dp.h"
arch/mips/math-emu/dp_fmax.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * double precision: MIN{,A}.f
@@ -10,10 +11,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754dp.h"
arch/mips/math-emu/dp_fmin.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * double precision: MIN{,A}.f
@@ -10,10 +11,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754dp.h"
arch/mips/math-emu/dp_maddf.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * double precision: MADDF.f (Fused Multiply Add)
@@ -6,10 +7,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754dp.h"
arch/mips/math-emu/sp_2008class.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * single precision: CLASS.f
@@ -6,10 +7,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754sp.h"
arch/mips/math-emu/sp_fmax.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * single precision: MAX{,A}.f
@@ -10,10 +11,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754sp.h"
arch/mips/math-emu/sp_fmin.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * single precision: MIN{,A}.f
@@ -10,10 +11,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754sp.h"
arch/mips/math-emu/sp_maddf.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * single precision: MADDF.f (Fused Multiply Add)
@@ -6,10 +7,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754sp.h"
PATCH 5/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 455
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this package is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 and only version 2 as published by the free software foundation
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- drivers/power/supply/max14656_charger_detector.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)
drivers/power/supply/max14656_charger_detector.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Maxim MAX14656 / AL32 USB Charger Detector driver *
@@ -7,11 +8,6 @@* Components from Maxim AL32 Charger detection Driver for MX50 Yoshi Board * Copyright (C) Amazon Technologies Inc. All rights reserved. * Manish Lachwani ([email protected]) -* -* This package is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 and -* only version 2 as published by the Free Software Foundation. -* */ #include <linux/module.h> #include <linux/init.h>
PATCH 6/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 456
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
driver 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 version 2 the [audiowerk2] [alsa] driver 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 the [audiowerk2] [alsa] driver if not write to the free software foundation inc 51 franklin street fifth floor boston ma 02110 1301 usa
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 5 file(s).
--- sound/pci/aw2/aw2-alsa.c | 15 +-------------- sound/pci/aw2/aw2-saa7146.c | 15 +-------------- sound/pci/aw2/aw2-saa7146.h | 15 +-------------- sound/pci/aw2/aw2-tsl.c | 15 +-------------- sound/pci/aw2/saa7146.h | 15 +-------------- 5 files changed, 5 insertions(+), 70 deletions(-)
sound/pci/aw2/aw2-alsa.c +1 -14
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /***************************************************************************** * * Copyright (C) 2008 Cedric Bregardis <[email protected]> and
@@ -5,20 +6,6 @@* * This file is part of the Audiowerk2 ALSA driver * -* The Audiowerk2 ALSA driver 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; version 2. -* -* The Audiowerk2 ALSA driver 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 the Audiowerk2 ALSA driver; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -* USA. -* *****************************************************************************/ #include <linux/init.h> #include <linux/pci.h>
sound/pci/aw2/aw2-saa7146.c +1 -14
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /***************************************************************************** * * Copyright (C) 2008 Cedric Bregardis <[email protected]> and
@@ -5,20 +6,6 @@* * This file is part of the Audiowerk2 ALSA driver * -* The Audiowerk2 ALSA driver 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; version 2. -* -* The Audiowerk2 ALSA driver 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 the Audiowerk2 ALSA driver; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -* USA. -* *****************************************************************************/ #define AW2_SAA7146_M
sound/pci/aw2/aw2-saa7146.h +1 -14
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * Copyright (C) 2008 Cedric Bregardis <[email protected]> and
@@ -5,20 +6,6 @@* * This file is part of the Audiowerk2 ALSA driver * -* The Audiowerk2 ALSA driver 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; version 2. -* -* The Audiowerk2 ALSA driver 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 the Audiowerk2 ALSA driver; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -* USA. -* *****************************************************************************/ #ifndef AW2_SAA7146_H
sound/pci/aw2/aw2-tsl.c +1 -14
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /***************************************************************************** * * Copyright (C) 2008 Cedric Bregardis <[email protected]> and
@@ -7,20 +8,6 @@* * This file is part of the Audiowerk2 ALSA driver * -* The Audiowerk2 ALSA driver 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; version 2. -* -* The Audiowerk2 ALSA driver 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 the Audiowerk2 ALSA driver; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -* USA. -* *****************************************************************************/ #define TSL_WS0 (1UL << 31)
sound/pci/aw2/saa7146.h +1 -14
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * Copyright (C) 2008 Cedric Bregardis <[email protected]> and
@@ -5,20 +6,6 @@* * This file is part of the Audiowerk2 ALSA driver * -* The Audiowerk2 ALSA driver 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; version 2. -* -* The Audiowerk2 ALSA driver 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 the Audiowerk2 ALSA driver; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -* USA. -* *****************************************************************************/ /* SAA7146 registers */
PATCH 7/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 457
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 2 normalized pattern(s):
this file is licensed under gplv2 this file is part of the [aic94xx] driver the [aic94xx] driver 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 version 2 of the license the [aic94xx] driver 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 [aic94xx] driver if not write to the free software foundation inc 51 franklin st fifth floor boston ma 02110 1301 usa
this file is licensed under gplv2 this file is part of the [88se64xx] [88se94xx] driver the [88se64xx] [88se94xx] driver 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 version 2 of the license the [88se64xx] [88se94xx] driver 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 [88se64xx] [88se94xx] driver if not write to the free software foundation inc 51 franklin st fifth floor boston ma 02110 1301 usa
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 2 file(s).
--- drivers/scsi/aic94xx/Kconfig | 20 +------------------- drivers/scsi/mvsas/Kconfig | 20 +------------------- 2 files changed, 2 insertions(+), 38 deletions(-)
drivers/scsi/aic94xx/Kconfig +1 -19
@@ -1,28 +1,10 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Kernel configuration file for aic94xx SAS/SATA driver. # # Copyright (c) 2005 Adaptec, Inc. All rights reserved. # Copyright (c) 2005 Luben Tuikov <[email protected]> # -# This file is licensed under GPLv2. -# -# This file is part of the aic94xx driver. -# -# The aic94xx driver 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; version 2 of the -# License. -# -# The aic94xx driver 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 Aic94xx Driver; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# config SCSI_AIC94XX tristate "Adaptec AIC94xx SAS/SATA support"
drivers/scsi/mvsas/Kconfig +1 -19
@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Kernel configuration file for 88SE64XX/88SE94XX SAS/SATA driver. #
@@ -5,25 +6,6 @@ # Copyright 2008 Marvell. <[email protected]> # Copyright 2009-2011 Marvell. <[email protected]> # -# This file is licensed under GPLv2. -# -# This file is part of the 88SE64XX/88SE94XX driver. -# -# The 88SE64XX/88SE94XX driver 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; version 2 of the -# License. -# -# The 88SE64XX/88SE94XX driver 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 88SE64XX/88SE94XX Driver; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# config SCSI_MVSAS tristate "Marvell 88SE64XX/88SE94XX SAS/SATA support"
PATCH 9/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 460
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 http www opensource org licenses gpl license html http www gnu org copyleft gpl html
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 3 file(s).
--- drivers/clk/imx/clk-cpu.c | 8 +------- drivers/nvmem/imx-iim.c | 8 +------- drivers/nvmem/imx-ocotp.c | 8 +------- 3 files changed, 3 insertions(+), 21 deletions(-)
drivers/clk/imx/clk-cpu.c +1 -7
@@ -1,12 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2014 Lucas Stach <[email protected]>, Pengutronix -* -* 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. -* -* http://www.opensource.org/licenses/gpl-license.html -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/clk.h>
drivers/nvmem/imx-iim.c +1 -7
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * i.MX IIM driver *
@@ -6,13 +7,6 @@* Based on the barebox iim driver, * Copyright (c) 2010 Baruch Siach <[email protected]>, * Orex Computed Radiography -* -* 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. -* -* http://www.opensource.org/licenses/gpl-license.html -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/device.h>
drivers/nvmem/imx-ocotp.c +1 -7
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * i.MX6 OCOTP fusebox driver *
@@ -9,13 +10,6 @@* * Write support based on the fsl_otp driver, * Copyright (C) 2010-2013 Freescale Semiconductor, Inc -* -* 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. -* -* http://www.opensource.org/licenses/gpl-license.html -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/clk.h>
PATCH 10/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 only 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 to obtain the license point your browser to http www gnu org copyleft gpl html
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 12 file(s).
--- drivers/media/dvb-frontends/drxd.h | 14 +------------- drivers/media/dvb-frontends/drxd_firm.c | 14 +------------- drivers/media/dvb-frontends/drxd_firm.h | 14 +------------- drivers/media/dvb-frontends/drxd_hard.c | 14 +------------- drivers/media/dvb-frontends/drxd_map_firm.h | 14 +------------- drivers/media/dvb-frontends/drxk_hard.c | 14 +------------- drivers/media/dvb-frontends/tda18271c2dd.c | 15 +-------------- drivers/media/pci/ngene/ngene-cards.c | 15 +-------------- drivers/media/pci/ngene/ngene-core.c | 15 +-------------- drivers/media/pci/ngene/ngene-dvb.c | 15 +-------------- drivers/media/pci/ngene/ngene-i2c.c | 15 +-------------- drivers/media/pci/ngene/ngene.h | 14 +------------- 12 files changed, 12 insertions(+), 161 deletions(-)
drivers/media/dvb-frontends/drxd.h +1 -13
@@ -1,20 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * drxd.h: DRXD DVB-T demodulator driver * * Copyright (C) 2005-2007 Micronas -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #ifndef _DRXD_H_
drivers/media/dvb-frontends/drxd_firm.c +1 -13
@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * drxd_firm.c : DRXD firmware tables * * Copyright (C) 2006-2007 Micronas -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ /* TODO: generate this file with a script from a settings file */
drivers/media/dvb-frontends/drxd_firm.h +1 -13
@@ -1,20 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * drxd_firm.h * * Copyright (C) 2006-2007 Micronas -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #ifndef _DRXD_FIRM_H_
drivers/media/dvb-frontends/drxd_hard.c +1 -13
@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * drxd_hard.c: DVB-T Demodulator Micronas DRX3975D-A2,DRX397xD-B1 * * Copyright (C) 2003-2007 Micronas -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/kernel.h>
drivers/media/dvb-frontends/drxd_map_firm.h +1 -13
@@ -1,20 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * drx3973d_map_firm.h * * Copyright (C) 2006-2007 Micronas -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #ifndef __DRX3973D_MAP__H__
drivers/media/dvb-frontends/drxk_hard.c +1 -13
@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * drxk_hard: DRX-K DVB-C/T demodulator driver * * Copyright (C) 2010-2011 Digital Devices GmbH -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
drivers/media/dvb-frontends/tda18271c2dd.c +1 -14
@@ -1,21 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * tda18271c2dd: Driver for the TDA18271C2 tuner * * Copyright (C) 2010 Digital Devices GmbH -* -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/kernel.h>
drivers/media/pci/ngene/ngene-cards.c +1 -14
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ngene-cards.c: nGene PCIe bridge driver - card specific info *
@@ -7,20 +8,6 @@* Modifications for new nGene firmware, * support for EEPROM-copying, * support for new dual DVB-S2 card prototype -* -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
drivers/media/pci/ngene/ngene-core.c +1 -14
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ngene.c: nGene PCIe bridge driver *
@@ -7,20 +8,6 @@* Modifications for new nGene firmware, * support for EEPROM-copying, * support for new dual DVB-S2 card prototype -* -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/module.h>
drivers/media/pci/ngene/ngene-dvb.c +1 -14
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ngene-dvb.c: nGene PCIe bridge driver - DVB functions *
@@ -7,20 +8,6 @@* Modifications for new nGene firmware, * support for EEPROM-copying, * support for new dual DVB-S2 card prototype -* -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/module.h>
drivers/media/pci/ngene/ngene-i2c.c +1 -14
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ngene-i2c.c: nGene PCIe bridge driver i2c functions *
@@ -7,20 +8,6 @@* Modifications for new nGene firmware, * support for EEPROM-copying, * support for new dual DVB-S2 card prototype -* -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ /* FIXME - some of these can probably be removed */
drivers/media/pci/ngene/ngene.h +1 -13
@@ -1,20 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * ngene.h: nGene PCIe bridge driver * * Copyright (C) 2005-2007 Micronas -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #ifndef _NGENE_H_
PATCH 11/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 462
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
license 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 1 file(s).
--- drivers/i2c/busses/i2c-pxa-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/i2c-pxa-pci.c +1 -1
@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * CE4100 PCI-I2C glue code for PXA's driver * Author: Sebastian Andrzej Siewior <[email protected]> -* License: GPL v2 * * The CE4100's I2C device is more or less the same one as found on PXA. * It does not support slave mode, the register slightly moved. This PCI
PATCH 8/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 459
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 the gpl 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 version 2 gplv2 for more details you should have received a copy of the gnu general public license version 2 gplv2 along with this source code
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 16 file(s).
--- drivers/acpi/pci_mcfg.c | 13 +------------ drivers/clk/bcm/clk-sr.c | 13 +------------ drivers/crypto/bcm/cipher.c | 13 +------------ drivers/crypto/bcm/cipher.h | 13 +------------ drivers/crypto/bcm/spu.c | 13 +------------ drivers/crypto/bcm/spu.h | 13 +------------ drivers/crypto/bcm/spu2.c | 13 +------------ drivers/crypto/bcm/spu2.h | 13 +------------ drivers/crypto/bcm/spum.h | 13 +------------ drivers/crypto/bcm/util.c | 13 +------------ drivers/crypto/bcm/util.h | 13 +------------ drivers/iio/adc/bcm_iproc_adc.c | 13 +------------ drivers/mailbox/bcm-pdc-mailbox.c | 13 +------------ drivers/spi/spi-bcm-qspi.c | 13 +------------ drivers/spi/spi-bcm-qspi.h | 13 +------------ drivers/spi/spi-brcmstb-qspi.c | 13 +------------ 16 files changed, 16 insertions(+), 192 deletions(-)
drivers/acpi/pci_mcfg.c +1 -12
@@ -1,20 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Broadcom * Author: Jayachandran C <[email protected]> * Copyright (C) 2016 Semihalf * Author: Tomasz Nowicki <[email protected]> -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #define pr_fmt (fmt) "ACPI: " fmt
drivers/clk/bcm/clk-sr.c +1 -12
@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2017 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/err.h>
drivers/crypto/bcm/cipher.c +1 -12
@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/err.h>
drivers/crypto/bcm/cipher.h +1 -12
@@ -1,17 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #ifndef _CIPHER_H
drivers/crypto/bcm/spu.c +1 -12
@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/kernel.h>
drivers/crypto/bcm/spu.h +1 -12
@@ -1,17 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ /*
drivers/crypto/bcm/spu2.c +1 -12
@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ /*
drivers/crypto/bcm/spu2.h +1 -12
@@ -1,17 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ /*
drivers/crypto/bcm/spum.h +1 -12
@@ -1,17 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ /*
drivers/crypto/bcm/util.c +1 -12
@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/debugfs.h>
drivers/crypto/bcm/util.h +1 -12
@@ -1,17 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #ifndef _UTIL_H
drivers/iio/adc/bcm_iproc_adc.c +1 -12
@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/module.h>
drivers/mailbox/bcm-pdc-mailbox.c +1 -12
@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ /*
drivers/spi/spi-bcm-qspi.c +1 -12
@@ -1,19 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Driver for Broadcom BRCMSTB, NSP, NS2, Cygnus SPI Controllers * * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/clk.h>
drivers/spi/spi-bcm-qspi.h +1 -12
@@ -1,17 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #ifndef __SPI_BCM_QSPI_H__
drivers/spi/spi-brcmstb-qspi.c +1 -12
@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/device.h>
PATCH 12/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 463
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license 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 if not see http www gnu org licenses the full gnu general public license is included in this distribution in the file called copying
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
--- drivers/irqchip/irq-meson-gpio.c | 15 +-------------- drivers/mmc/host/meson-gx-mmc.c | 15 +-------------- sound/soc/codecs/es7134.c | 15 +-------------- sound/soc/codecs/simple-amplifier.c | 15 +-------------- 4 files changed, 4 insertions(+), 56 deletions(-)
drivers/irqchip/irq-meson-gpio.c +1 -14
@@ -1,22 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2015 Endless Mobile, Inc. * Author: Carlo Caione <[email protected]> * Copyright (c) 2016 BayLibre, SAS. * Author: Jerome Brunet <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License 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; if not, see <http://www.gnu.org/licenses/>. -* The full GNU General Public License is included in this distribution -* in the file called COPYING. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
drivers/mmc/host/meson-gx-mmc.c +1 -14
@@ -1,22 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Amlogic SD/eMMC driver for the GX/S905 family SoCs * * Copyright (c) 2016 BayLibre, SAS. * Author: Kevin Hilman <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License 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; if not, see <http://www.gnu.org/licenses/>. -* The full GNU General Public License is included in this distribution -* in the file called COPYING. */ #include <linux/kernel.h> #include <linux/module.h>
sound/soc/codecs/es7134.c +1 -14
@@ -1,20 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017 BayLibre, SAS. * Author: Jerome Brunet <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License 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; if not, see <http://www.gnu.org/licenses/>. -* The full GNU General Public License is included in this distribution -* in the file called COPYING. */ #include <linux/of_platform.h>
sound/soc/codecs/simple-amplifier.c +1 -14
@@ -1,20 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017 BayLibre, SAS. * Author: Jerome Brunet <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License 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; if not, see <http://www.gnu.org/licenses/>. -* The full GNU General Public License is included in this distribution -* in the file called COPYING. */ #include <linux/gpio/consumer.h>
PATCH 13/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 464
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
license terms gnu general public license version 2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 11 file(s).
--- drivers/gpio/gpio-stmpe.c | 2 +- drivers/gpio/gpio-tc3589x.c | 2 +- drivers/input/keyboard/stmpe-keypad.c | 2 +- drivers/input/keyboard/tc3589x-keypad.c | 3 +-- drivers/mfd/stmpe-i2c.c | 2 +- drivers/mfd/stmpe-spi.c | 2 +- drivers/mfd/stmpe.c | 2 +- drivers/mfd/stmpe.h | 2 +- drivers/mfd/tc3589x.c | 2 +- include/linux/mfd/stmpe.h | 2 +- include/linux/mfd/tc3589x.h | 3 +-- 11 files changed, 11 insertions(+), 13 deletions(-)
drivers/gpio/gpio-stmpe.c +1 -1
@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Rabin Vincent <[email protected]> for ST-Ericsson */
drivers/gpio/gpio-tc3589x.c +1 -1
@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Hanumath Prasad <[email protected]> for ST-Ericsson * Author: Rabin Vincent <[email protected]> for ST-Ericsson */
drivers/input/keyboard/stmpe-keypad.c +1 -1
@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Rabin Vincent <[email protected]> for ST-Ericsson */
drivers/input/keyboard/tc3589x-keypad.c +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) ST-Ericsson SA 2010 * * Author: Jayeeta Banerjee <[email protected]> * Author: Sundar Iyer <[email protected]> * -* License Terms: GNU General Public License, version 2 -* * TC35893 MFD Keypad Controller driver */
drivers/mfd/stmpe-i2c.c +1 -1
@@ -1,10 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ST Microelectronics MFD: stmpe's i2c client specific driver * * Copyright (C) ST-Ericsson SA 2010 * Copyright (C) ST Microelectronics SA 2011 * -* License Terms: GNU General Public License, version 2 * Author: Rabin Vincent <[email protected]> for ST-Ericsson * Author: Viresh Kumar <[email protected]> for ST Microelectronics */
drivers/mfd/stmpe-spi.c +1 -1
@@ -1,9 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ST Microelectronics MFD: stmpe's spi client specific driver * * Copyright (C) ST Microelectronics SA 2011 * -* License Terms: GNU General Public License, version 2 * Author: Viresh Kumar <[email protected]> for ST Microelectronics */
drivers/mfd/stmpe.c +1 -1
@@ -1,9 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ST Microelectronics MFD: stmpe's driver * * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Rabin Vincent <[email protected]> for ST-Ericsson */
drivers/mfd/stmpe.h +1 -1
@@ -1,7 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Rabin Vincent <[email protected]> for ST-Ericsson */
drivers/mfd/tc3589x.c +1 -1
@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Hanumath Prasad <[email protected]> for ST-Ericsson * Author: Rabin Vincent <[email protected]> for ST-Ericsson */
include/linux/mfd/stmpe.h +1 -1
@@ -1,7 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Rabin Vincent <[email protected]> for ST-Ericsson */
include/linux/mfd/tc3589x.h +1 -2
@@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) ST-Ericsson SA 2010 -* -* License Terms: GNU General Public License, version 2 */ #ifndef __LINUX_MFD_TC3589x_H
PATCH 14/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 465
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
released under the gpl version 2 only
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
--- samples/kfifo/bytestream-example.c | 4 +--- samples/kfifo/dma-example.c | 4 +--- samples/kfifo/inttype-example.c | 4 +--- samples/kfifo/record-example.c | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-)
samples/kfifo/bytestream-example.c +1 -3
@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Sample kfifo byte stream implementation * * Copyright (C) 2010 Stefani Seibold <[email protected]> -* -* Released under the GPL version 2 only. -* */ #include <linux/init.h>
samples/kfifo/dma-example.c +1 -3
@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Sample fifo dma implementation * * Copyright (C) 2010 Stefani Seibold <[email protected]> -* -* Released under the GPL version 2 only. -* */ #include <linux/init.h>
samples/kfifo/inttype-example.c +1 -3
@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Sample kfifo int type implementation * * Copyright (C) 2010 Stefani Seibold <[email protected]> -* -* Released under the GPL version 2 only. -* */ #include <linux/init.h>
samples/kfifo/record-example.c +1 -3
@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Sample dynamic sized record fifo implementation * * Copyright (C) 2010 Stefani Seibold <[email protected]> -* -* Released under the GPL version 2 only. -* */ #include <linux/init.h>
PATCH 15/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 466
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
license__ = gpl version 2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py | 1 + 1 file changed, 1 insertion(+)
tools/power/x86/intel_pstate_tracer/intel_pstate_tracer.py +1 -0
@@ -1,4 +1,5 @@ #!/usr/bin/python +# SPDX-License-Identifier: GPL-2.0-only # -*- coding: utf-8 -*- # """ This utility can be used to debug and tune the performance of the
PATCH 16/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 467
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
licensed under version 2 of the gnu general public licence
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- drivers/mtd/maps/vmu-flash.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-)
drivers/mtd/maps/vmu-flash.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* vmu-flash.c * Driver for SEGA Dreamcast Visual Memory Unit * * Copyright (c) Adrian McMenamin 2002 - 2009 * Copyright (c) Paul Mundt 2001 -* -* Licensed under version 2 of the -* GNU General Public Licence */ #include <linux/init.h> #include <linux/slab.h>
PATCH 17/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 468
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
based on gpl code from [dibcom] which has [copyright] [c] [2004] [amaury] [demol] [for] [dibcom] 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 version 2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
--- drivers/media/dvb-frontends/dib3000.h | 6 +----- drivers/media/dvb-frontends/dib3000mb.c | 6 +----- drivers/media/usb/dvb-usb/dibusb-mb.c | 5 +---- drivers/media/usb/dvb-usb/dibusb-mc.c | 5 +---- 4 files changed, 4 insertions(+), 18 deletions(-)
drivers/media/dvb-frontends/dib3000.h +1 -5
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * public header file of the frontend drivers for mobile DVB-T demodulators * DiBcom 3000M-B and DiBcom 3000P/M-C (http://www.dibcom.fr/)
@@ -8,17 +9,12 @@* * Copyright (C) 2004 Amaury Demol for DiBcom * -* 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, version 2. -* * Acknowledgements * * Amaury Demol from DiBcom for providing specs and driver * sources, on which this driver (and the dvb-dibusb) are based. * * see Documentation/media/dvb-drivers/dvb-usb.rst for more information -* */ #ifndef DIB3000_H
drivers/media/dvb-frontends/dib3000mb.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Frontend driver for mobile DVB-T demodulator DiBcom 3000M-B * DiBcom (http://www.dibcom.fr/)
@@ -8,17 +9,12 @@* * Copyright (C) 2004 Amaury Demol for DiBcom * -* 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, version 2. -* * Acknowledgements * * Amaury Demol from DiBcom for providing specs and driver * sources, on which this driver (and the dvb-dibusb) are based. * * see Documentation/media/dvb-drivers/dvb-usb.rst for more information -* */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
drivers/media/usb/dvb-usb/dibusb-mb.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* DVB USB compliant linux driver for mobile DVB-T USB devices based on * reference designs made by DiBcom (http://www.dibcom.fr/) (DiB3000M-B) *
@@ -6,10 +7,6 @@* based on GPL code from DiBcom, which has * Copyright (C) 2004 Amaury Demol for DiBcom * -* 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, version 2. -* * see Documentation/media/dvb-drivers/dvb-usb.rst for more information */ #include "dibusb.h"
drivers/media/usb/dvb-usb/dibusb-mc.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* DVB USB compliant linux driver for mobile DVB-T USB devices based on * reference designs made by DiBcom (http://www.dibcom.fr/) (DiB3000M-C/P) *
@@ -6,10 +7,6 @@* based on GPL code from DiBcom, which has * Copyright (C) 2004 Amaury Demol for DiBcom * -* 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, version 2. -* * see Documentation/media/dvb-drivers/dvb-usb.rst for more information */ #include "dibusb.h"
PATCH 18/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 469
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 mergchantability or fitness for a particular purpose see the gnu general public license for more details
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 2 file(s).
--- drivers/fsi/fsi-scom.c | 10 +--------- include/linux/fsi-sbefifo.h | 10 +--------- 2 files changed, 2 insertions(+), 18 deletions(-)
drivers/fsi/fsi-scom.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * SCOM FSI Client device driver * * Copyright (C) IBM Corporation 2016 -* -* 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 -* MERGCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #include <linux/fsi.h>
include/linux/fsi-sbefifo.h +1 -9
@@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * SBEFIFO FSI Client device driver * * Copyright (C) IBM Corporation 2017 -* -* 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 -* MERGCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -* GNU General Public License for more details. */ #ifndef LINUX_FSI_SBEFIFO_H
PATCH 20/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 471
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
released under the gplv2 only spdx license identifier gpl 2 0
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 3 file(s).
--- drivers/memory/brcmstb_dpfe.c | 4 +--- drivers/scsi/ufs/ufs-hisi.c | 4 +--- drivers/scsi/ufs/ufs-hisi.h | 4 +--- 3 files changed, 3 insertions(+), 9 deletions(-)
drivers/memory/brcmstb_dpfe.c +1 -3
@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * DDR PHY Front End (DPFE) driver for Broadcom set top box SoCs * * Copyright (c) 2017 Broadcom -* -* Released under the GPLv2 only. -* SPDX-License-Identifier: GPL-2.0 */ /*
drivers/scsi/ufs/ufs-hisi.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * HiSilicon Hixxxx UFS Driver * * Copyright (c) 2016-2017 Linaro Ltd. * Copyright (c) 2016-2017 HiSilicon Technologies Co., Ltd. -* -* Released under the GPLv2 only. -* SPDX-License-Identifier: GPL-2.0 */ #include <linux/time.h>
drivers/scsi/ufs/ufs-hisi.h +1 -3
@@ -1,8 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2017, HiSilicon. All rights reserved. -* -* Released under the GPLv2 only. -* SPDX-License-Identifier: GPL-2.0 */ #ifndef UFS_HISI_H_
PATCH 21/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 472
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
released under the terms of the 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 5 file(s).
--- tools/testing/selftests/ftrace/ftracetest | 2 +- tools/testing/selftests/pstore/common_tests | 2 +- tools/testing/selftests/pstore/pstore_crash_test | 2 +- tools/testing/selftests/pstore/pstore_post_reboot_tests | 2 +- tools/testing/selftests/pstore/pstore_tests | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-)
tools/testing/selftests/ftrace/ftracetest +1 -1
@@ -1,11 +1,11 @@ #!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only # ftracetest - Ftrace test shell scripts # # Copyright (C) Hitachi Ltd., 2014 # Written by Masami Hiramatsu <[email protected]> # -# Released under the terms of the GPL v2. usage() { # errno [message] [ ! -z "$2" ] && echo $2
tools/testing/selftests/pstore/common_tests +1 -1
@@ -1,11 +1,11 @@ #!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only # common_tests - Shell script commonly used by pstore test scripts # # Copyright (C) Hitachi Ltd., 2015 # Written by Hiraku Toyooka <[email protected]> # -# Released under the terms of the GPL v2. # Utilities errexit() { # message
tools/testing/selftests/pstore/pstore_crash_test +1 -1
@@ -1,11 +1,11 @@ #!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only # pstore_crash_test - Pstore test shell script which causes crash and reboot # # Copyright (C) Hitachi Ltd., 2015 # Written by Hiraku Toyooka <[email protected]> # -# Released under the terms of the GPL v2. # exit if pstore backend is not registered . ./common_tests
tools/testing/selftests/pstore/pstore_post_reboot_tests +1 -1
@@ -1,11 +1,11 @@ #!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only # pstore_post_reboot_tests - Check pstore's behavior after crash/reboot # # Copyright (C) Hitachi Ltd., 2015 # Written by Hiraku Toyooka <[email protected]> # -# Released under the terms of the GPL v2. # Kselftest framework requirement - SKIP code is 4. ksft_skip=4
tools/testing/selftests/pstore/pstore_tests +1 -1
@@ -1,11 +1,11 @@ #!/bin/sh +# SPDX-License-Identifier: GPL-2.0-only # pstore_tests - Check pstore's behavior before crash/reboot # # Copyright (C) Hitachi Ltd., 2015 # Written by Hiraku Toyooka <[email protected]> # -# Released under the terms of the GPL v2. . ./common_tests
PATCH 22/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 473
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is subject to the terms and conditions of the gnu general public license v2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- scripts/dtc/dt_to_config | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
scripts/dtc/dt_to_config +1 -2
@@ -1,10 +1,9 @@ #!/usr/bin/env perl +# SPDX-License-Identifier: GPL-2.0-only # Copyright 2016 by Frank Rowand # Copyright 2016 by Gaurav Minocha # -# This file is subject to the terms and conditions of the GNU General Public -# License v2. use strict 'refs'; use strict subs;
PATCH 23/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 474
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
subject to the gnu public license v 2 no warranty of any kind
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 2 file(s).
--- arch/x86/entry/thunk_32.S | 2 +- arch/x86/entry/thunk_64.S | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
arch/x86/entry/thunk_32.S +1 -1
@@ -1,8 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Trampoline to trace irqs off. (otherwise CALLER_ADDR1 might crash) * Copyright 2008 by Steven Rostedt, Red Hat, Inc * (inspired by Andi Kleen's thunk_64.S) - * Subject to the GNU public license, v.2. No warranty of any kind. */ #include <linux/linkage.h> #include <asm/asm.h>
arch/x86/entry/thunk_64.S +1 -1
@@ -1,9 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Save registers before calling assembly functions. This avoids * disturbance of register allocation in some inline assembly constructs. * Copyright 2001,2002 by Andi Kleen, SuSE Labs. * Added trace_hardirqs callers - Copyright 2007 Steven Rostedt, Red Hat, Inc. - * Subject to the GNU public license, v.2. No warranty of any kind. */ #include <linux/linkage.h> #include "calling.h"
PATCH 24/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 475
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 foudation
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- drivers/input/touchscreen/hideep.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/input/touchscreen/hideep.c +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012-2017 Hideep, Inc. -* -* 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 Foudation. */ #include <linux/module.h>
PATCH 19/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 470
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is licensed under the terms of the gnu general public license version 2 this program is licensed as is without any warranty of any kind whether express or implied
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 586 file(s).
--- arch/arm/boot/dts/am33xx.dtsi | 5 +---- arch/arm/boot/dts/am3517.dtsi | 5 +---- arch/arm/boot/dts/am4372.dtsi | 5 +---- arch/arm/boot/dts/artpec6-devboard.dts | 5 +---- arch/arm/boot/dts/dm814x.dtsi | 4 +--- arch/arm/boot/dts/dm816x.dtsi | 4 +--- arch/arm/boot/dts/dra62x.dtsi | 4 +---
<SNIP>
arch/powerpc/sysdev/ehv_pic.c | 5 +---- arch/powerpc/sysdev/ge/ge_pic.c | 5 +---- arch/powerpc/sysdev/rtc_cmos_setup.c | 6 ++---- arch/powerpc/sysdev/xilinx_intc.c | 6 +----- arch/powerpc/sysdev/xilinx_pci.c | 5 +---- drivers/ata/ahci_mvebu.c | 5 +---- drivers/ata/pata_arasan_cf.c | 5 +---- drivers/ata/pata_mpc52xx.c | 5 +---- drivers/bus/imx-weim.c | 5 +----
<SNIP>
drivers/watchdog/omap_wdt.c | 6 ++---- drivers/watchdog/orion_wdt.c | 5 +---- drivers/watchdog/pnx4008_wdt.c | 5 +---- drivers/watchdog/sbc_fitpc2_wdt.c | 5 +---- drivers/watchdog/ts4800_wdt.c | 5 +---- drivers/watchdog/ts72xx_wdt.c | 5 +---- include/dt-bindings/leds/leds-netxbig.h | 5 +---- include/dt-bindings/leds/leds-pca9532.h | 5 +---- include/dt-bindings/leds/leds-pca955x.h | 5 +---- include/linux/amba/sp810.h | 5 +---- include/linux/davinci_emac.h | 6 ++---- include/linux/dmapool.h | 5 +---- include/linux/edac.h | 7 ++----- include/linux/fs_enet_pd.h | 5 +---- include/linux/fs_uart_pd.h | 5 +---- include/linux/fsl/bestcomm/ata.h | 6 +----- include/linux/fsl/bestcomm/bestcomm.h | 6 +----- include/linux/fsl/bestcomm/bestcomm_priv.h | 5 +---- include/linux/fsl/bestcomm/fec.h | 6 +----- include/linux/fsl/bestcomm/sram.h | 6 +----- include/linux/irqchip.h | 5 +---- include/linux/kgdb.h | 4 +--- include/linux/mbus.h | 5 +---- include/linux/mtd/latch-addr-flash.h | 5 +---- include/linux/mtd/spear_smi.h | 5 +---- include/linux/mvebu-pmsu.h | 5 +---- include/linux/pata_arasan_cf_data.h | 5 +---- include/linux/platform_data/i2c-davinci.h | 6 ++---- include/linux/platform_data/keyboard-spear.h | 5 +---- include/linux/platform_data/leds-kirkwood-netxbig.h | 5 +---- include/linux/platform_data/leds-kirkwood-ns2.h | 5 +---- include/linux/platform_data/media/si4713.h | 6 +----- include/linux/platform_data/mtd-davinci-aemif.h | 5 +---- include/linux/platform_data/mtd-orion_nand.h | 6 +----- include/linux/platform_data/usb-davinci.h | 5 +---- include/linux/platform_data/usb-ehci-orion.h | 6 +----- include/linux/soc/sunxi/sunxi_sram.h | 5 +---- include/linux/sunxi-rsb.h | 5 +---- include/linux/ts-nbus.h | 5 +---- include/video/da8xx-fb.h | 5 +---- kernel/debug/debug_core.c | 5 +---- kernel/debug/debug_core.h | 5 +---- kernel/debug/gdbstub.c | 5 +---- kernel/debug/kdb/kdb_debugger.c | 5 +---- samples/kdb/kdb_hello.c | 5 +---- sound/soc/codecs/cs4270.c | 4 +--- sound/soc/codecs/cs42xx8-i2c.c | 5 +---- sound/soc/codecs/cs42xx8.c | 5 +---- sound/soc/codecs/cs42xx8.h | 5 +---- sound/soc/codecs/sta529.c | 5 +---- sound/soc/dwc/dwc-i2s.c | 5 +---- sound/soc/dwc/dwc-pcm.c | 5 +---- sound/soc/dwc/local.h | 5 +---- sound/soc/fsl/efika-audio-fabric.c | 5 +---- sound/soc/spear/spdif_in.c | 5 +---- sound/soc/spear/spdif_out.c | 5 +---- sound/soc/spear/spear_pcm.c | 5 +---- 586 files changed, 646 insertions(+), 2380 deletions(-)
arch/arm/boot/dts/am33xx.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for AM33XX SoC * * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/bus/ti-sysc.h>
arch/arm/boot/dts/am3517.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for am3517 SoC * * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include "omap3.dtsi"
arch/arm/boot/dts/am4372.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for AM4372 SoC * * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/bus/ti-sysc.h>
arch/arm/boot/dts/artpec6-devboard.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Axis ARTPEC-6 development board. - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm/boot/dts/dm814x.dtsi +1 -5
@@ -1,8 +1,4 @@ -/* - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ +// SPDX-License-Identifier: GPL-2.0-only #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/pinctrl/dm814x.h>
arch/arm/boot/dts/dm816x.dtsi +1 -5
@@ -1,8 +1,4 @@ -/* - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ +// SPDX-License-Identifier: GPL-2.0-only #include <dt-bindings/gpio/gpio.h> #include <dt-bindings/pinctrl/omap.h>
arch/arm/boot/dts/dra62x.dtsi +1 -5
@@ -1,8 +1,4 @@ -/* - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. - */ +// SPDX-License-Identifier: GPL-2.0-only #include "dm814x.dtsi"
arch/arm/boot/dts/dra7-dspeve-thermal.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for DRA7x SoC DSPEVE thermal * * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/thermal/thermal.h>
arch/arm/boot/dts/dra7-iva-thermal.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for DRA7x SoC IVA thermal * * Copyright (C) 2016 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/thermal/thermal.h>
arch/arm/boot/dts/imx6q-gk802.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Philipp Zabel - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ /dts-v1/;
arch/arm/boot/dts/omap2.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for OMAP2 SoC * * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/gpio/gpio.h>
arch/arm/boot/dts/omap2420.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for OMAP2420 SoC * * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include "omap2.dtsi"
arch/arm/boot/dts/omap2430.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for OMAP243x SoC * * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include "omap2.dtsi"
arch/arm/boot/dts/omap3-cpu-thermal.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for OMAP3 SoC CPU thermal * * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/thermal/thermal.h>
arch/arm/boot/dts/omap3.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for OMAP3 SoC * * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/gpio/gpio.h>
arch/arm/boot/dts/omap34xx.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for OMAP34xx/OMAP35xx SoC * * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/bus/ti-sysc.h>
arch/arm/boot/dts/omap36xx.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for OMAP3 SoC * * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/bus/ti-sysc.h>
arch/arm/boot/dts/omap4-cpu-thermal.dtsi +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for OMAP4/5 SoC CPU thermal * * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ * Contact: Eduardo Valentin <[email protected]> - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/thermal/thermal.h>
arch/arm/boot/dts/omap443x.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for OMAP443x SoC * * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include "omap4.dtsi"
arch/arm/boot/dts/omap4460.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for OMAP4460 SoC * * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include "omap4.dtsi"
arch/arm/boot/dts/omap5-core-thermal.dtsi +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for OMAP543x SoC CORE thermal * * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ * Contact: Eduardo Valentin <[email protected]> - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/thermal/thermal.h>
arch/arm/boot/dts/omap5-gpu-thermal.dtsi +1 -4
@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Device Tree Source for OMAP543x SoC GPU thermal * * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/ * Contact: Eduardo Valentin <[email protected]> - * - * This file is licensed under the terms of the GNU General Public License - * version 2. This program is licensed "as is" without any warranty of any - * kind, whether express or implied. */ #include <dt-bindings/thermal/thermal.h>
arch/arm/boot/dts/orion5x-lacie-d2-network.dts +1 -4
@@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014 Thomas Petazzoni <[email protected]> * Copyright (C) 2009 Simon Guinot <[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. */ /dts-v1/;
arch/arm/boot/dts/orion5x-lacie-ethernet-disk-mini-v2.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Thomas Petazzoni <[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. */ /*
arch/arm/boot/dts/orion5x-maxtor-shared-storage-2.dts +1 -4
@@ -1,10 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014 Thomas Petazzoni <[email protected]> * Copyright (C) Sylver Bruneau <[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. */ /dts-v1/;
arch/arm/boot/dts/orion5x-mv88f5181.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Jamie Lentin <[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. */ #include "orion5x.dtsi"
arch/arm/boot/dts/orion5x-mv88f5182.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014 Thomas Petazzoni <[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. */ #include "orion5x.dtsi"
arch/arm/boot/dts/orion5x-netgear-wnr854t.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Jamie Lentin <[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. */ /dts-v1/;
arch/arm/boot/dts/orion5x-rd88f5182-nas.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014 Thomas Petazzoni <[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. */ /dts-v1/;
arch/arm/boot/dts/orion5x.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Thomas Petazzoni <[email protected]> - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. */ #define MBUS_ID(target,attributes) (((target) << 24) | ((attributes) << 16))
arch/arm/include/asm/hardware/cache-feroceon-l2.h +1 -4
@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/hardware/cache-feroceon-l2.h * * Copyright (C) 2008 Marvell Semiconductor -* -* This file is licensed under the terms of the GNU General Public -* License version 2. This program is licensed "as is" without any -* warranty of any kind, whether express or implied. */ extern void __init feroceon_l2_init (int l2_wt_override);
arch/arm/include/asm/hardware/cache-tauros2.h +1 -4
@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/hardware/cache-tauros2.h * * Copyright (C) 2008 Marvell Semiconductor -* -* This file is licensed under the terms of the GNU General Public -* License version 2. This program is licensed "as is" without any -* warranty of any kind, whether express or implied. */ #define CACHE_TAUROS2_PREFETCH_ON (1 << 0)
arch/arm/include/asm/hardware/entry-macro-iomd.S +1 -4
@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * arch/arm/include/asm/hardware/entry-macro-iomd.S * * Low-level IRQ helper macros for IOC/IOMD based platforms - * - * This file is licensed under the terms of the GNU General Public - * License version 2. This program is licensed "as is" without any - * warranty of any kind, whether express or implied. */ /* IOC / IOMD based hardware */
arch/arm/mach-davinci/board-da830-evm.c +2 -4
@@ -1,13 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * TI DA830/OMAP L137 EVM board * * Author: Mark A. Greer <[email protected]> * Derived from: arch/arm/mach-davinci/board-dm644x-evm.c * -* 2007, 2009 (c) MontaVista Software, Inc. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2007, 2009 (c) MontaVista Software, Inc. */ #include <linux/kernel.h> #include <linux/init.h>
arch/arm/mach-davinci/board-da850-evm.c +2 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * TI DA850/OMAP-L138 EVM board *
@@ -6,10 +7,7 @@* Derived from: arch/arm/mach-davinci/board-da830-evm.c * Original Copyrights follow: * -* 2007, 2009 (c) MontaVista Software, Inc. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2007, 2009 (c) MontaVista Software, Inc. */ #include <linux/console.h> #include <linux/delay.h>
arch/arm/mach-davinci/board-dm355-evm.c +2 -4
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * TI DaVinci EVM board support * * Author: Kevin Hilman, Deep Root Systems, LLC * -* 2007 (c) MontaVista Software, Inc. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2007 (c) MontaVista Software, Inc. */ #include <linux/kernel.h> #include <linux/init.h>
arch/arm/mach-davinci/board-dm355-leopard.c +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * DM355 leopard board support * * Based on board-dm355-evm.c -* -* This file is licensed under the terms of the GNU General Public -* License version 2. This program is licensed "as is" without any -* warranty of any kind, whether express or implied. */ #include <linux/kernel.h> #include <linux/init.h>
arch/arm/mach-davinci/board-dm644x-evm.c +2 -4
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * TI DaVinci EVM board support * * Author: Kevin Hilman, MontaVista Software, Inc. <[email protected]> * -* 2007 (c) MontaVista Software, Inc. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2007 (c) MontaVista Software, Inc. */ #include <linux/kernel.h> #include <linux/init.h>
arch/arm/mach-davinci/board-dm646x-evm.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * TI DaVinci DM646X EVM board *
@@ -5,11 +6,6 @@* Copyright (C) 2006 Texas Instruments. * * (C) 2007-2008, MontaVista Software, Inc. -* -* This file is licensed under the terms of the GNU General Public License -* version 2. This program is licensed "as is" without any warranty of any -* kind, whether express or implied. -* */ /**************************************************************************
arch/arm/mach-davinci/board-mityomapl138.c +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Critical Link MityOMAP-L138 SoM * * Copyright (C) 2010 Critical Link LLC - http://www.criticallink.com -* -* This file is licensed under the terms of the GNU General Public License -* version 2. This program is licensed "as is" without any warranty of -* any kind, whether express or implied. */ #define pr_fmt (fmt) "MityOMAPL138: " fmt
arch/arm/mach-davinci/board-neuros-osd2.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Neuros Technologies OSD2 board support *
@@ -18,10 +19,6 @@* * For more information please refer to * http://wiki.neurostechnology.com/index.php/OSD_2.0_HD -* -* This file is licensed under the terms of the GNU General Public -* License version 2. This program is licensed "as is" without any -* warranty of any kind, whether express or implied. */ #include <linux/platform_device.h> #include <linux/gpio.h>
arch/arm/mach-davinci/board-omapl138-hawk.c +1 -4
@@ -1,13 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Hawkboard.org based on TI's OMAP-L138 Platform * * Initial code: Syed Mohammed Khasim * * Copyright (C) 2009 Texas Instruments Incorporated - http://www.ti.com -* -* This file is licensed under the terms of the GNU General Public License -* version 2. This program is licensed "as is" without any warranty of -* any kind, whether express or implied. */ #include <linux/kernel.h> #include <linux/init.h>
arch/arm/mach-davinci/common.c +2 -4
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Code commons to all DaVinci SoCs. * * Author: Mark A. Greer <[email protected]> * -* 2009 (c) MontaVista Software, Inc. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2009 (c) MontaVista Software, Inc. */ #include <linux/module.h> #include <linux/io.h>
arch/arm/mach-davinci/cpuidle.h +1 -4
@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * TI DaVinci cpuidle platform support * * 2009 (C) Texas Instruments, Inc. http://www.ti.com/ -* -* This file is licensed under the terms of the GNU General Public License -* version 2. This program is licensed "as is" without any warranty of any -* kind, whether express or implied. */ #ifndef _MACH_DAVINCI_CPUIDLE_H#define _MACH_DAVINCI_CPUIDLE_H
arch/arm/mach-davinci/da830.c +2 -4
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * TI DA830/OMAP L137 chip specific setup * * Author: Mark A. Greer <[email protected]> * -* 2009 (c) MontaVista Software, Inc. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2009 (c) MontaVista Software, Inc. */ #include <linux/clk-provider.h> #include <linux/clk/davinci.h>
arch/arm/mach-davinci/da850.c +2 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * TI DA850/OMAP-L138 chip specific setup *
@@ -6,10 +7,7 @@* Derived from: arch/arm/mach-davinci/da830.c * Original Copyrights follow: * -* 2009 (c) MontaVista Software, Inc. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2009 (c) MontaVista Software, Inc. */ #include <linux/clk-provider.h>
arch/arm/mach-davinci/dm355.c +2 -4
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * TI DaVinci DM355 chip specific setup * * Author: Kevin Hilman, Deep Root Systems, LLC * -* 2007 (c) Deep Root Systems, LLC. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2007 (c) Deep Root Systems, LLC. */ #include <linux/clk-provider.h>
arch/arm/mach-davinci/dm644x.c +2 -4
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * TI DaVinci DM644x chip specific setup * * Author: Kevin Hilman, Deep Root Systems, LLC * -* 2007 (c) Deep Root Systems, LLC. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2007 (c) Deep Root Systems, LLC. */ #include <linux/clk-provider.h>
arch/arm/mach-davinci/dm646x.c +2 -4
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * TI DaVinci DM644x chip specific setup * * Author: Kevin Hilman, Deep Root Systems, LLC * -* 2007 (c) Deep Root Systems, LLC. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2007 (c) Deep Root Systems, LLC. */ #include <linux/clk-provider.h>
arch/arm/mach-davinci/include/mach/common.h +2 -4
@@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Header for code common to all DaVinci machines. * * Author: Kevin Hilman, MontaVista Software, Inc. <[email protected]> * -* 2007 (c) MontaVista Software, Inc. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2007 (c) MontaVista Software, Inc. */ #ifndef __ARCH_ARM_MACH_DAVINCI_COMMON_H
arch/arm/mach-davinci/include/mach/cputype.h +2 -4
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * DaVinci CPU type detection *
@@ -8,10 +9,7 @@* compiled in to the kernel, the macros return 0 so that * resulting code can be optimized out. * -* 2009 (c) Deep Root Systems, LLC. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2009 (c) Deep Root Systems, LLC. */ #ifndef _ASM_ARCH_CPU_H#define _ASM_ARCH_CPU_H
arch/arm/mach-davinci/include/mach/da8xx.h +2 -4
@@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Chip specific defines for DA8XX/OMAP L1XX SoC * * Author: Mark A. Greer <[email protected]> * -* 2007, 2009-2010 (c) MontaVista Software, Inc. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2007, 2009-2010 (c) MontaVista Software, Inc. */ #ifndef __ASM_ARCH_DAVINCI_DA8XX_H#define __ASM_ARCH_DAVINCI_DA8XX_H
arch/arm/mach-davinci/include/mach/hardware.h +2 -4
@@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Hardware definitions common to all DaVinci family processors * * Author: Kevin Hilman, Deep Root Systems, LLC * -* 2007 (c) Deep Root Systems, LLC. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2007 (c) Deep Root Systems, LLC. */ #ifndef __ASM_ARCH_HARDWARE_H#define __ASM_ARCH_HARDWARE_H
arch/arm/mach-davinci/include/mach/mux.h +2 -4
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Table of the DAVINCI register configurations for the PINMUX combinations *
@@ -8,10 +9,7 @@* * Written by Tony Lindgren * -* 2007 (c) MontaVista Software, Inc. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2007 (c) MontaVista Software, Inc. * * Copyright (C) 2008 Texas Instruments. */
arch/arm/mach-davinci/include/mach/serial.h +2 -4
@@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * DaVinci serial device definitions * * Author: Kevin Hilman, MontaVista Software, Inc. <[email protected]> * -* 2007 (c) MontaVista Software, Inc. This file is licensed under -* the terms of the GNU General Public License version 2. This program -* is licensed "as is" without any warranty of any kind, whether express -* or implied. +* 2007 (c) MontaVista Software, Inc. */ #ifndef __ASM_ARCH_SERIAL_H#define __ASM_ARCH_SERIAL_H
arch/arm/mach-davinci/include/mach/time.h +1 -2
@@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Local header file for DaVinci time code. * * Author: Kevin Hilman, MontaVista Software, Inc. <[email protected]> * -* 2007 (c) MontaVista Software, Inc. This file is licensed under -* the terms of the GNU General Public License version 2. This program
PATCH 25/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 476
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
spdx lincense identifier gpl 2 0
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- drivers/pinctrl/sh-pfc/pfc-r8a77980.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/sh-pfc/pfc-r8a77980.c +1 -1
@@ -1,4 +1,4 @@ -// SPDX-Lincense-Identifier: GPL 2.0 +// SPDX-License-Identifier: GPL-2.0-only /* * R8A77980 processor support - PFC hardware block. *
PATCH 26/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 477
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
subject to gplv2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- arch/x86/kernel/amd_nb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
arch/x86/kernel/amd_nb.c +2 -1
@@ -1,6 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Shared support code for AMD K8 northbridges and derivates. -* Copyright 2006 Andi Kleen, SUSE Labs. Subject to GPLv2. +* Copyright 2006 Andi Kleen, SUSE Labs. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
PATCH 28/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 479
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
released under the gpl v2 based on gplv2 source code
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- tools/perf/util/genelf_debug.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
tools/perf/util/genelf_debug.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * genelf_debug.c * Copyright (C) 2015, Google, Inc
@@ -5,8 +6,6 @@* Contributed by: * Stephane Eranian <[email protected]> * -* Released under the GPL v2. -* * based on GPLv2 source code from Oprofile * @remark Copyright 2007 OProfile authors * @author Philippe Elie
PATCH 29/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 480
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
adapted from oprofile gplv2 support
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- tools/perf/util/jitdump.h | 1 + 1 file changed, 1 insertion(+)
tools/perf/util/jitdump.h +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * jitdump.h: jitted code info encapsulation file format *
PATCH 27/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 478
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 see the copying file in the top level directory or visit http www gnu org licenses gpl 2 0 html 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 this program is provided as is and with all faults and without warranty of any kind you are solely responsible for determining the appropriateness of using and distributing the program and assume all risks associated with your exercise of rights with respect to the program including but not limited to infringement of third party rights the risks and costs of program errors damage to or loss of data programs or equipment and unavailability or interruption of operations under no circumstances will the contributor of this program be liable for any damages of any kind arising from your use or distribution of this program the linux foundation chooses to take subject only to the gplv2 license terms and distributes only under these terms
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- drivers/scsi/ufs/ufshcd.c | 28 +--------------------------- 1 file changed, 1 insertion(+), 27 deletions(-)
drivers/scsi/ufs/ufshcd.c +1 -27
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Universal Flash Storage Host controller driver Core *
@@ -8,33 +9,6 @@* Authors: * Santosh Yaraganavi <[email protected]> * Vinayak Holikatti <[email protected]> -* -* 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. -* See the COPYING file in the top-level directory or visit -* <http://www.gnu.org/licenses/gpl-2.0.html> -* -* 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. -* -* This program is provided "AS IS" and "WITH ALL FAULTS" and -* without warranty of any kind. You are solely responsible for -* determining the appropriateness of using and distributing -* the program and assume all risks associated with your exercise -* of rights with respect to the program, including but not limited -* to infringement of third party rights, the risks and costs of -* program errors, damage to or loss of data, programs or equipment, -* and unavailability or interruption of operations. Under no -* circumstances will the contributor of this Program be liable for -* any damages of any kind arising from your use or distribution of -* this program. -* -* The Linux Foundation chooses to take subject only to the GPLv2 -* license terms, and distributes only under these terms. */ #include <linux/async.h>
PATCH 33/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 484
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this source code is licensed under general public license version 2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 5 file(s).
--- include/linux/netfilter/nf_conntrack_h323_asn1.h | 4 +--- include/linux/netfilter/nf_conntrack_h323_types.h | 3 +-- net/ipv4/netfilter/nf_nat_h323.c | 3 +-- net/netfilter/nf_conntrack_h323_main.c | 3 +-- net/netfilter/nf_conntrack_h323_types.c | 3 +-- 5 files changed, 5 insertions(+), 11 deletions(-)
include/linux/netfilter/nf_conntrack_h323_asn1.h +1 -3
@@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /**************************************************************************** * ip_conntrack_h323_asn1.h - BER and PER decoding library for H.323 * conntrack/NAT module. * * Copyright (c) 2006 by Jing Min Zhao <[email protected]> * -* This source code is licensed under General Public License version 2. -* -* * This library is based on H.225 version 4, H.235 version 2 and H.245 * version 7. It is extremely optimized to decode only the absolutely * necessary objects in a signal for Linux kernel NAT module use, so don't
include/linux/netfilter/nf_conntrack_h323_types.h +1 -2
@@ -1,8 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* Generated by Jing Min Zhao's ASN.1 parser, May 16 2007 * * Copyright (c) 2006 Jing Min Zhao <[email protected]> -* -* This source code is licensed under General Public License version 2. */ typedef struct TransportAddress_ipAddress { /* SEQUENCE */
net/ipv4/netfilter/nf_nat_h323.c +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * H.323 extension for NAT alteration. * * Copyright (c) 2006 Jing Min Zhao <[email protected]> * Copyright (c) 2006-2012 Patrick McHardy <[email protected]> * -* This source code is licensed under General Public License version 2. -* * Based on the 'brute force' H.323 NAT module by * Jozsef Kadlecsik <[email protected]> */
net/netfilter/nf_conntrack_h323_main.c +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * H.323 connection tracking helper * * Copyright (c) 2006 Jing Min Zhao <[email protected]> * Copyright (c) 2006-2012 Patrick McHardy <[email protected]> * -* This source code is licensed under General Public License version 2. -* * Based on the 'brute force' H.323 connection tracking module by * Jozsef Kadlecsik <[email protected]> *
net/netfilter/nf_conntrack_h323_types.c +1 -2
@@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* Generated by Jing Min Zhao's ASN.1 parser, May 16 2007 * * Copyright (c) 2006 Jing Min Zhao <[email protected]> -* -* This source code is licensed under General Public License version 2. */ static const struct field_t _TransportAddress_ipAddress[] = {/* SEQUENCE */
PATCH 32/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 483
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this software is licensed under the gnu general license version 2 june 1991 as shown in the file copying in the top level directory of this source tree the copyright holders and or other parties provide the program as is without warranty of any kind either expressed or implied including but not limited to the implied warranties of merchantability and fitness for a particular purpose the entire risk as to the quality and performance of the program is with you should the program prove defective you assume the cost of all necessary servicing repair or correction
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 7 file(s).
--- drivers/net/netdevsim/bpf.c | 12 +----------- drivers/net/netdevsim/dev.c | 12 +----------- drivers/net/netdevsim/fib.c | 12 +----------- drivers/net/netdevsim/netdev.c | 12 +----------- drivers/net/netdevsim/netdevsim.h | 12 +----------- kernel/bpf/offload.c | 12 +----------- tools/testing/selftests/bpf/test_offload.py | 11 +---------- 7 files changed, 7 insertions(+), 76 deletions(-)
drivers/net/netdevsim/bpf.c +1 -11
@@ -1,16 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017 Netronome Systems, Inc. -* -* This software is licensed under the GNU General License Version 2, -* June 1991 as shown in the file COPYING in the top-level directory of this -* source tree. -* -* THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" -* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, -* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -* FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE -* OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME -* THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. */ #include <linux/bpf.h>
drivers/net/netdevsim/dev.c +1 -11
@@ -1,18 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2018 Cumulus Networks. All rights reserved. * Copyright (c) 2018 David Ahern <[email protected]> * Copyright (c) 2019 Mellanox Technologies. All rights reserved. -* -* This software is licensed under the GNU General License Version 2, -* June 1991 as shown in the file COPYING in the top-level directory of this -* source tree. -* -* THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" -* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, -* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -* FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE -* OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME -* THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. */ #include <linux/debugfs.h>
drivers/net/netdevsim/fib.c +1 -11
@@ -1,17 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2018 Cumulus Networks. All rights reserved. * Copyright (c) 2018 David Ahern <[email protected]> -* -* This software is licensed under the GNU General License Version 2, -* June 1991 as shown in the file COPYING in the top-level directory of this -* source tree. -* -* THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" -* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, -* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -* FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE -* OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME -* THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. */ #include <net/fib_notifier.h>
drivers/net/netdevsim/netdev.c +1 -11
@@ -1,16 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017 Netronome Systems, Inc. -* -* This software is licensed under the GNU General License Version 2, -* June 1991 as shown in the file COPYING in the top-level directory of this -* source tree. -* -* THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" -* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, -* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -* FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE -* OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME -* THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. */ #include <linux/debugfs.h>
drivers/net/netdevsim/netdevsim.h +1 -11
@@ -1,16 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2017 Netronome Systems, Inc. -* -* This software is licensed under the GNU General License Version 2, -* June 1991 as shown in the file COPYING in the top-level directory of this -* source tree. -* -* THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" -* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, -* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -* FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE -* OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME -* THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. */ #include <linux/device.h>
kernel/bpf/offload.c +1 -11
@@ -1,16 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017-2018 Netronome Systems, Inc. -* -* This software is licensed under the GNU General License Version 2, -* June 1991 as shown in the file COPYING in the top-level directory of this -* source tree. -* -* THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" -* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, -* BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -* FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE -* OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME -* THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. */ #include <linux/bpf.h>
tools/testing/selftests/bpf/test_offload.py +1 -10
@@ -1,18 +1,9 @@ #!/usr/bin/python3 +# SPDX-License-Identifier: GPL-2.0-only # Copyright (C) 2017 Netronome Systems, Inc. # Copyright (c) 2019 Mellanox Technologies. All rights reserved # -# This software is licensed under the GNU General License Version 2, -# June 1991 as shown in the file COPYING in the top-level directory of this -# source tree. -# -# THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" -# WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, -# BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS -# FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE -# OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME -# THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. from datetime import datetime import argparse
PATCH 34/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 485
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 would be useful but without any warranty without even the implied warranty of merchantability or fitness for a particular purpose
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- tools/testing/selftests/vm/va_128TBswitch.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
tools/testing/selftests/vm/va_128TBswitch.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * * Authors: Kirill A. Shutemov <[email protected]> * Authors: Aneesh Kumar K.V <[email protected]> -* -* 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 would be useful, but -* WITHOUT ANY WARRANTY; without even the implied warranty of -* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -* */ #include <stdio.h>
PATCH 37/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 488
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 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
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- drivers/iio/light/us5182d.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
drivers/iio/light/us5182d.c +1 -9
@@ -1,17 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2015 Intel Corporation * * Driver for UPISEMI us5182d Proximity and Ambient Light Sensor. * -* 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 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. -* * To do: Interrupt support. */
PATCH 38/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 489
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 gpl v2 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
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- drivers/spi/spi-xlp.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-)
drivers/spi/spi-xlp.c +1 -9
@@ -1,15 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2003-2015 Broadcom Corporation * 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 version 2 (GPL v2) -* 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. */ #include <linux/acpi.h> #include <linux/clk.h>
PATCH 40/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 491
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms and conditions 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
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 3 file(s).
--- drivers/acpi/pci_slot.c | 10 +--------- drivers/iio/humidity/si7020.c | 10 +--------- include/linux/platform_data/nxp-nci.h | 10 +--------- 3 files changed, 3 insertions(+), 27 deletions(-)
drivers/acpi/pci_slot.c +1 -9
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * pci_slot.c - ACPI PCI Slot Driver *
@@ -11,15 +12,6 @@* * Copyright (C) 2013 Huawei Tech. Co., Ltd. * Jiang Liu <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions 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. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
drivers/iio/humidity/si7020.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * si7020.c - Silicon Labs Si7013/20/21 Relative Humidity and Temp Sensors * Copyright (c) 2013,2014 Uplogix, Inc. * David Barksdale <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions 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. */ /*
include/linux/platform_data/nxp-nci.h +1 -9
@@ -1,18 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Generic platform data for the NXP NCI NFC chips. * * Copyright (C) 2014 NXP Semiconductors All rights reserved. * * Authors: Clément Perrochaud <[email protected]> -* -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions 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. */ #ifndef _NXP_NCI_H_
PATCH 42/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 493
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
based on gpl ed 2 6 kernel sources [c] [marvell] [international] [ltd] this file is licensed under the terms of the gnu general public license version 2 this program is licensed as is without any warranty of any kind whether express or implied
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- drivers/irqchip/irq-dw-apb-ictl.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-)
drivers/irqchip/irq-dw-apb-ictl.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Synopsys DW APB ICTL irqchip driver. *
@@ -5,10 +6,6 @@* * based on GPL'ed 2.6 kernel sources * (c) Marvell International Ltd. -* -* This file is licensed under the terms of the GNU General Public -* License version 2. This program is licensed "as is" without any -* warranty of any kind, whether express or implied. */ #include <linux/io.h>
PATCH 44/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 495
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of the version 2 of the gnu general public license 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
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 10 file(s).
--- drivers/net/can/cc770/cc770.c | 10 +--------- drivers/net/can/cc770/cc770.h | 10 +--------- drivers/net/can/cc770/cc770_isa.c | 10 +--------- drivers/net/can/cc770/cc770_platform.c | 10 +--------- drivers/net/can/peak_canfd/peak_canfd.c | 10 +--------- drivers/net/can/peak_canfd/peak_pciefd_main.c | 10 +--------- drivers/net/can/sja1000/ems_pcmcia.c | 10 +--------- drivers/net/can/sja1000/peak_pci.c | 10 +--------- drivers/net/can/sja1000/peak_pcmcia.c | 10 +--------- include/linux/can/rx-offload.h | 10 +--------- 10 files changed, 10 insertions(+), 90 deletions(-)
drivers/net/can/cc770/cc770.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Core driver for the CC770 and AN82527 CAN controllers * * Copyright (C) 2009, 2011 Wolfgang Grandegger <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* 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. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
drivers/net/can/cc770/cc770.h +1 -9
@@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Core driver for the CC770 and AN82527 CAN controllers * * Copyright (C) 2009, 2011 Wolfgang Grandegger <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* 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. */ #ifndef CC770_DEV_H
drivers/net/can/cc770/cc770_isa.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Driver for CC770 and AN82527 CAN controllers on the legacy ISA bus * * Copyright (C) 2009, 2011 Wolfgang Grandegger <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* 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. */ /*
drivers/net/can/cc770/cc770_platform.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Driver for CC770 and AN82527 CAN controllers on the platform bus * * Copyright (C) 2009, 2011 Wolfgang Grandegger <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* 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. */ /*
drivers/net/can/peak_canfd/peak_canfd.c +1 -9
@@ -1,17 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2007, 2011 Wolfgang Grandegger <[email protected]> * Copyright (C) 2012 Stephane Grosjean <[email protected]> * * Copyright (C) 2016 PEAK System-Technik GmbH -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* 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. */ #include <linux/can.h>
drivers/net/can/peak_canfd/peak_pciefd_main.c +1 -9
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2007, 2011 Wolfgang Grandegger <[email protected]> * Copyright (C) 2012 Stephane Grosjean <[email protected]>
@@ -5,15 +6,6 @@* Derived from the PCAN project file driver/src/pcan_pci.c: * * Copyright (C) 2001-2006 PEAK System-Technik GmbH -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* 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. */ #include <linux/kernel.h>
drivers/net/can/sja1000/ems_pcmcia.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2008 Sebastian Haas (initial chardev implementation) * Copyright (C) 2010 Markus Plessing <[email protected]> * Rework for mainline by Oliver Hartkopp <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* 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. */ #include <linux/kernel.h>
drivers/net/can/sja1000/peak_pci.c +1 -9
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2007, 2011 Wolfgang Grandegger <[email protected]> * Copyright (C) 2012 Stephane Grosjean <[email protected]>
@@ -5,15 +6,6 @@* Derived from the PCAN project file driver/src/pcan_pci.c: * * Copyright (C) 2001-2006 PEAK System-Technik GmbH -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* 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. */ #include <linux/kernel.h>
drivers/net/can/sja1000/peak_pcmcia.c +1 -9
@@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2010-2012 Stephane Grosjean <[email protected]> * * CAN driver for PEAK-System PCAN-PC Card * Derived from the PCAN project file driver/src/pcan_pccard.c * Copyright (C) 2006-2010 PEAK System-Technik GmbH -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* 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. */ #include <linux/kernel.h> #include <linux/module.h>
include/linux/can/rx-offload.h +1 -9
@@ -1,17 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/can/rx-offload.h * * Copyright (c) 2014 David Jander, Protonic Holland * Copyright (c) 2014-2017 Pengutronix, Marc Kleine-Budde <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the version 2 of the GNU General Public License -* 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. */ #ifndef _CAN_RX_OFFLOAD_H
PATCH 35/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 486
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this package 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
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 3 file(s).
--- drivers/media/i2c/tvp514x.c | 11 +---------- drivers/media/i2c/tvp514x_regs.h | 11 +---------- include/media/i2c/tvp514x.h | 11 +---------- 3 files changed, 3 insertions(+), 30 deletions(-)
drivers/media/i2c/tvp514x.c +1 -10
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * drivers/media/i2c/tvp514x.c *
@@ -13,16 +14,6 @@* Manjunath Hadli <[email protected]> * Karicheri Muralidharan <[email protected]> * Prabhakar Lad <[email protected]> -* -* This package 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. -* */ #include <linux/i2c.h>
drivers/media/i2c/tvp514x_regs.h +1 -10
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * drivers/media/i2c/tvp514x_regs.h *
@@ -10,16 +11,6 @@* Hardik Shah <[email protected]> * Manjunath Hadli <[email protected]> * Karicheri Muralidharan <[email protected]> -* -* This package 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. -* */ #ifndef _TVP514X_REGS_H
include/media/i2c/tvp514x.h +1 -10
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * drivers/media/video/tvp514x.h *
@@ -10,16 +11,6 @@* Hardik Shah <[email protected]> * Manjunath Hadli <[email protected]> * Karicheri Muralidharan <[email protected]> -* -* This package 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. -* */ #ifndef _TVP514X_H
PATCH 39/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 490
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 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
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 13 file(s).
--- sound/soc/intel/skylake/cnl-sst-dsp.c | 10 +--------- sound/soc/intel/skylake/cnl-sst-dsp.h | 10 +--------- sound/soc/intel/skylake/cnl-sst.c | 10 +--------- sound/soc/intel/skylake/skl-messages.c | 10 +--------- sound/soc/intel/skylake/skl-sst-cldma.c | 10 +--------- sound/soc/intel/skylake/skl-sst-cldma.h | 10 +--------- sound/soc/intel/skylake/skl-sst-dsp.c | 10 +--------- sound/soc/intel/skylake/skl-sst-dsp.h | 10 +--------- sound/soc/intel/skylake/skl-sst-ipc.c | 10 +--------- sound/soc/intel/skylake/skl-sst-ipc.h | 10 +--------- sound/soc/intel/skylake/skl-sst-utils.c | 10 +--------- sound/soc/intel/skylake/skl-sst.c | 10 +--------- sound/soc/intel/skylake/skl-topology.c | 10 +--------- 13 files changed, 13 insertions(+), 117 deletions(-)
sound/soc/intel/skylake/cnl-sst-dsp.c +1 -9
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * cnl-sst-dsp.c - CNL SST library generic function *
@@ -9,15 +10,6 @@* Copyright (C) 2014-15, Intel Corporation. * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. -* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ #include <linux/device.h>
sound/soc/intel/skylake/cnl-sst-dsp.h +1 -9
@@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Cannonlake SST DSP Support * * Copyright (C) 2016-17, Intel Corporation. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. */ #ifndef __CNL_SST_DSP_H__
sound/soc/intel/skylake/cnl-sst.c +1 -9
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * cnl-sst.c - DSP library functions for CNL platform *
@@ -11,15 +12,6 @@* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ * -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. -* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
sound/soc/intel/skylake/skl-messages.c +1 -9
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * skl-message.c - HDA DSP interface for FW registration, Pipe and Module * configurations
@@ -6,15 +7,6 @@* Author:Rafal Redzimski <[email protected]> * Jeeja KP <[email protected]> * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. */ #include <linux/slab.h>
sound/soc/intel/skylake/skl-sst-cldma.c +1 -9
@@ -1,18 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * skl-sst-cldma.c - Code Loader DMA handler * * Copyright (C) 2015, Intel Corporation. * Author: Subhransu S. Prusty <[email protected]> * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. */ #include <linux/device.h>
sound/soc/intel/skylake/skl-sst-cldma.h +1 -9
@@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Intel Code Loader DMA support * * Copyright (C) 2015, Intel Corporation. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. */ #ifndef SKL_SST_CLDMA_H_
sound/soc/intel/skylake/skl-sst-dsp.c +1 -9
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * skl-sst-dsp.c - SKL SST library generic function *
@@ -5,15 +6,6 @@* Author:Rafal Redzimski <[email protected]> * Jeeja KP <[email protected]> * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. */ #include <sound/pcm.h>
sound/soc/intel/skylake/skl-sst-dsp.h +1 -9
@@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Skylake SST DSP Support * * Copyright (C) 2014-15, Intel Corporation. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. */ #ifndef __SKL_SST_DSP_H__
sound/soc/intel/skylake/skl-sst-ipc.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * skl-sst-ipc.c - Intel skl IPC Support * * Copyright (C) 2014-15, Intel Corporation. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. */ #include <linux/device.h>
sound/soc/intel/skylake/skl-sst-ipc.h +1 -9
@@ -1,16 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Intel SKL IPC Support * * Copyright (C) 2014-15, Intel Corporation. -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. */ #ifndef __SKL_IPC_H
sound/soc/intel/skylake/skl-sst-utils.c +1 -9
@@ -1,16 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * skl-sst-utils.c - SKL sst utils functions * * Copyright (C) 2016 Intel Corp -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. */ #include <linux/device.h>
sound/soc/intel/skylake/skl-sst.c +1 -9
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * skl-sst.c - HDA DSP library functions for SKL platform *
@@ -5,15 +6,6 @@* Author:Rafal Redzimski <[email protected]> * Jeeja KP <[email protected]> * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. */ #include <linux/module.h>
sound/soc/intel/skylake/skl-topology.c +1 -9
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * skl-topology.c - Implements Platform component ALSA controls/widget * handlers.
@@ -5,15 +6,6 @@* Copyright (C) 2014-2015 Intel Corp * Author: Jeeja KP <[email protected]> * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License as 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. */ #include <linux/slab.h>
PATCH 41/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 492
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 version 2 of the license 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
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 3 file(s).
--- drivers/scsi/hpsa.c | 11 +---------- drivers/scsi/hpsa.h | 11 +---------- drivers/scsi/hpsa_cmd.h | 11 +---------- 3 files changed, 3 insertions(+), 30 deletions(-)
drivers/scsi/hpsa.c +1 -10
@@ -1,20 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Disk Array driver for HP Smart Array SAS controllers * Copyright 2016 Microsemi Corporation * Copyright 2014-2015 PMC-Sierra, Inc. * Copyright 2000,2009-2015 Hewlett-Packard Development Company, L.P. * -* 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; version 2 of the License. -* -* 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. -* * Questions/Comments/Bugfixes to [email protected] -* */ #include <linux/module.h>
drivers/scsi/hpsa.h +1 -10
@@ -1,20 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Disk Array driver for HP Smart Array SAS controllers * Copyright 2016 Microsemi Corporation * Copyright 2014-2015 PMC-Sierra, Inc. * Copyright 2000,2009-2015 Hewlett-Packard Development Company, L.P. * -* 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; version 2 of the License. -* -* 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. -* * Questions/Comments/Bugfixes to [email protected] -* */ #ifndef HPSA_H #define HPSA_H
drivers/scsi/hpsa_cmd.h +1 -10
@@ -1,20 +1,11 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Disk Array driver for HP Smart Array SAS controllers * Copyright 2016 Microsemi Corporation * Copyright 2014-2015 PMC-Sierra, Inc. * Copyright 2000,2009-2015 Hewlett-Packard Development Company, L.P. * -* 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; version 2 of the License. -* -* 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. -* * Questions/Comments/Bugfixes to [email protected] -* */ #ifndef HPSA_CMD_H #define HPSA_CMD_H
PATCH 43/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 494
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
copyright this file is distributed under the terms of the gnu general public license gpl copies of the gpl can be obtained from ftp prep ai mit edu pub gnu gpl each contributing author retains all rights to their own work
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 14 file(s).
--- fs/udf/balloc.c | 8 +------- fs/udf/dir.c | 7 +------ fs/udf/directory.c | 7 +------ fs/udf/file.c | 7 +------ fs/udf/ialloc.c | 8 +------- fs/udf/inode.c | 7 +------ fs/udf/lowlevel.c | 7 +------ fs/udf/misc.c | 7 +------ fs/udf/namei.c | 7 +------ fs/udf/partition.c | 8 +------- fs/udf/super.c | 7 +------ fs/udf/symlink.c | 8 +------- fs/udf/truncate.c | 8 +------- fs/udf/unicode.c | 7 +------ 14 files changed, 14 insertions(+), 89 deletions(-)
fs/udf/balloc.c +1 -7
@@ -1,22 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * balloc.c * * PURPOSE * Block allocation handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1999-2001 Ben Fennema * (C) 1999 Stelias Computing Inc * * HISTORY * * 02/24/99 blf Created. -* */ #include "udfdecl.h"
fs/udf/dir.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * dir.c * * PURPOSE * Directory handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998-2004 Ben Fennema * * HISTORY
fs/udf/directory.c +1 -6
@@ -1,14 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * directory.c * * PURPOSE * Directory related functions -* -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. */ #include "udfdecl.h"
fs/udf/file.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * file.c * * PURPOSE * File handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998-1999 Dave Boynton * (C) 1998-2004 Ben Fennema * (C) 1999-2000 Stelias Computing Inc
fs/udf/ialloc.c +1 -7
@@ -1,21 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ialloc.c * * PURPOSE * Inode allocation handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998-2001 Ben Fennema * * HISTORY * * 02/24/99 blf Created. -* */ #include "udfdecl.h"
fs/udf/inode.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * inode.c * * PURPOSE * Inode handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998 Dave Boynton * (C) 1998-2004 Ben Fennema * (C) 1999-2000 Stelias Computing Inc
fs/udf/lowlevel.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lowlevel.c * * PURPOSE * Low Level Device Routines for the UDF filesystem * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1999-2001 Ben Fennema * * HISTORY
fs/udf/misc.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * misc.c * * PURPOSE * Miscellaneous routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998 Dave Boynton * (C) 1998-2004 Ben Fennema * (C) 1999-2000 Stelias Computing Inc
fs/udf/namei.c +1 -6
@@ -1,15 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * namei.c * * PURPOSE * Inode name handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998-2004 Ben Fennema * (C) 1999-2000 Stelias Computing Inc *
fs/udf/partition.c +1 -7
@@ -1,21 +1,15 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * partition.c * * PURPOSE * Partition handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998-2001 Ben Fennema * * HISTORY * * 12/06/98 blf Created file. -* */ #include "udfdecl.h"
fs/udf/super.c +1 -6
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * super.c *
@@ -14,12 +15,6 @@* http://www.ecma.ch/ * http://www.iso.org/ * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998 Dave Boynton * (C) 1998-2004 Ben Fennema * (C) 2000 Stelias Computing Inc
fs/udf/symlink.c +1 -7
@@ -1,22 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * symlink.c * * PURPOSE * Symlink handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1998-2001 Ben Fennema * (C) 1999 Stelias Computing Inc * * HISTORY * * 04/16/99 blf Created. -* */ #include "udfdecl.h"
fs/udf/truncate.c +1 -7
@@ -1,22 +1,16 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * truncate.c * * PURPOSE * Truncate handling routines for the OSTA-UDF(tm) filesystem. * -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. -* * (C) 1999-2004 Ben Fennema * (C) 1999 Stelias Computing Inc * * HISTORY * * 02/24/99 blf Created. -* */ #include "udfdecl.h"
fs/udf/unicode.c +1 -6
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * unicode.c *
@@ -10,12 +11,6 @@* http://www.osta.org/ * UTF-8 is explained in the IETF RFC XXXX. * ftp://ftp.internic.net/rfc/rfcxxxx.txt -* -* COPYRIGHT -* This file is distributed under the terms of the GNU General Public -* License (GPL). Copies of the GPL can be obtained from: -* ftp://prep.ai.mit.edu/pub/gnu/GPL -* Each contributing author retains all rights to their own work. */ #include "udfdecl.h"
PATCH 45/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
licensed 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 1 file(s).
--- sound/soc/codecs/ics43432.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
sound/soc/codecs/ics43432.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * I2S MEMS microphone driver for InvenSense ICS-43432 *
@@ -5,8 +6,6 @@* - I2S interface, 64 BCLs per frame, 32 bits per channel, 24 bit data * * Copyright (c) 2015 Axis Communications AB -* -* Licensed under GPL v2. */ #include <linux/module.h>
PATCH 47/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
gplv2 only
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
--- include/dt-bindings/dma/at91.h | 3 +-- include/dt-bindings/i2c/i2c.h | 3 +-- include/dt-bindings/pinctrl/at91.h | 3 +-- include/dt-bindings/thermal/thermal.h | 3 +-- 4 files changed, 4 insertions(+), 8 deletions(-)
include/dt-bindings/dma/at91.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * This header provides macros for at91 dma bindings. * * Copyright (C) 2013 Ludovic Desroches <[email protected]> -* -* GPLv2 only */ #ifndef __DT_BINDINGS_AT91_DMA_H__
include/dt-bindings/i2c/i2c.h +1 -2
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * This header provides constants for I2C bindings *
@@ -5,8 +6,6 @@* Copyright (C) 2015 by Renesas Electronics Corporation * * Wolfram Sang <[email protected]> -* -* GPLv2 only */ #ifndef _DT_BINDINGS_I2C_I2C_H
include/dt-bindings/pinctrl/at91.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * This header provides constants for most at91 pinctrl bindings. * * Copyright (C) 2013 Jean-Christophe PLAGNIOL-VILLARD <[email protected]> -* -* GPLv2 only */ #ifndef __DT_BINDINGS_AT91_PINCTRL_H__
include/dt-bindings/thermal/thermal.h +1 -2
@@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * This header provides constants for most thermal bindings. * * Copyright (C) 2013 Texas Instruments * Eduardo Valentin <[email protected]> -* -* GPLv2 only */ #ifndef _DT_BINDINGS_THERMAL_THERMAL_H
PATCH 46/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 497
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is part of the linux kernel and is made available under the terms of the gnu general public license version 2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 28 file(s).
--- arch/x86/boot/a20.c | 4 +--- arch/x86/boot/apm.c | 4 +--- arch/x86/boot/bitops.h | 4 +--- arch/x86/boot/boot.h | 4 +--- arch/x86/boot/cmdline.c | 4 +--- arch/x86/boot/compressed/eboot.c | 4 +--- arch/x86/boot/copy.S | 4 +--- arch/x86/boot/cpu.c | 4 +--- arch/x86/boot/cpucheck.c | 4 +--- arch/x86/boot/edd.c | 4 +--- arch/x86/boot/main.c | 4 +--- arch/x86/boot/memory.c | 4 +--- arch/x86/boot/pm.c | 4 +--- arch/x86/boot/pmjump.S | 4 +--- arch/x86/boot/printf.c | 4 +--- arch/x86/boot/string.c | 4 +--- arch/x86/boot/tty.c | 4 +--- arch/x86/boot/version.c | 4 +--- arch/x86/boot/video-bios.c | 4 +--- arch/x86/boot/video-mode.c | 4 +--- arch/x86/boot/video-vesa.c | 4 +--- arch/x86/boot/video-vga.c | 4 +--- arch/x86/boot/video.c | 4 +--- arch/x86/boot/video.h | 4 +--- arch/x86/lib/cmdline.c | 3 +-- drivers/block/skd_main.c | 4 +--- drivers/block/skd_s1120.h | 4 +--- drivers/firmware/efi/libstub/arm-stub.c | 5 +---- 28 files changed, 28 insertions(+), 84 deletions(-)
arch/x86/boot/a20.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007-2008 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/apm.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds
@@ -7,9 +8,6 @@* Original APM BIOS checking by Stephen Rothwell, May 1994 * ([email protected]) * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/bitops.h +1 -3
@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/boot.h +1 -3
@@ -1,12 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/cmdline.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/compressed/eboot.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* ----------------------------------------------------------------------- * * Copyright 2011 Intel Corporation; author Matt Fleming * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ #include <linux/efi.h>
arch/x86/boot/copy.S +1 -3
@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* ----------------------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * - * This file is part of the Linux kernel, and is made available under - * the terms of the GNU General Public License version 2. - * * ----------------------------------------------------------------------- */ #include <linux/linkage.h>
arch/x86/boot/cpu.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007-2008 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/cpucheck.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/edd.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/main.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/memory.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/pm.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/pmjump.S +1 -3
@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* ----------------------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * - * This file is part of the Linux kernel, and is made available under - * the terms of the GNU General Public License version 2. - * * ----------------------------------------------------------------------- */ /*
arch/x86/boot/printf.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/string.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/tty.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/version.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/video-bios.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/video-mode.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007-2008 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/video-vesa.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/video-vga.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/video.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * Copyright 2009 Intel Corporation; author H. Peter Anvin * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/boot/video.h +1 -3
@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* -*- linux-c -*- ------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. -* * ----------------------------------------------------------------------- */ /*
arch/x86/lib/cmdline.c +1 -2
@@ -1,6 +1,5 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. * * Misc librarized functions for cmdline poking. */
drivers/block/skd_main.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Driver for sTec s1120 PCIe SSDs. sTec was acquired in 2013 by HGST and HGST * was acquired by Western Digital in 2012. * * Copyright 2012 sTec, Inc. * Copyright (c) 2017 Western Digital Corporation or its affiliates. -* -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. */ #include <linux/kernel.h>
drivers/block/skd_s1120.h +1 -3
@@ -1,9 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2012 STEC, Inc. * Copyright (c) 2017 Western Digital Corporation or its affiliates. -* -* This file is part of the Linux kernel, and is made available under -* the terms of the GNU General Public License version 2. */
drivers/firmware/efi/libstub/arm-stub.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * EFI stub implementation that is shared by arm and arm64 architectures. * This should be #included by the EFI stub implementation files.
@@ -6,10 +7,6 @@* Roy Franz <[email protected] * Copyright (C) 2013 Red Hat, Inc. * Mark Salter <[email protected]> -* -* This file is part of the Linux kernel, and is made available under the -* terms of the GNU General Public License version 2. -* */ #include <linux/efi.h>
PATCH 50/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 501
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 see readme and copying for more details
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).
--- drivers/net/wireless/admtek/adm8211.c | 6 +----- drivers/net/wireless/intel/ipw2x00/libipw.h | 6 +----- drivers/net/wireless/intel/ipw2x00/libipw_rx.c | 6 +----- drivers/net/wireless/intersil/hostap/hostap_hw.c | 6 +----- drivers/net/wireless/intersil/hostap/hostap_main.c | 6 +----- lib/hexdump.c | 6 +----- net/wireless/lib80211_crypt_ccmp.c | 6 +----- net/wireless/lib80211_crypt_tkip.c | 6 +----- net/wireless/lib80211_crypt_wep.c | 6 +----- 9 files changed, 9 insertions(+), 45 deletions(-)
drivers/net/wireless/admtek/adm8211.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Linux device driver for ADMtek ADM8211 (IEEE 802.11b MAC/BBP)
@@ -8,11 +9,6 @@* and used with permission. * * Much thanks to Infineon-ADMtek for their support of this driver. -* -* 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. See README and COPYING for -* more details. */ #include <linux/interrupt.h>
drivers/net/wireless/intel/ipw2x00/libipw.h +1 -5
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Merged with mainline ieee80211.h in Aug 2004. Original ieee802_11 * remains copyright by the original authors
@@ -13,11 +14,6 @@* <[email protected]> * Copyright (c) 2004-2005, Intel 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. See README and COPYING for -* more details. -* * API Version History * 1.0.x -- Initial version * 1.1.x -- Added radiotap, QoS, TIM, libipw_geo APIs,
drivers/net/wireless/intel/ipw2x00/libipw_rx.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Original code based Host AP (software wireless LAN access point) driver * for Intersil Prism2/2.5/3 - hostap.o module, common routines
@@ -6,11 +7,6 @@* <[email protected]> * Copyright (c) 2002-2003, Jouni Malinen <[email protected]> * Copyright (c) 2004-2005, Intel 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. See README and COPYING for -* more details. */ #include <linux/compiler.h>
drivers/net/wireless/intersil/hostap/hostap_hw.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Host AP (software wireless LAN access point) driver for * Intersil Prism2/2.5/3.
@@ -6,11 +7,6 @@* <[email protected]> * Copyright (c) 2002-2005, Jouni Malinen <[email protected]> * -* 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. See README and COPYING for -* more details. -* * FIX: * - there is currently no way of associating TX packets to correct wds device * when TX Exc/OK event occurs, so all tx_packets and some
drivers/net/wireless/intersil/hostap/hostap_main.c +1 -5
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Host AP (software wireless LAN access point) driver for * Intersil Prism2/2.5/3 - hostap.o module, common routines
@@ -5,11 +6,6 @@* Copyright (c) 2001-2002, SSH Communications Security Corp and Jouni Malinen * <[email protected]> * Copyright (c) 2002-2005, Jouni Malinen <[email protected]> -* -* 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. See README and COPYING for -* more details. */ #include <linux/module.h>
lib/hexdump.c +1 -5
@@ -1,10 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lib/hexdump.c -* -* 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. See README and COPYING for -* more details. */ #include <linux/types.h>
net/wireless/lib80211_crypt_ccmp.c +1 -5
@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lib80211 crypt: host-based CCMP encryption implementation for lib80211 * * Copyright (c) 2003-2004, Jouni Malinen <[email protected]> * Copyright (c) 2008, John W. Linville <[email protected]> -* -* 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. See README and COPYING for -* more details. */ #include <linux/kernel.h>
net/wireless/lib80211_crypt_tkip.c +1 -5
@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lib80211 crypt: host-based TKIP encryption implementation for lib80211 * * Copyright (c) 2003-2004, Jouni Malinen <[email protected]> * Copyright (c) 2008, John W. Linville <[email protected]> -* -* 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. See README and COPYING for -* more details. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
net/wireless/lib80211_crypt_wep.c +1 -5
@@ -1,13 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * lib80211 crypt: host-based WEP encryption implementation for lib80211 * * Copyright (c) 2002-2004, Jouni Malinen <[email protected]> * Copyright (c) 2008, John W. Linville <[email protected]> -* -* 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. See README and COPYING for -* more details. */ #include <linux/err.h>
PATCH 36/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 487
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 http www gnu org licenses gpl 2 0 html for more details
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 2 file(s).
--- include/dt-bindings/power/mt2712-power.h | 10 +--------- include/dt-bindings/power/mt7622-power.h | 10 +--------- 2 files changed, 2 insertions(+), 18 deletions(-)
include/dt-bindings/power/mt2712-power.h +1 -9
@@ -1,14 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2017 MediaTek Inc. -* -* 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 http://www.gnu.org/licenses/gpl-2.0.html for more details. */ #ifndef _DT_BINDINGS_POWER_MT2712_POWER_H
include/dt-bindings/power/mt7622-power.h +1 -9
@@ -1,14 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2017 MediaTek Inc. -* -* 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 http://www.gnu.org/licenses/gpl-2.0.html for more details. */ #ifndef _DT_BINDINGS_POWER_MT7622_POWER_H
PATCH 51/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 502
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 version 2 of the license 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 if not write to the free software foundation inc 51 franklin st fifth floor boston ma 02110 1301 usa
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- drivers/scsi/scsi_transport_srp.c | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-)
drivers/scsi/scsi_transport_srp.c +1 -15
@@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * SCSI RDMA (SRP) transport class * * Copyright (C) 2007 FUJITA Tomonori <[email protected]> -* -* 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, version 2 of the -* License. -* -* 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; if not, write to the Free Software -* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA -* 02110-1301 USA */ #include <linux/init.h> #include <linux/module.h>
PATCH 52/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 503
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
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 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 if not write to the free software foundation 51 franklin street fifth floor boston ma 02110 1301 usa
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- include/linux/kvm_types.h | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-)
include/linux/kvm_types.h +1 -15
@@ -1,18 +1,4 @@ -/* -* 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. -* -* 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; if not, write to the Free Software -* Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. -* -*/ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __KVM_TYPES_H__#define __KVM_TYPES_H__
PATCH 31/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this work is licensed under the terms of the gnu gpl version 2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 48 file(s).
--- arch/sparc/include/asm/adi_64.h | 3 +-- arch/sparc/kernel/adi_64.c | 3 +-- arch/sparc/kernel/sun4v_mcd.S | 3 +-- drivers/acpi/ec_sys.c | 3 +-- drivers/vhost/net.c | 3 +-- drivers/vhost/test.c | 3 +-- drivers/vhost/vhost.c | 3 +-- drivers/vhost/vsock.c | 3 +-- mm/cleancache.c | 3 +-- mm/frontswap.c | 3 +-- mm/ksm.c | 3 +-- net/vmw_vsock/virtio_transport.c | 3 +-- net/vmw_vsock/virtio_transport_common.c | 3 +-- tools/power/acpi/tools/ec/ec_access.c | 3 +-- tools/testing/selftests/kvm/include/kvm_util.h | 4 +--- tools/testing/selftests/kvm/include/sparsebit.h | 4 +--- tools/testing/selftests/kvm/include/test_util.h | 4 +--- tools/testing/selftests/kvm/include/x86_64/processor.h | 4 +--- tools/testing/selftests/kvm/include/x86_64/vmx.h | 4 +--- tools/testing/selftests/kvm/lib/assert.c | 3 +-- tools/testing/selftests/kvm/lib/elf.c | 3 +-- tools/testing/selftests/kvm/lib/io.c | 3 +-- tools/testing/selftests/kvm/lib/kvm_util.c | 3 +-- tools/testing/selftests/kvm/lib/kvm_util_internal.h | 3 +-- tools/testing/selftests/kvm/lib/sparsebit.c | 3 +-- tools/testing/selftests/kvm/lib/x86_64/processor.c | 3 +-- tools/testing/selftests/kvm/lib/x86_64/vmx.c | 3 +-- tools/testing/selftests/kvm/x86_64/kvm_create_max_vcpus.c | 3 +-- tools/testing/selftests/kvm/x86_64/set_sregs_test.c | 4 +--- tools/testing/selftests/kvm/x86_64/state_test.c | 3 +-- tools/testing/selftests/kvm/x86_64/sync_regs_test.c | 3 +-- tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c | 3 +-- tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c | 3 +-- tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c | 4 +--- tools/virtio/ringtest/main.c | 2 +- tools/virtio/ringtest/main.h | 2 +- tools/virtio/ringtest/ring.c | 2 +- tools/virtio/ringtest/virtio_ring_0_9.c | 2 +- 38 files changed, 38 insertions(+), 79 deletions(-)
arch/sparc/include/asm/adi_64.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* adi_64.h: ADI related data structures * * Copyright (c) 2016 Oracle and/or its affiliates. All rights reserved. * Author: Khalid Aziz ([email protected]) -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #ifndef __ASM_SPARC64_ADI_H#define __ASM_SPARC64_ADI_H
arch/sparc/kernel/adi_64.c +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* adi_64.c: support for ADI (Application Data Integrity) feature on * sparc m7 and newer processors. This feature is also known as * SSM (Silicon Secured Memory). * * Copyright (C) 2016 Oracle and/or its affiliates. All rights reserved. * Author: Khalid Aziz ([email protected]) -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #include <linux/init.h> #include <linux/slab.h>
arch/sparc/kernel/sun4v_mcd.S +1 -2
@@ -1,10 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* sun4v_mcd.S: Sun4v memory corruption detected precise exception handler * * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. * Authors: Bob Picco <[email protected]>, * Khalid Aziz <[email protected]> - * - * This work is licensed under the terms of the GNU GPL, version 2. */ .text .align 32
drivers/acpi/ec_sys.c +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ec_sys.c * * Copyright (C) 2010 SUSE Products GmbH/Novell * Author: * Thomas Renninger <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #include <linux/kernel.h>
drivers/vhost/net.c +1 -2
@@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* Copyright (C) 2009 Red Hat, Inc. * Author: Michael S. Tsirkin <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. -* * virtio-net server in host kernel. */
drivers/vhost/test.c +1 -2
@@ -1,8 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* Copyright (C) 2009 Red Hat, Inc. * Author: Michael S. Tsirkin <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. -* * test virtio server in host kernel. */
drivers/vhost/vhost.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* Copyright (C) 2009 Red Hat, Inc. * Copyright (C) 2006 Rusty Russell IBM Corporation *
@@ -6,8 +7,6 @@* Inspiration, some code, and most witty comments come from * Documentation/virtual/lguest/lguest.c, by Rusty Russell * -* This work is licensed under the terms of the GNU GPL, version 2. -* * Generic code for virtio server in host kernel. */
drivers/vhost/vsock.c +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * vhost transport for vsock * * Copyright (C) 2013-2015 Red Hat, Inc. * Author: Asias He <[email protected]> * Stefan Hajnoczi <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #include <linux/miscdevice.h> #include <linux/atomic.h>
mm/cleancache.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Cleancache frontend *
@@ -7,8 +8,6 @@* * Copyright (C) 2009-2010 Oracle Corp. All rights reserved. * Author: Dan Magenheimer -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #include <linux/module.h>
mm/frontswap.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Frontswap frontend *
@@ -7,8 +8,6 @@* * Copyright (C) 2009-2012 Oracle Corp. All rights reserved. * Author: Dan Magenheimer -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #include <linux/mman.h>
mm/ksm.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Memory merging support. *
@@ -10,8 +11,6 @@* Andrea Arcangeli * Chris Wright * Hugh Dickins -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #include <linux/errno.h>
net/vmw_vsock/virtio_transport.c +1 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * virtio transport for vsock *
@@ -7,8 +8,6 @@* * Some of the code is take from Gerd Hoffmann <[email protected]>'s * early virtio-vsock proof-of-concept bits. -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #include <linux/spinlock.h> #include <linux/module.h>
net/vmw_vsock/virtio_transport_common.c +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * common code for virtio vsock * * Copyright (C) 2013-2015 Red Hat, Inc. * Author: Asias He <[email protected]> * Stefan Hajnoczi <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #include <linux/spinlock.h> #include <linux/module.h>
tools/power/acpi/tools/ec/ec_access.c +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ec_access.c * * Copyright (C) 2010 SUSE Linux Products GmbH * Author: * Thomas Renninger <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #include <fcntl.h>
tools/testing/selftests/kvm/include/kvm_util.h +1 -3
@@ -1,10 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * tools/testing/selftests/kvm/include/kvm_util.h * * Copyright (C) 2018, Google LLC. -* -* This work is licensed under the terms of the GNU GPL, version 2. -* */ #ifndef SELFTEST_KVM_UTIL_H #define SELFTEST_KVM_UTIL_H
tools/testing/selftests/kvm/include/sparsebit.h +1 -3
@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * tools/testing/selftests/kvm/include/sparsebit.h * * Copyright (C) 2018, Google LLC. * -* This work is licensed under the terms of the GNU GPL, version 2. -* -* * Header file that describes API to the sparsebit library. * This library provides a memory efficient means of storing * the settings of bits indexed via a uint64_t. Memory usage
tools/testing/selftests/kvm/include/test_util.h +1 -3
@@ -1,10 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * tools/testing/selftests/kvm/include/test_util.h * * Copyright (C) 2018, Google LLC. -* -* This work is licensed under the terms of the GNU GPL, version 2. -* */ #ifndef SELFTEST_KVM_TEST_UTIL_H
tools/testing/selftests/kvm/include/x86_64/processor.h +1 -3
@@ -1,10 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * tools/testing/selftests/kvm/include/x86_64/processor.h * * Copyright (C) 2018, Google LLC. -* -* This work is licensed under the terms of the GNU GPL, version 2. -* */ #ifndef SELFTEST_KVM_PROCESSOR_H
tools/testing/selftests/kvm/include/x86_64/vmx.h +1 -3
@@ -1,10 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * tools/testing/selftests/kvm/include/x86_64/vmx.h * * Copyright (C) 2018, Google LLC. -* -* This work is licensed under the terms of the GNU GPL, version 2. -* */ #ifndef SELFTEST_KVM_VMX_H
tools/testing/selftests/kvm/lib/assert.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * tools/testing/selftests/kvm/lib/assert.c * * Copyright (C) 2018, Google LLC. -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #define _GNU_SOURCE/* for getline(3) and strchrnul(3)*/
tools/testing/selftests/kvm/lib/elf.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * tools/testing/selftests/kvm/lib/elf.c * * Copyright (C) 2018, Google LLC. -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #include "test_util.h"
tools/testing/selftests/kvm/lib/io.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * tools/testing/selftests/kvm/lib/io.c * * Copyright (C) 2018, Google LLC. -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #include "test_util.h"
tools/testing/selftests/kvm/lib/kvm_util.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * tools/testing/selftests/kvm/lib/kvm_util.c * * Copyright (C) 2018, Google LLC. -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #include "test_util.h"
tools/testing/selftests/kvm/lib/kvm_util_internal.h +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * tools/testing/selftests/kvm/lib/kvm_util_internal.h * * Copyright (C) 2018, Google LLC. -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #ifndef SELFTEST_KVM_UTIL_INTERNAL_H
tools/testing/selftests/kvm/lib/sparsebit.c +1 -2
@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Sparse bit array * * Copyright (C) 2018, Google LLC. * Copyright (C) 2018, Red Hat, Inc. (code style cleanup and fuzzing driver) * -* This work is licensed under the terms of the GNU GPL, version 2. -* * This library provides functions to support a memory efficient bit array, * with an index size of 2^64. A sparsebit array is allocated through * the use sparsebit_alloc() and free'd via sparsebit_free(),
tools/testing/selftests/kvm/lib/x86_64/processor.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * tools/testing/selftests/kvm/lib/x86_64/processor.c * * Copyright (C) 2018, Google LLC. -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #define _GNU_SOURCE/* for program_invocation_name */
tools/testing/selftests/kvm/lib/x86_64/vmx.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * tools/testing/selftests/kvm/lib/x86_64/vmx.c * * Copyright (C) 2018, Google LLC. -* -* This work is licensed under the terms of the GNU GPL, version 2. */ #define _GNU_SOURCE/* for program_invocation_name */
tools/testing/selftests/kvm/x86_64/kvm_create_max_vcpus.c +1 -2
@@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * kvm_create_max_vcpus * * Copyright (C) 2019, Google LLC. * -* This work is licensed under the terms of the GNU GPL, version 2. -* * Test for KVM_CAP_MAX_VCPUS and KVM_CAP_MAX_VCPU_ID. */
tools/testing/selftests/kvm/x86_64/set_sregs_test.c +1 -3
@@ -1,16 +1,14 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * KVM_SET_SREGS tests * * Copyright (C) 2018, Google LLC. * -* This work is licensed under the terms of the GNU GPL, version 2. -* * This is a regression test for the bug fixed by the following commit: * d3802286fa0f ("kvm: x86: Disallow illegal IA32_APIC_BASE MSR values") * * That bug allowed a user-mode program that called the KVM_SET_SREGS * ioctl to put a VCPU's local APIC into an invalid state. -* */ #define _GNU_SOURCE/* for program_invocation_short_name */ #include <fcntl.h>
tools/testing/selftests/kvm/x86_64/state_test.c +1 -2
@@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * KVM_GET/SET_* tests * * Copyright (C) 2018, Red Hat, Inc. * -* This work is licensed under the terms of the GNU GPL, version 2. -* * Tests for vCPU state save/restore, including nested guest state. */ #define _GNU_SOURCE/* for program_invocation_short_name */
tools/testing/selftests/kvm/x86_64/sync_regs_test.c +1 -2
@@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Test for x86 KVM_CAP_SYNC_REGS * * Copyright (C) 2018, Google LLC. * -* This work is licensed under the terms of the GNU GPL, version 2. -* * Verifies expected behavior of x86 KVM_CAP_SYNC_REGS functionality, * including requesting an invalid register set, updates to/from values * in kvm_run.s.regs when kvm_valid_regs and kvm_dirty_regs are toggled.
tools/testing/selftests/kvm/x86_64/vmx_close_while_nested_test.c +1 -2
@@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * vmx_close_while_nested * * Copyright (C) 2019, Red Hat, Inc. * -* This work is licensed under the terms of the GNU GPL, version 2. -* * Verify that nothing bad happens if a KVM user exits with open * file descriptors while executing a nested guest. */
tools/testing/selftests/kvm/x86_64/vmx_set_nested_state_test.c +1 -2
@@ -1,10 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * vmx_set_nested_state_test * * Copyright (C) 2019, Google LLC. * -* This work is licensed under the terms of the GNU GPL, version 2. -* * This test verifies the integrity of calling the ioctl KVM_SET_NESTED_STATE. */
tools/testing/selftests/kvm/x86_64/vmx_tsc_adjust_test.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * vmx_tsc_adjust_test * * Copyright (C) 2018, Google LLC. * -* This work is licensed under the terms of the GNU GPL, version 2. -* -* * IA32_TSC_ADJUST test * * According to the SDM, "if an execution of WRMSR to the
tools/virtio/ringtest/main.c +1 -1
@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Red Hat, Inc. * Author: Michael S. Tsirkin <[email protected]> -* This work is licensed under the terms of the GNU GPL, version 2. * * Command line processing and common functions for ring benchmarking. */
tools/virtio/ringtest/main.h +1 -1
@@ -1,7 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016 Red Hat, Inc. * Author: Michael S. Tsirkin <[email protected]> -* This work is licensed under the terms of the GNU GPL, version 2. * * Common macros and functions for ring benchmarking. */
tools/virtio/ringtest/ring.c +1 -1
@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Red Hat, Inc. * Author: Michael S. Tsirkin <[email protected]> -* This work is licensed under the terms of the GNU GPL, version 2. * * Simple descriptor-based ring. virtio 0.9 compatible event index is used for * signalling, unconditionally.
tools/virtio/ringtest/virtio_ring_0_9.c +1 -1
@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Red Hat, Inc. * Author: Michael S. Tsirkin <[email protected]> -* This work is licensed under the terms of the GNU GPL, version 2. * * Partial implementation of virtio 0.9. event index is used for signalling, * unconditionally. Design roughly follows linux kernel implementation in order
PATCH 48/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 499
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this work is licensed under the terms of the gnu gpl version 2 see the copying file in the top level directory
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 35 file(s).
--- arch/x86/include/asm/kvm_host.h | 5 +---- arch/x86/include/asm/virtext.h | 4 +--- arch/x86/kvm/cpuid.c | 5 +---- arch/x86/kvm/debugfs.c | 5 +---- arch/x86/kvm/emulate.c | 4 +--- arch/x86/kvm/hyperv.c | 5 +---- arch/x86/kvm/hyperv.h | 5 +---- arch/x86/kvm/lapic.c | 4 +--- arch/x86/kvm/mmu.c | 5 +---- arch/x86/kvm/mmu_audit.c | 5 +---- arch/x86/kvm/mtrr.c | 4 +--- arch/x86/kvm/page_track.c | 4 +--- arch/x86/kvm/paging_tmpl.h | 5 +---- arch/x86/kvm/pmu.c | 5 +---- arch/x86/kvm/pmu_amd.c | 4 +--- arch/x86/kvm/svm.c | 5 +---- arch/x86/kvm/vmx/pmu_intel.c | 5 +---- arch/x86/kvm/vmx/vmx.c | 5 +---- arch/x86/kvm/x86.c | 5 +---- fs/squashfs/decompressor_multi.c | 4 +--- fs/squashfs/decompressor_multi_percpu.c | 4 +--- fs/squashfs/decompressor_single.c | 4 +--- fs/squashfs/file_cache.c | 4 +--- fs/squashfs/file_direct.c | 4 +--- fs/squashfs/lz4_wrapper.c | 4 +--- fs/squashfs/page_actor.c | 4 +--- fs/squashfs/page_actor.h | 4 +--- fs/userfaultfd.c | 4 +--- include/linux/kvm_host.h | 5 +---- mm/huge_memory.c | 4 +--- mm/mmu_notifier.c | 4 +--- mm/userfaultfd.c | 4 +--- tools/kvm/kvm_stat/kvm_stat | 3 +-- tools/testing/selftests/vm/userfaultfd.c | 4 +--- virt/kvm/kvm_main.c | 5 +---- 35 files changed, 35 insertions(+), 119 deletions(-)
arch/x86/include/asm/kvm_host.h +1 -4
@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Kernel-based Virtual Machine driver for Linux * * This header defines architecture specific interfaces, x86 version -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #ifndef _ASM_X86_KVM_HOST_H
arch/x86/include/asm/virtext.h +1 -3
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* CPU virtualization extensions handling * * This should carry the code for handling CPU virtualization extensions
@@ -8,9 +9,6 @@* Copyright (C) 2008, Red Hat Inc. * * Contains code from KVM, Copyright (C) 2006 Qumranet, Inc. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #ifndef _ASM_X86_VIRTEX_H#define _ASM_X86_VIRTEX_H
arch/x86/kvm/cpuid.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux * cpuid support routines
@@ -6,10 +7,6 @@* * Copyright 2011 Red Hat, Inc. and/or its affiliates. * Copyright IBM Corporation, 2008 -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/kvm_host.h>
arch/x86/kvm/debugfs.c +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux * * Copyright 2016 Red Hat, Inc. and/or its affiliates. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/kvm_host.h> #include <linux/debugfs.h>
arch/x86/kvm/emulate.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** * emulate.c *
@@ -14,9 +15,6 @@* Avi Kivity <[email protected]> * Yaniv Kamay <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * From: xen-unstable 10676:af9809f51f81a3c43f276f00c81a52ef558afda4 */
arch/x86/kvm/hyperv.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * KVM Microsoft Hyper-V emulation *
@@ -15,10 +16,6 @@* Amit Shah <[email protected]> * Ben-Ami Yassour <[email protected]> * Andrey Smetanin <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include "x86.h"
arch/x86/kvm/hyperv.h +1 -4
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * KVM Microsoft Hyper-V emulation *
@@ -15,10 +16,6 @@* Amit Shah <[email protected]> * Ben-Ami Yassour <[email protected]> * Andrey Smetanin <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #ifndef __ARCH_X86_KVM_HYPERV_H__
arch/x86/kvm/lapic.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Local APIC virtualization
@@ -13,9 +14,6 @@* Yaozu (Eddie) Dong <[email protected]> * * Based on Xen 3.1 code, Copyright (c) 2004, Intel Corporation. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/kvm_host.h>
arch/x86/kvm/mmu.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux *
@@ -12,10 +13,6 @@* Authors: * Yaniv Kamay <[email protected]> * Avi Kivity <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include "irq.h"
arch/x86/kvm/mmu_audit.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * mmu_audit.c: *
@@ -11,10 +12,6 @@* Avi Kivity <[email protected]> * Marcelo Tosatti <[email protected]> * Xiao Guangrong <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/ratelimit.h>
arch/x86/kvm/mtrr.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * vMTRR implementation *
@@ -11,9 +12,6 @@* Marcelo Tosatti <[email protected]> * Paolo Bonzini <[email protected]> * Xiao Guangrong <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/kvm_host.h>
arch/x86/kvm/page_track.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Support KVM gust page tracking *
@@ -8,9 +9,6 @@* * Author: * Xiao Guangrong <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/kvm_host.h>
arch/x86/kvm/paging_tmpl.h +1 -4
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Kernel-based Virtual Machine driver for Linux *
@@ -12,10 +13,6 @@* Authors: * Yaniv Kamay <[email protected]> * Avi Kivity <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ /*
arch/x86/kvm/pmu.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine -- Performance Monitoring Unit support *
@@ -7,10 +8,6 @@* Avi Kivity <[email protected]> * Gleb Natapov <[email protected]> * Wei Huang <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/types.h>
arch/x86/kvm/pmu_amd.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * KVM PMU support for AMD *
@@ -6,9 +7,6 @@* Author: * Wei Huang <[email protected]> * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * Implementation is based on pmu_intel.c file */ #include <linux/types.h>
arch/x86/kvm/svm.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux *
@@ -9,10 +10,6 @@* Authors: * Yaniv Kamay <[email protected]> * Avi Kivity <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #define pr_fmt (fmt) "SVM: " fmt
arch/x86/kvm/vmx/pmu_intel.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * KVM PMU support for Intel CPUs *
@@ -6,10 +7,6 @@* Authors: * Avi Kivity <[email protected]> * Gleb Natapov <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/types.h> #include <linux/kvm_host.h>
arch/x86/kvm/vmx/vmx.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux *
@@ -10,10 +11,6 @@* Authors: * Avi Kivity <[email protected]> * Yaniv Kamay <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/frame.h>
arch/x86/kvm/x86.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux *
@@ -13,10 +14,6 @@* Yaniv Kamay <[email protected]> * Amit Shah <[email protected]> * Ben-Ami Yassour <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <linux/kvm_host.h>
fs/squashfs/decompressor_multi.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Minchan Kim <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/types.h> #include <linux/mutex.h>
fs/squashfs/decompressor_multi_percpu.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/types.h>
fs/squashfs/decompressor_single.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/types.h>
fs/squashfs/file_cache.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/fs.h>
fs/squashfs/file_direct.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/fs.h>
fs/squashfs/lz4_wrapper.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013, 2014 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/buffer_head.h>
fs/squashfs/page_actor.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/kernel.h>
fs/squashfs/page_actor.h +1 -3
@@ -1,11 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef PAGE_ACTOR_H #define PAGE_ACTOR_H /* * Copyright (c) 2013 * Phillip Lougher <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #ifndef CONFIG_SQUASHFS_FILE_DIRECT
fs/userfaultfd.c +1 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * fs/userfaultfd.c *
@@ -5,9 +6,6 @@* Copyright (C) 2008-2009 Red Hat, Inc. * Copyright (C) 2015 Red Hat, Inc. * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * Some part derived from fs/eventfd.c (anon inode setup) and * mm/ksm.c (mm hashing). */
include/linux/kvm_host.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ #ifndef __KVM_HOST_H#define __KVM_HOST_H -/* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -*/ #include <linux/types.h> #include <linux/hardirq.h>
mm/huge_memory.c +1 -3
@@ -1,8 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2009 Red Hat, Inc. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmt
mm/mmu_notifier.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * linux/mm/mmu_notifier.c * * Copyright (C) 2008 Qumranet, Inc. * Copyright (C) 2008 SGI * Christoph Lameter <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/rculist.h>
mm/userfaultfd.c +1 -3
@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * mm/userfaultfd.c * * Copyright (C) 2015 Red Hat, Inc. -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. */ #include <linux/mm.h>
tools/kvm/kvm_stat/kvm_stat +1 -2
@@ -1,4 +1,5 @@ #!/usr/bin/env python3 +# SPDX-License-Identifier: GPL-2.0-only # # top-like utility for displaying kvm statistics #
@@ -8,8 +9,6 @@ # Authors: # Avi Kivity <[email protected]> # -# This work is licensed under the terms of the GNU GPL, version 2. See -# the COPYING file in the top-level directory. """The kvm_stat module outputs statistics about running KVM VMs Three different ways of output formatting are available:
tools/testing/selftests/vm/userfaultfd.c +1 -3
@@ -1,11 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Stress userfaultfd syscall. * * Copyright (C) 2015 Red Hat, Inc. * -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* * This test allocates two virtual areas and bounces the physical * memory across the two virtual areas (from area_src to area_dst) * using userfaultfd.
virt/kvm/kvm_main.c +1 -4
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Kernel-based Virtual Machine driver for Linux *
@@ -10,10 +11,6 @@* Authors: * Avi Kivity <[email protected]> * Yaniv Kamay <[email protected]> -* -* This work is licensed under the terms of the GNU GPL, version 2. See -* the COPYING file in the top-level directory. -* */ #include <kvm/iodev.h>
PATCH 55/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 506
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this software program is licensed subject to the gnu general public license gpl version 2 june 1991 available at http www fsf org copyleft gpl html
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
--- arch/arm/mach-mmp/pm-mmp2.c | 4 +--- arch/arm/mach-mmp/pm-mmp2.h | 4 +--- arch/arm/mach-mmp/pm-pxa910.c | 4 +--- arch/arm/mach-mmp/pm-pxa910.h | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-)
arch/arm/mach-mmp/pm-mmp2.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * MMP2 Power Management Routines * -* This software program is licensed subject to the GNU General Public License -* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html -* * (C) Copyright 2012 Marvell International Ltd. * All Rights Reserved */
arch/arm/mach-mmp/pm-mmp2.h +1 -3
@@ -1,9 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * MMP2 Power Management Routines * -* This software program is licensed subject to the GNU General Public License -* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html -* * (C) Copyright 2010 Marvell International Ltd. * All Rights Reserved */
arch/arm/mach-mmp/pm-pxa910.c +1 -3
@@ -1,9 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * PXA910 Power Management Routines * -* This software program is licensed subject to the GNU General Public License -* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html -* * (C) Copyright 2009 Marvell International Ltd. * All Rights Reserved */
arch/arm/mach-mmp/pm-pxa910.h +1 -3
@@ -1,9 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * PXA910 Power Management Routines * -* This software program is licensed subject to the GNU General Public License -* (GPL).Version 2,June 1991, available at http://www.fsf.org/copyleft/gpl.html -* * (C) Copyright 2009 Marvell International Ltd. * All Rights Reserved */
PATCH 49/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 2 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 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 #
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4122 file(s).
--- arch/arc/Kconfig | 5 +---- arch/arc/Makefile | 5 +---- arch/arc/boot/dts/axc001.dtsi | 5 +---- arch/arc/boot/dts/axc003.dtsi | 5 +---- arch/arc/boot/dts/axc003_idu.dtsi | 5 +---- arch/arc/boot/dts/axs101.dts | 5 +---- arch/arc/boot/dts/axs103.dts | 5 +---- arch/arc/boot/dts/axs103_idu.dts | 5 +---- arch/arc/boot/dts/axs10x_mb.dtsi | 5 +---- arch/arc/boot/dts/haps_hs.dts | 5 +---- arch/arc/boot/dts/haps_hs_idu.dts | 5 +---- arch/arc/boot/dts/hsdk.dts | 5 +---- arch/arc/boot/dts/nsim_700.dts | 5 +---- arch/arc/boot/dts/nsim_hs.dts | 5 +---- arch/arc/boot/dts/nsim_hs_idu.dts | 5 +----
<SNIP>
arch/x86/mm/mem_encrypt_boot.S | 5 +---- arch/x86/mm/mem_encrypt_identity.c | 5 +---- arch/x86/platform/geode/alix.c | 6 +----- arch/x86/platform/geode/geos.c | 5 +---- arch/x86/platform/geode/net5501.c | 6 +----- arch/x86/um/delay.c | 5 +---- arch/x86/um/mem_32.c | 5 +---- arch/x86/um/vdso/um_vdso.c | 5 +---- arch/x86/um/vdso/vma.c | 5 +---- arch/xtensa/boot/boot-elf/boot.lds.S | 5 +---- arch/xtensa/include/asm/futex.h | 5 +---- arch/xtensa/include/asm/pgalloc.h | 5 +---- arch/xtensa/include/asm/pgtable.h | 5 +---- arch/xtensa/kernel/perf_event.c | 5 +---- arch/xtensa/mm/ioremap.c | 5 +---- crypto/aes_ti.c | 5 +---- crypto/gcm.c | 5 +---- crypto/ghash-generic.c | 5 +---- crypto/michael_mic.c | 5 +---- drivers/acpi/acpi_amba.c | 5 +---- drivers/acpi/acpi_apd.c | 5 +---- drivers/acpi/acpi_cmos_rtc.c | 5 +---- drivers/acpi/acpi_configfs.c | 5 +----
<SNIP>
drivers/watchdog/mt7621_wdt.c | 5 +---- drivers/watchdog/rt2880_wdt.c | 5 +---- drivers/watchdog/txx9wdt.c | 5 +---- drivers/watchdog/wdat_wdt.c | 5 +---- drivers/xen/sys-hypervisor.c | 5 +---- fs/adfs/dir.c | 5 +---- fs/adfs/dir_f.c | 5 +---- fs/adfs/dir_f.h | 5 +---- fs/adfs/dir_fplus.c | 5 +---- fs/adfs/dir_fplus.h | 5 +---- fs/adfs/inode.c | 5 +---- fs/adfs/map.c | 5 +---- fs/adfs/super.c | 5 +---- fs/compat.c | 5 +---- fs/efivarfs/file.c | 5 +---- fs/efivarfs/inode.c | 5 +---- fs/efivarfs/internal.h | 5 +---- fs/efivarfs/super.c | 5 +---- fs/overlayfs/copy_up.c | 5 +---- fs/overlayfs/dir.c | 5 +---- fs/overlayfs/export.c | 5 +---- fs/overlayfs/file.c | 5 +---- fs/overlayfs/inode.c | 5 +---- fs/overlayfs/namei.c | 5 +---- fs/overlayfs/overlayfs.h | 5 +---- fs/overlayfs/ovl_entry.h | 5 +---- fs/overlayfs/readdir.c | 5 +---- fs/overlayfs/super.c | 5 +---- fs/overlayfs/util.c | 5 +---- fs/tracefs/inode.c | 6 +----- include/asm-generic/ftrace.h | 5 +---- include/asm-generic/seccomp.h | 5 +---- include/crypto/sha1_base.h | 5 +---- include/crypto/sha256_base.h | 5 +---- include/crypto/sha512_base.h | 5 +---- include/drm/bridge/mhl.h | 5 +---- include/drm/drm_mipi_dsi.h | 5 +---- include/dt-bindings/clock/ath79-clk.h | 6 +----- include/dt-bindings/clock/axis,artpec6-clkctrl.h | 5 +---- include/dt-bindings/clock/clps711x-clock.h | 6 +-----
<SNIP>
include/video/platform_lcd.h | 6 +----- include/video/pxa168fb.h | 5 +---- include/video/samsung_fimd.h | 5 +---- include/video/w100fb.h | 5 +---- kernel/bpf/inode.c | 5 +---- kernel/compat.c | 5 +---- kernel/sched/debug.c | 5 +---- lib/clz_ctz.c | 4 +--- lib/cpu_rmap.c | 5 +---- lib/decompress_unlz4.c | 5 +---- lib/jedec_ddr_data.c | 5 +---- lib/raid6/neon.c | 5 +---- lib/rhashtable.c | 5 +---- lib/test_kasan.c | 6 +----- lib/test_rhashtable.c | 5 +---- lib/ubsan.c | 6 +----- mm/usercopy.c | 6 +----- mm/vmpressure.c | 5 +---- net/802/garp.c | 5 +---- net/802/mrp.c | 5 +---- net/802/stp.c | 5 +----
<SNIP>
net/sched/sch_sfb.c | 6 +----- net/strparser/strparser.c | 5 +---- net/wireless/debugfs.c | 5 +---- net/wireless/ocb.c | 5 +---- samples/vfio-mdev/mtty.c | 6 +----- scripts/adjust_autoksyms.sh | 4 +--- security/inode.c | 5 +---- security/lsm_audit.c | 5 +---- security/selinux/avc.c | 5 +---- security/selinux/hooks.c | 5 +---- security/selinux/include/audit.h | 5 +---- security/selinux/include/netif.h | 5 +---- security/selinux/include/objsec.h | 5 +---- security/selinux/netif.c | 5 +---- security/selinux/netlink.c | 5 +---- security/selinux/nlmsgtab.c | 5 +---- security/selinux/ss/status.c | 5 +---- security/selinux/xfrm.c | 5 +---- security/smack/smack_lsm.c | 5 +---- security/smack/smack_netfilter.c | 5 +---- security/yama/yama_lsm.c | 6 +----- sound/ac97/ac97_core.h | 5 +---- sound/ac97/bus.c | 5 +---- sound/ac97/codec.c | 5 +---- sound/ac97/snd_ac97_compat.c | 5 +----
<SNIP>
sound/soc/ux500/ux500_msp_i2s.h | 5 +---- sound/soc/ux500/ux500_pcm.c | 5 +---- sound/soc/ux500/ux500_pcm.h | 5 +---- sound/soc/xtensa/xtfpga-i2s.c | 5 +---- sound/spi/at73c213.c | 5 +---- tools/firmware/ihex2fw.c | 5 +---- tools/gpio/gpio-event-mon.c | 5 +---- tools/gpio/gpio-hammer.c | 5 +---- tools/gpio/gpio-utils.c | 5 +---- tools/gpio/gpio-utils.h | 4 +--- tools/gpio/lsgpio.c | 5 +---- tools/iio/iio_event_monitor.c | 5 +---- tools/iio/iio_generic_buffer.c | 6 +----- tools/iio/iio_utils.c | 5 +---- tools/iio/iio_utils.h | 5 +---- tools/iio/lsiio.c | 5 +---- tools/perf/arch/arm/util/dwarf-regs.c | 5 +---- tools/perf/arch/arm64/util/dwarf-regs.c | 5 +---- tools/perf/arch/arm64/util/sym-handling.c | 4 +--- tools/perf/arch/powerpc/util/sym-handling.c | 4 +--- tools/perf/util/namespaces.c | 4 +--- tools/perf/util/namespaces.h | 4 +--- tools/power/acpi/tools/acpidbg/acpidbg.c | 5 +---- tools/testing/selftests/gpio/gpio-mockup-chardev.c | 5 +---- tools/testing/selftests/ia64/aliasing-test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr.h | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_default_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_explicit_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_inherit_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_sysfs_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_sysfs_thread_test.c | 5 +---- tools/testing/selftests/powerpc/dscr/dscr_user_test.c | 5 +---- tools/wmi/dell-smbios-example.c | 5 +---- virt/kvm/vfio.c | 5 +---- virt/lib/irqbypass.c | 5 +---- 4119 files changed, 4119 insertions(+), 17022 deletions(-)
arch/arc/Kconfig +1 -4
@@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) # -# 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. -# config ARC def_bool y
arch/arc/Makefile +1 -4
@@ -1,10 +1,7 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) # -# 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. -# KBUILD_DEFCONFIG := nsim_hs_defconfig
arch/arc/boot/dts/axc001.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/axc003.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/axc003_idu.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014, 2015 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/axs101.dts +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) * * ARC AXS101 S/W development platform - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/axs103.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/axs103_idu.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/axs10x_mb.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Support for peripherals on the AXS10x mainboard * * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {
arch/arc/boot/dts/haps_hs.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016-2014 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/haps_hs_idu.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016-2014 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/hsdk.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/nsim_700.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/nsim_hs.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/nsim_hs_idu.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/nsimosci.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/nsimosci_hs.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/nsimosci_hs_idu.dts +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/skeleton.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2012 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/skeleton_hs.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {
arch/arc/boot/dts/skeleton_hs_idu.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {
arch/arc/boot/dts/vdk_axc003.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013, 2014 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/vdk_axc003_idu.dtsi +1 -4
@@ -1,9 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2014, 2015 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ /*
arch/arc/boot/dts/vdk_axs10x_mb.dtsi +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Support for peripherals on the AXS10x mainboard (VDK version) * * Copyright (C) 2013-15 Synopsys, Inc. (www.synopsys.com) - * - * 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. */ / {
arch/arc/boot/dts/vdk_hs38.dts +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) * * ARC HS38 Virtual Development Kit (VDK) - * - * 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. */ /dts-v1/;
arch/arc/boot/dts/vdk_hs38_smp.dts +1 -4
@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) * * ARC HS38 Virtual Development Kit, SMP version (VDK) - * - * 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. */ /dts-v1/;
arch/arc/include/asm/arcregs.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_ARCREGS_H
arch/arc/include/asm/asm-offsets.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #include <generated/asm-offsets.h>
arch/arc/include/asm/atomic.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_ATOMIC_H
arch/arc/include/asm/barrier.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_BARRIER_H
arch/arc/include/asm/bitops.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_BITOPS_H
arch/arc/include/asm/bug.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_BUG_H
arch/arc/include/asm/cache.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ARC_ASM_CACHE_H
arch/arc/include/asm/cacheflush.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * vineetg: May 2011: for Non-aliasing VIPT D-cache following can be NOPs * -flush_cache_dup_mm (fork) * -likewise for flush_cache_mm (exit/execve)
arch/arc/include/asm/checksum.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Joern Rennecke <[email protected]>: Jan 2012 * -Insn Scheduling improvements to csum core routines. * = csum_fold( ) largely derived from ARM version.
arch/arc/include/asm/cmpxchg.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_CMPXCHG_H
arch/arc/include/asm/current.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Vineetg: May 16th, 2008 * - Current macro is now implemented as "global register" r25 */
arch/arc/include/asm/delay.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Delay routines using pre computed loops_per_jiffy value. * * vineetg: Feb 2012
arch/arc/include/asm/disasm.h +1 -4
@@ -1,12 +1,9 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * several functions that help interpret ARC instructions * used for unaligned accesses, kprobes and kgdb * * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ARC_DISASM_H__
arch/arc/include/asm/dma.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef ASM_ARC_DMA_H
arch/arc/include/asm/dwarf.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016-17 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef _ASM_ARC_DWARF_H
arch/arc/include/asm/elf.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_ELF_H
arch/arc/include/asm/entry-compact.h +1 -4
@@ -1,11 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Vineetg: March 2009 (Supporting 2 levels of Interrupts) * Stack switching code can no longer reliably rely on the fact that * if we are NOT in user mode, stack is switched to kernel mode.
arch/arc/include/asm/entry.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_ENTRY_H
arch/arc/include/asm/exec.h +1 -4
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) -* -* 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. */ #ifndef __ASM_ARC_EXEC_H
arch/arc/include/asm/futex.h +1 -4
@@ -1,10 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * -* 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. -* * Vineetg: August 2010: From Android kernel work */
arch/arc/include/asm/highmem.h +1 -5
@@ -1,10 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2015 Synopsys, Inc. (www.synopsys.com) -* -* 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. -* */ #ifndef _ASM_HIGHMEM_H
arch/arc/include/asm/hugepage.h +1 -0
@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /*
PATCH 53/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 504
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license 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 if not write to the free software foundation inc 51 franklin st fifth floor boston ma 02110 1301 usa
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 8 file(s).
--- arch/mips/lib/iomap_copy.c | 15 +-------------- arch/x86/lib/iomap_copy_64.S | 14 +------------- include/linux/io-mapping.h | 14 +------------- include/linux/io.h | 14 +------------- lib/iomap_copy.c | 14 +------------- virt/kvm/async_pf.c | 14 +------------- virt/kvm/async_pf.h | 14 +------------- virt/kvm/eventfd.c | 14 +------------- 8 files changed, 8 insertions(+), 105 deletions(-)
arch/mips/lib/iomap_copy.c +1 -14
@@ -1,17 +1,4 @@ -/* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* 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; if not, write to the Free Software Foundation, -* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. -*/ +// SPDX-License-Identifier: GPL-2.0-only #include <linux/export.h> #include <linux/io.h>
arch/x86/lib/iomap_copy_64.S +1 -13
@@ -1,18 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2006 PathScale, Inc. All Rights Reserved. - * - * This file is free software; you can redistribute it and/or modify - * it under the terms of version 2 of the GNU General Public License - * 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; if not, write to the Free Software Foundation, - * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/linkage.h>
include/linux/io-mapping.h +1 -13
@@ -1,18 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright © 2008 Keith Packard <[email protected]> -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* 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; if not, write to the Free Software Foundation, -* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _LINUX_IO_MAPPING_H
include/linux/io.h +1 -13
@@ -1,18 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2006 PathScale, Inc. All Rights Reserved. -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* 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; if not, write to the Free Software Foundation, -* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef _LINUX_IO_H
lib/iomap_copy.c +1 -13
@@ -1,18 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2006 PathScale, Inc. All Rights Reserved. -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* 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; if not, write to the Free Software Foundation, -* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/export.h>
virt/kvm/async_pf.c +1 -13
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * kvm asynchronous fault support *
@@ -5,19 +6,6 @@* * Author: * Gleb Natapov <[email protected]> -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* 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; if not, write to the Free Software Foundation, -* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/kvm_host.h>
virt/kvm/async_pf.h +1 -13
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * kvm asynchronous fault support *
@@ -5,19 +6,6 @@* * Author: * Gleb Natapov <[email protected]> -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* 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; if not, write to the Free Software Foundation, -* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #ifndef __KVM_ASYNC_PF_H__
virt/kvm/eventfd.c +1 -13
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * kvm eventfd support - use eventfd objects to signal various KVM events *
@@ -6,19 +7,6 @@* * Author: * Gregory Haskins <[email protected]> -* -* This file is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License -* 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; if not, write to the Free Software Foundation, -* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. */ #include <linux/kvm_host.h>
PATCH 57/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 508
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of the modified gnu general public license delivered with the linux kernel source 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 find a copy of the gnu general public license in usr src linux copying
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
--- arch/arm/kernel/fiqasm.S | 1 + drivers/net/hamradio/scc.c | 12 +----------- 2 files changed, 2 insertions(+), 11 deletions(-)
arch/arm/kernel/fiqasm.S +1 -0
@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * linux/arch/arm/kernel/fiqasm.S *
drivers/net/hamradio/scc.c +1 -11
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only #define RCS_ID "$Id: scc.c,v 1.75 1998/11/04 15:15:01 jreuter Exp jreuter $"#define VERSION "3.0"
@@ -41,17 +42,6 @@ allowance/licence from the designer of the SCC Board and/or the MODEM. - This program is free software; you can redistribute it and/or modify - it under the terms of the (modified) GNU General Public License - delivered with the Linux kernel source. - - 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 find a copy of the GNU General Public License in - /usr/src/linux/COPYING ; ********************************************************************
PATCH 56/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 507
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license 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 if not write to the free software foundation inc 59 temple place suite 330 boston ma 02111 1307 usa the full gnu general public license is included in this distribution in the file called license
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 8 file(s).
--- drivers/net/wireless/intel/ipw2x00/ipw2100.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/ipw2100.h | 16 +--------------- drivers/net/wireless/intel/ipw2x00/ipw2200.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/ipw2200.h | 16 +--------------- drivers/net/wireless/intel/ipw2x00/libipw_geo.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/libipw_module.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/libipw_tx.c | 16 +--------------- drivers/net/wireless/intel/ipw2x00/libipw_wx.c | 16 +--------------- 8 files changed, 8 insertions(+), 120 deletions(-)
drivers/net/wireless/intel/ipw2x00/ipw2100.c +1 -15
@@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License 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; if not, write to the Free Software Foundation, Inc., 59 -Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -The full GNU General Public License is included in this distribution in the -file called LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/ipw2100.h +1 -15
@@ -1,22 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /****************************************************************************** Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License 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; if not, write to the Free Software Foundation, Inc., 59 -Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -The full GNU General Public License is included in this distribution in the -file called LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/ipw2200.c +1 -15
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved.
@@ -8,21 +9,6 @@ By Gerald Combs <[email protected]> Copyright 1998 Gerald Combs - This program is free software; you can redistribute it and/or modify it - under the terms of version 2 of the GNU General Public License 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; if not, write to the Free Software Foundation, Inc., 59 - Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - The full GNU General Public License is included in this distribution in the - file called LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/ipw2200.h +1 -15
@@ -1,22 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /****************************************************************************** Copyright(c) 2003 - 2006 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License 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; if not, write to the Free Software Foundation, Inc., 59 -Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -The full GNU General Public License is included in this distribution in the -file called LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/libipw_geo.c +1 -15
@@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2005 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License 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; if not, write to the Free Software Foundation, Inc., 59 -Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -The full GNU General Public License is included in this distribution in the -file called LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/libipw_module.c +1 -15
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /******************************************************************************* Copyright(c) 2004-2005 Intel Corporation. All rights reserved.
@@ -8,21 +9,6 @@ <[email protected]> Copyright (c) 2002-2003, Jouni Malinen <[email protected]> - This program is free software; you can redistribute it and/or modify it - under the terms of version 2 of the GNU General Public License 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; if not, write to the Free Software Foundation, Inc., 59 - Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - The full GNU General Public License is included in this distribution in the - file called LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/libipw_tx.c +1 -15
@@ -1,22 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2003 - 2005 Intel Corporation. All rights reserved. -This program is free software; you can redistribute it and/or modify it -under the terms of version 2 of the GNU General Public License 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; if not, write to the Free Software Foundation, Inc., 59 -Temple Place - Suite 330, Boston, MA 02111-1307, USA. - -The full GNU General Public License is included in this distribution in the -file called LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
drivers/net/wireless/intel/ipw2x00/libipw_wx.c +1 -15
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /****************************************************************************** Copyright(c) 2004-2005 Intel Corporation. All rights reserved.
@@ -8,21 +9,6 @@ <[email protected]> Copyright (c) 2002-2003, Jouni Malinen <[email protected]> - This program is free software; you can redistribute it and/or modify it - under the terms of version 2 of the GNU General Public License 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; if not, write to the Free Software Foundation, Inc., 59 - Temple Place - Suite 330, Boston, MA 02111-1307, USA. - - The full GNU General Public License is included in this distribution in the - file called LICENSE. Contact Information: Intel Linux Wireless <[email protected]>
PATCH 54/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 505
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
gplv2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 58 file(s).
--- arch/powerpc/kernel/swsusp_64.c | 3 +-- arch/powerpc/kernel/swsusp_asm64.S | 3 +-- drivers/char/tpm/tpmrm-dev.c | 3 +-- lib/test_stackinit.c | 2 +- net/mac80211/debugfs.c | 4 +--- samples/bpf/xdp_redirect_cpu_user.c | 3 ++- scripts/coccinelle/api/alloc/alloc_cast.cocci | 5 +++-- scripts/coccinelle/api/alloc/pool_zalloc-simple.cocci | 3 ++- scripts/coccinelle/api/alloc/zalloc-simple.cocci | 7 ++++--- scripts/coccinelle/api/check_bq27xxx_data.cocci | 3 ++- scripts/coccinelle/api/err_cast.cocci | 7 ++++--- scripts/coccinelle/api/kstrdup.cocci | 7 ++++--- scripts/coccinelle/api/memdup.cocci | 7 ++++--- scripts/coccinelle/api/memdup_user.cocci | 7 ++++--- scripts/coccinelle/api/pm_runtime.cocci | 3 ++- scripts/coccinelle/api/ptr_ret.cocci | 5 +++-- scripts/coccinelle/api/resource_size.cocci | 7 ++++--- scripts/coccinelle/free/clk_put.cocci | 5 +++-- scripts/coccinelle/free/devm_free.cocci | 5 +++-- scripts/coccinelle/free/ifnullfree.cocci | 3 ++- scripts/coccinelle/free/iounmap.cocci | 5 +++-- scripts/coccinelle/free/kfree.cocci | 7 ++++--- scripts/coccinelle/free/kfreeaddr.cocci | 3 ++- scripts/coccinelle/free/pci_free_consistent.cocci | 3 ++- scripts/coccinelle/iterators/device_node_continue.cocci | 3 ++- scripts/coccinelle/iterators/fen.cocci | 7 ++++--- scripts/coccinelle/iterators/itnull.cocci | 7 ++++--- scripts/coccinelle/iterators/list_entry_update.cocci | 7 ++++--- scripts/coccinelle/iterators/use_after_iter.cocci | 5 +++-- scripts/coccinelle/locks/call_kern.cocci | 7 ++++--- scripts/coccinelle/locks/double_lock.cocci | 7 ++++--- scripts/coccinelle/locks/flags.cocci | 7 ++++--- scripts/coccinelle/locks/mini_lock.cocci | 7 ++++--- scripts/coccinelle/misc/array_size.cocci | 3 ++- scripts/coccinelle/misc/badty.cocci | 3 ++- scripts/coccinelle/misc/boolconv.cocci | 3 ++- scripts/coccinelle/misc/boolinit.cocci | 5 +++-- scripts/coccinelle/misc/bugon.cocci | 3 ++- scripts/coccinelle/misc/cond_no_effect.cocci | 3 ++- scripts/coccinelle/misc/cstptr.cocci | 5 +++-- scripts/coccinelle/misc/doubleinit.cocci | 7 ++++--- scripts/coccinelle/misc/ifaddr.cocci | 5 +++-- scripts/coccinelle/misc/ifcol.cocci | 7 ++++--- scripts/coccinelle/misc/noderef.cocci | 5 +++-- scripts/coccinelle/misc/orplus.cocci | 5 +++-- scripts/coccinelle/misc/returnvar.cocci | 3 ++- scripts/coccinelle/misc/semicolon.cocci | 3 ++- scripts/coccinelle/misc/warn.cocci | 5 +++-- scripts/coccinelle/null/badzero.cocci | 5 +++-- scripts/coccinelle/null/deref_null.cocci | 7 ++++--- scripts/coccinelle/null/eno.cocci | 7 ++++--- scripts/coccinelle/null/kmerr.cocci | 7 ++++--- scripts/coccinelle/tests/doublebitand.cocci | 7 ++++--- scripts/coccinelle/tests/doubletest.cocci | 7 ++++--- scripts/coccinelle/tests/odd_ptr_err.cocci | 5 +++-- scripts/coccinelle/tests/unsigned_lesser_than_zero.cocci | 3 ++- tools/laptop/freefall/freefall.c | 3 +-- 57 files changed, 164 insertions(+), 119 deletions(-)
arch/powerpc/kernel/swsusp_64.c +1 -2
@@ -1,9 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * PowerPC 64-bit swsusp implementation * * Copyright 2006 Johannes Berg <[email protected]> -* -* GPLv2 */ #include <asm/iommu.h>
arch/powerpc/kernel/swsusp_asm64.S +1 -2
@@ -1,9 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * PowerPC 64-bit swsusp implementation * * Copyright 2006 Johannes Berg <[email protected]> - * - * GPLv2 */ #include <linux/threads.h>
drivers/char/tpm/tpmrm-dev.c +1 -2
@@ -1,7 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2017 [email protected] -* -* GPLv2 */ #include <linux/slab.h> #include "tpm-dev.h"
lib/test_stackinit.c +1 -1
@@ -1,4 +1,4 @@ -// SPDX-Licenses: GPLv2 +// SPDX-License-Identifier: GPL-2.0-only /* * Test cases for compiler-based stack variable zeroing via future * compiler flags or CONFIG_GCC_PLUGIN_STRUCTLEAK*.
net/mac80211/debugfs.c +1 -3
@@ -1,12 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * mac80211 debugfs for wireless PHYs * * Copyright 2007 Johannes Berg <[email protected]> * Copyright 2013-2014 Intel Mobile Communications GmbH * Copyright (C) 2018 - 2019 Intel Corporation -* -* GPLv2 -* */ #include <linux/debugfs.h>
samples/bpf/xdp_redirect_cpu_user.c +2 -1
@@ -1,4 +1,5 @@ -/* GPLv2 Copyright(c) 2017 Jesper Dangaard Brouer, Red Hat, Inc. +// SPDX-License-Identifier: GPL-2.0-only +/* Copyright(c) 2017 Jesper Dangaard Brouer, Red Hat, Inc. */ static const char *__doc__ =" XDP redirect with a CPU-map type \"BPF_MAP_TYPE_CPUMAP\"" ;
scripts/coccinelle/api/alloc/alloc_cast.cocci +3 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Remove casting the values returned by memory allocation functions /// like kmalloc, kzalloc, kmem_cache_alloc, kmem_cache_zalloc etc. ///
@@ -8,8 +9,8 @@ //# need some reformatting. // // Confidence: High -// Copyright: (C) 2014 Himangi Saraogi GPLv2. -// Copyright: (C) 2017 Himanshu Jha GPLv2. +// Copyright: (C) 2014 Himangi Saraogi +// Copyright: (C) 2017 Himanshu Jha // Comments: // Options: --no-includes --include-headers //
scripts/coccinelle/api/alloc/pool_zalloc-simple.cocci +2 -1
@@ -1,7 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Use *_pool_zalloc rather than *_pool_alloc followed by memset with 0 /// -// Copyright: (C) 2015 Intel Corp. GPLv2. +// Copyright: (C) 2015 Intel Corp. // Options: --no-includes --include-headers // // Keywords: dma_pool_zalloc, pci_pool_zalloc
scripts/coccinelle/api/alloc/zalloc-simple.cocci +4 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Use zeroing allocator rather than allocator followed by memset with 0 ///
@@ -6,9 +7,9 @@ /// matched code has to be contiguous /// // Confidence: High -// Copyright: (C) 2009-2010 Julia Lawall, Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2009-2010 Gilles Muller, INRIA/LiP6. GPLv2. -// Copyright: (C) 2017 Himanshu Jha GPLv2. +// Copyright: (C) 2009-2010 Julia Lawall, Nicolas Palix, DIKU. +// Copyright: (C) 2009-2010 Gilles Muller, INRIA/LiP6. +// Copyright: (C) 2017 Himanshu Jha // URL: http://coccinelle.lip6.fr/rules/kzalloc.html // Options: --no-includes --include-headers //
scripts/coccinelle/api/check_bq27xxx_data.cocci +2 -1
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Detect BQ27XXX_DATA structures with identical registers, dm registers or /// properties. //# Doesn't unfold macros used in register or property fields. //# Requires OCaml scripting /// // Confidence: High -// Copyright: (C) 2017 Julia Lawall, Inria/LIP6, GPLv2. +// Copyright: (C) 2017 Julia Lawall, Inria/LIP6, // URL: http://coccinelle.lip6.fr/ // Requires: 1.0.7 // Keywords: BQ27XXX_DATA
scripts/coccinelle/api/err_cast.cocci +4 -3
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...)) /// // Confidence: High -// Copyright: (C) 2009, 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2009, 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2009, 2010 Nicolas Palix, DIKU. +// Copyright: (C) 2009, 2010 Julia Lawall, DIKU. +// Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Options: //
scripts/coccinelle/api/kstrdup.cocci +4 -3
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Use kstrdup rather than duplicating its implementation /// // Confidence: High -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/api/memdup.cocci +4 -3
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Use kmemdup rather than duplicating its implementation /// // Confidence: High -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/api/memdup_user.cocci +4 -3
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Use memdup_user rather than duplicating its implementation /// This is a little bit restricted to reduce false positives /// // Confidence: High -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/api/pm_runtime.cocci +2 -1
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Make sure pm_runtime_* calls does not use unnecessary IS_ERR_VALUE /// // Keywords: pm_runtime // Confidence: Medium -// Copyright (C) 2013 Texas Instruments Incorporated - GPLv2. +// Copyright (C) 2013 Texas Instruments Incorporated - // URL: http://coccinelle.lip6.fr/ // Options: --include-headers
scripts/coccinelle/api/ptr_ret.cocci +3 -2
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR /// // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Options: --no-includes --include-headers //
scripts/coccinelle/api/resource_size.cocci +4 -3
@@ -1,11 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Use resource_size function on resource object /// instead of explicit computation. /// // Confidence: High -// Copyright: (C) 2009, 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2009, 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2009, 2010 Nicolas Palix, DIKU. +// Copyright: (C) 2009, 2010 Julia Lawall, DIKU. +// Copyright: (C) 2009, 2010 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Options: //
scripts/coccinelle/free/clk_put.cocci +3 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find missing clk_puts. /// //# This only signals a missing clk_put when there is a clk_put later
@@ -5,8 +6,8 @@ //# False positives can be due to loops. // // Confidence: Moderate -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options:
scripts/coccinelle/free/devm_free.cocci +3 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find uses of standard freeing functons on values allocated using devm_ /// functions. Values allocated using the devm_functions are freed when /// the device is detached, and thus the use of the standard freeing
@@ -14,8 +15,8 @@ /// less reliable in these cases. /// // Confidence: Moderate -// Copyright: (C) 2011 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2011 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2011 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2011 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/free/ifnullfree.cocci +2 -1
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// NULL check before some freeing functions is not needed. /// /// Based on checkpatch warning /// "kfree(NULL) is safe this check is probably not required" /// and kfreeaddr.cocci by Julia Lawall. /// -// Copyright: (C) 2014 Fabian Frederick. GPLv2. +// Copyright: (C) 2014 Fabian Frederick. // Comments: - // Options: --no-includes --include-headers
scripts/coccinelle/free/iounmap.cocci +3 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find missing iounmaps. /// //# This only signals a missing iounmap when there is an iounmap later
@@ -5,8 +6,8 @@ //# False positives can be due to loops. // // Confidence: Moderate -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options:
scripts/coccinelle/free/kfree.cocci +4 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find a use after free. //# Values of variables may imply that some //# execution paths are not possible, resulting in false positives.
@@ -5,9 +6,9 @@ //# SCTP_DBG_OBJCNT_DEC that do not actually evaluate their argument /// // Confidence: Moderate -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/free/kfreeaddr.cocci +2 -1
@@ -1,7 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Free of a structure field /// // Confidence: High -// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6. GPLv2. +// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/free/pci_free_consistent.cocci +2 -1
@@ -1,7 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find missing pci_free_consistent for every pci_alloc_consistent. /// // Confidence: Moderate -// Copyright: (C) 2013 Petr Strnad. GPLv2. +// Copyright: (C) 2013 Petr Strnad. // URL: http://coccinelle.lip6.fr/ // Keywords: pci_free_consistent, pci_alloc_consistent // Options: --no-includes --include-headers
scripts/coccinelle/iterators/device_node_continue.cocci +2 -1
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Device node iterators put the previous value of the index variable, so an /// explicit put causes a double put. /// // Confidence: High -// Copyright: (C) 2015 Julia Lawall, Inria. GPLv2. +// Copyright: (C) 2015 Julia Lawall, Inria. // URL: http://coccinelle.lip6.fr/ // Options: --no-includes --include-headers // Requires: 1.0.4
scripts/coccinelle/iterators/fen.cocci +4 -3
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// These iterators only exit normally when the loop cursor is NULL, so there /// is no point to call of_node_put on the final value. /// // Confidence: High -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/iterators/itnull.cocci +4 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Many iterators have the property that the first argument is always bound /// to a real list element, never NULL. //# False positives arise for some iterators that do not have this property,
@@ -6,9 +7,9 @@ //# or return). /// // Confidence: Moderate -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/iterators/list_entry_update.cocci +4 -3
@@ -1,12 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-only /// list_for_each_entry uses its first argument to get from one element of /// the list to the next, so it is usually not a good idea to reassign it. /// The first rule finds such a reassignment and the second rule checks /// that there is a path from the reassignment back to the top of the loop. /// // Confidence: High -// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010 Nicolas Palix, DIKU. +// Copyright: (C) 2010 Julia Lawall, DIKU. +// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/iterators/use_after_iter.cocci +3 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// If list_for_each_entry, etc complete a traversal of the list, the iterator /// variable ends up pointing to an address at an offset from the list head, /// and not a meaningful structure. Thus this value should not be used after
@@ -7,8 +8,8 @@ //#may also cause a report to be a false positive. /// // Confidence: Moderate -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LIP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LIP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/locks/call_kern.cocci +4 -3
@@ -1,12 +1,13 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find functions that refer to GFP_KERNEL but are called with locks held. //# The proposed change of converting the GFP_KERNEL is not necessarily the //# correct one. It may be desired to unlock the lock, or to not call the //# function under the lock in the first place. /// // Confidence: Moderate -// Copyright: (C) 2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Nicolas Palix. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/locks/double_lock.cocci +4 -3
@@ -1,11 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find double locks. False positives may occur when some paths cannot /// occur at execution, due to the values of variables, and when there is /// an intervening function call that releases the lock. /// // Confidence: Moderate -// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010 Nicolas Palix, DIKU. +// Copyright: (C) 2010 Julia Lawall, DIKU. +// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/locks/flags.cocci +4 -3
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find nested lock+irqsave functions that use the same flags variables /// // Confidence: High -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/locks/mini_lock.cocci +4 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find missing unlocks. This semantic match considers the specific case /// where the unlock is missing from an if branch, and there is a lock /// before the if and an unlock after the if. False positives are due to
@@ -6,9 +7,9 @@ /// function call that releases the lock. /// // Confidence: Moderate -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/array_size.cocci +2 -1
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Use ARRAY_SIZE instead of dividing sizeof array with sizeof an element /// //# This makes an effort to find cases where ARRAY_SIZE can be used such as
@@ -6,7 +7,7 @@ //# division of the two sizeofs by ARRAY_SIZE. // // Confidence: High -// Copyright: (C) 2014 Himangi Saraogi. GPLv2. +// Copyright: (C) 2014 Himangi Saraogi. // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/badty.cocci +2 -1
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Correct the size argument to alloc functions /// //# This makes an effort to find cases where the argument to sizeof is wrong
@@ -8,7 +9,7 @@ //# may need some reformatting. // // Confidence: Moderate -// Copyright: (C) 2014 Himangi Saraogi. GPLv2. +// Copyright: (C) 2014 Himangi Saraogi. // Comments: // Options:
scripts/coccinelle/misc/boolconv.cocci +2 -1
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Remove unneeded conversion to bool /// //# Relational and logical operators evaluate to bool, //# explicit conversion is overly verbose and unneeded. // -// Copyright: (C) 2016 Andrew F. Davis <[email protected]> GPLv2. +// Copyright: (C) 2016 Andrew F. Davis <[email protected]> virtual patch virtual context
scripts/coccinelle/misc/boolinit.cocci +3 -2
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Bool initializations should use true and false. Bool tests don't need /// comparisons. Based on contributions from Joe Perches, Rusty Russell /// and Bruce W Allan. /// // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Options: --include-headers
scripts/coccinelle/misc/bugon.cocci +2 -1
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Use BUG_ON instead of a if condition followed by BUG. /// //# This makes an effort to find cases where BUG() follows an if
@@ -6,7 +7,7 @@ //# as argument. // // Confidence: High -// Copyright: (C) 2014 Himangi Saraogi. GPLv2. +// Copyright: (C) 2014 Himangi Saraogi. // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/cond_no_effect.cocci +2 -1
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only ///Find conditions where if and else branch are functionally // identical. //
@@ -37,7 +38,7 @@ // All other cases look like bugs or at least lack of documentation // // Confidence: Moderate -// Copyright: (C) 2016 Nicholas Mc Guire, OSADL. GPLv2. +// Copyright: (C) 2016 Nicholas Mc Guire, OSADL. // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/cstptr.cocci +3 -2
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// PTR_ERR should be applied before its argument is reassigned, typically /// to NULL /// // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/doubleinit.cocci +4 -3
@@ -1,11 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find duplicate field initializations. This has a high rate of false /// positives due to #ifdefs, which Coccinelle is not aware of in a structure /// initialization. /// // Confidence: Low -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: requires at least Coccinelle 0.2.4, lex or parse error otherwise // Options: --no-includes --include-headers
scripts/coccinelle/misc/ifaddr.cocci +3 -2
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /// The address of a variable or field is likely always to be non-zero. /// // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/ifcol.cocci +4 -3
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Find confusingly indented code in or after an if. An if branch should /// be indented. The code following an if should not be indented. /// Sometimes, code after an if that is indented is actually intended to be
@@ -8,9 +9,9 @@ //# is not visually aligned may be considered to be in the same column. // // Confidence: Low -// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010 Nicolas Palix, DIKU. +// Copyright: (C) 2010 Julia Lawall, DIKU. +// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/noderef.cocci +3 -2
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// sizeof when applied to a pointer typed expression gives the size of /// the pointer /// // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/orplus.cocci +3 -2
@@ -1,10 +1,11 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Check for constants that are added but are used elsewhere as bitmasks /// The results should be checked manually to ensure that the nonzero /// bits in the two constants are actually disjoint. /// // Confidence: Moderate -// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2013 Gilles Muller, INRIA/LIP6. GPLv2. +// Copyright: (C) 2013 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2013 Gilles Muller, INRIA/LIP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/misc/returnvar.cocci +2 -1
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Remove unneeded variable used to store return value. /// // Confidence: Moderate -// Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6. GPLv2. +// Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6. // URL: http://coccinelle.lip6.fr/ // Comments: Comments on code can be deleted if near code that is removed. // "when strict" can be removed to get more hits, but adds false
scripts/coccinelle/misc/semicolon.cocci +2 -1
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// Remove unneeded semicolon. /// // Confidence: Moderate -// Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6. GPLv2. +// Copyright: (C) 2012 Peter Senna Tschudin, INRIA/LIP6. // URL: http://coccinelle.lip6.fr/ // Comments: Some false positives on empty default cases in switch statements. // Options: --no-includes --include-headers
scripts/coccinelle/misc/warn.cocci +3 -2
@@ -1,8 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Use WARN(1,...) rather than printk followed by WARN_ON(1) /// // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: // Options: --no-includes --include-headers
scripts/coccinelle/null/badzero.cocci +3 -2
@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /// Compare pointer-typed values to NULL rather than 0 /// //# This makes an effort to choose between !x and x == NULL. !x is used
@@ -7,8 +8,8 @@ //# include path. // // Confidence: High -// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2012 Julia Lawall, INRIA/LIP6. +// Copyright: (C) 2012 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Requires: 1.0.0 // Options:
scripts/coccinelle/null/deref_null.cocci +4 -3
@@ -1,11 +1,12 @@ +// SPDX-License-Identifier: GPL-2.0-only /// /// A variable is dereferenced under a NULL test. /// Even though it is known to be NULL. /// // Confidence: Moderate -// Copyright: (C) 2010 Nicolas Palix, DIKU. GPLv2. -// Copyright: (C) 2010 Julia Lawall, DIKU. GPLv2. -// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010 Nicolas Palix, DIKU. +// Copyright: (C) 2010 Julia Lawall, DIKU. +// Copyright: (C) 2010 Gilles Muller, INRIA/LiP6. // URL: http://coccinelle.lip6.fr/ // Comments: -I ... -all_includes can give more complete results // Options:
scripts/coccinelle/null/eno.cocci +3 -3
@@ -1,9 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /// The various basic memory allocation functions don't return ERR_PTR /// // Confidence: High -// Copyright: (C) 2010-2012 Nicolas Palix. GPLv2. -// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6. GPLv2. -// Copyright: (C) 2010-2012 Gilles Muller, INRIA/LiP6. GPLv2. +// Copyright: (C) 2010-2012 Nicolas Palix. +// Copyright: (C) 2010-2012 Julia Lawall, INRIA/LIP6.
PATCH 30/57 treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 481
In reply to Thomas GleixnerFrom: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
use of this source code is governed by the gplv2 license
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 2 file(s).
--- tools/testing/selftests/kselftest_harness.h | 2 +- tools/testing/selftests/seccomp/seccomp_bpf.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
tools/testing/selftests/kselftest_harness.h +1 -1
@@ -1,6 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2012 The Chromium OS Authors. All rights reserved. -* Use of this source code is governed by the GPLv2 license. * * kselftest_harness.h: simple C unit test helper. *
tools/testing/selftests/seccomp/seccomp_bpf.c +1 -1
@@ -1,6 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2012 The Chromium OS Authors. All rights reserved. -* Use of this source code is governed by the GPLv2 license. * * Test code for seccomp bpf. */
Re: [Batch 17 patch 45/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 496
In reply to Thomas GleixnerQuoted 6 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
licensed under gpl v2
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Signature · 2 lines
Armijn Hemel, MSc Tjaldur Software Governance Solutions
Re: [Batch 17 patch 47/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 498
In reply to Thomas GleixnerQuoted 6 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
gplv2 only
Quoted 7 lines
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 4 file(s).
Signed-off-by Thomas Gleixner <[email protected]>
Signature · 2 lines
Armijn Hemel, MSc Tjaldur Software Governance Solutions
Re: [Batch 17 patch 01/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 451
In reply to Thomas GleixnerQuoted 98 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this file is subject to the terms and conditions of version 2 of the gnu general public license see the file copying in the main directory of the linux distribution for more details
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 5 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- include/linux/cgroup_rdma.h | 5 +---- kernel/bpf/cgroup.c | 5 +---- kernel/bpf/lpm_trie.c | 5 +---- kernel/cgroup/pids.c | 5 +---- kernel/cgroup/rdma.c | 5 +---- 5 files changed, 5 insertions(+), 20 deletions(-)include/linux/cgroup_rdma.h +1
-4@@ -1,9 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2016 Parav Pandit <[email protected]> -* -* This file is subject to the terms and conditions of version 2 of the GNU -* General Public License. See the file COPYING in the main directory of the -* Linux distribution for more details. */ #ifndef _CGROUP_RDMA_Hkernel/bpf/cgroup.c +1
-4@@ -1,11 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Functions to manage eBPF programs attached to cgroups * * Copyright (c) 2016 Daniel Mack -* -* This file is subject to the terms and conditions of version 2 of the GNU -* General Public License. See the file COPYING in the main directory of the -* Linux distribution for more details. */ #include <linux/kernel.h> kernel/bpf/lpm_trie.c +1
-4@@ -1,12 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Longest prefix match list implementation * * Copyright (c) 2016,2017 Daniel Mack * Copyright (c) 2016 David Herrmann -* -* This file is subject to the terms and conditions of version 2 of the GNU -* General Public License. See the file COPYING in the main directory of the -* Linux distribution for more details. */ #include <linux/bpf.h> kernel/cgroup/pids.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Process number limiting controller for cgroups. * @@ -25,10 +26,6 @@* a superset of parent/child/pids.current. * * Copyright (C) 2015 Aleksa Sarai <[email protected]> -* -* This file is subject to the terms and conditions of version 2 of the GNU -* General Public License. See the file COPYING in the main directory of the -* Linux distribution for more details. */ #include <linux/kernel.h> kernel/cgroup/rdma.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * RDMA resource limiting controller for cgroups. *
kernel/cgroup/rdma.c line 11
Quoted 10 lines
kernel/cgroup/rdma.c +0
-4@@ -5,10 +6,6 @@* additional RDMA resources after a certain limit is reached. * * Copyright (C) 2016 Parav Pandit <[email protected]> -* -* This file is subject to the terms and conditions of version 2 of the GNU -* General Public License. See the file COPYING in the main directory of the -* Linux distribution for more details. */ #include <linux/bitops.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 02/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 452
In reply to Thomas GleixnerQuoted 43 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software void 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 if not see http void www gnu org licenses
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- arch/arm64/kernel/sys32.c | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-)arch/arm64/kernel/sys32.c +1
-5@@ -1,19 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * arch/arm64/kernel/sys32.c * * Copyright (C) 2015 ARM Ltd. -* -* This program is free software(void); 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. -*
arch/arm64/kernel/sys32.c line 8
Quoted 10 lines
arch/arm64/kernel/sys32.c +0
-7-* 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. If not, see <http(void);//www.gnu.org/licenses/>. */ /*
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 03/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 453
In reply to Thomas GleixnerQuoted 190 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 2 normalized pattern(s):
this file is provided under a gplv2 license when using or redistributing this file you may do so under that license gpl license summary [copyright] [c] [2016] [t] [platforms] [all] [rights] [reserved] this program is free software you can redistribute it and or modify it under the terms and conditions 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 if not it can be found http www gnu org licenses the full gnu general public license is included in this distribution in the file called copying this software is provided by the copyright holders and contributors as is and any express or implied warranties including but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed in no event shall the copyright owner or contributors be liable for any direct indirect incidental special exemplary or consequential damages including but not limited to procurement of substitute goods or services loss of use data or profits or business interruption however caused and on any theory of liability whether in contract strict liability or tort including negligence or otherwise arising in any way out of the use of this software even if advised of the possibility of such damage
this file is provided under a gplv2 license when using or redistributing this file you may do so under that license gpl license summary [copyright] [c] [2016] [2018] [t] [platforms] [jsc] [all] [rights] [reserved] this program is free software you can redistribute it and or modify it under the terms and conditions 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 if not [one] can be found http www gnu org licenses the full gnu general public license is included in this distribution in the file called copying this software is provided by the copyright holders and contributors as is and any express or implied warranties including but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed in no event shall the copyright owner or contributors be liable for any direct indirect incidental special exemplary or consequential damages including but not limited to procurement of substitute goods or services loss of use data or profits or business interruption however caused and on any theory of liability whether in contract strict liability or tort including negligence or otherwise arising in any way out of the use of this software even if advised of the possibility of such damage
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 3 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/misc/eeprom/idt_89hpesx.c | 33 +-------------------------------- drivers/ntb/hw/idt/ntb_hw_idt.c | 33 +-------------------------------- drivers/ntb/hw/idt/ntb_hw_idt.h | 33 +-------------------------------- 3 files changed, 3 insertions(+), 96 deletions(-)drivers/misc/eeprom/idt_89hpesx.c +1
-32@@ -1,38 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -* This file is provided under a GPLv2 license. When using or -* redistributing this file, you may do so under that license. -* -* GPL LICENSE SUMMARY -* * Copyright (C) 2016 T-Platforms. All Rights Reserved. * -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions 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; if not, it can be found <http://www.gnu.org/licenses/>. -* -* The full GNU General Public License is included in this distribution in -* the file called "COPYING". -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* * IDT PCIe-switch NTB Linux driver * * Contact Information: drivers/ntb/hw/idt/ntb_hw_idt.c +1
-32@@ -1,38 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -* This file is provided under a GPLv2 license. When using or -* redistributing this file, you may do so under that license. -* -* GPL LICENSE SUMMARY -* * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved. * -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions 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; if not, one can be found http://www.gnu.org/licenses/. -* -* The full GNU General Public License is included in this distribution in -* the file called "COPYING". -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* * IDT PCIe-switch NTB Linux driver * * Contact Information: drivers/ntb/hw/idt/ntb_hw_idt.h +1
-25@@ -1,38 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* -* This file is provided under a GPLv2 license. When using or -* redistributing this file, you may do so under that license. -* -* GPL LICENSE SUMMARY -* * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved. * -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions 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; if not, one can be found http://www.gnu.org/licenses/. -* -* The full GNU General Public License is included in this distribution in -* the file called "COPYING". -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
drivers/ntb/hw/idt/ntb_hw_idt.h line 7
Quoted 10 lines
drivers/ntb/hw/idt/ntb_hw_idt.h +0
-7-* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* * IDT PCIe-switch NTB Linux driver * * Contact Information:
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 04/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 454
In reply to Thomas GleixnerQuoted 165 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can distribute it and or modify it under the terms of the gnu general public license as published by the free software foundation version 2 of the license
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 8 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- arch/mips/math-emu/dp_2008class.c | 5 +---- arch/mips/math-emu/dp_fmax.c | 5 +---- arch/mips/math-emu/dp_fmin.c | 5 +---- arch/mips/math-emu/dp_maddf.c | 5 +---- arch/mips/math-emu/sp_2008class.c | 5 +---- arch/mips/math-emu/sp_fmax.c | 5 +---- arch/mips/math-emu/sp_fmin.c | 5 +---- arch/mips/math-emu/sp_maddf.c | 5 +---- 8 files changed, 8 insertions(+), 32 deletions(-)arch/mips/math-emu/dp_2008class.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * double precision: CLASS.f @@ -6,10 +7,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754dp.h" arch/mips/math-emu/dp_fmax.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * double precision: MIN{,A}.f @@ -10,10 +11,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754dp.h" arch/mips/math-emu/dp_fmin.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * double precision: MIN{,A}.f @@ -10,10 +11,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754dp.h" arch/mips/math-emu/dp_maddf.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * double precision: MADDF.f (Fused Multiply Add) @@ -6,10 +7,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754dp.h" arch/mips/math-emu/sp_2008class.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * single precision: CLASS.f @@ -6,10 +7,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754sp.h" arch/mips/math-emu/sp_fmax.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * single precision: MAX{,A}.f @@ -10,10 +11,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754sp.h" arch/mips/math-emu/sp_fmin.c +1
-4@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * single precision: MIN{,A}.f @@ -10,10 +11,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754sp.h" arch/mips/math-emu/sp_maddf.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * IEEE754 floating point arithmetic * single precision: MADDF.f (Fused Multiply Add)
arch/mips/math-emu/sp_maddf.c line 12
Quoted 10 lines
arch/mips/math-emu/sp_maddf.c +0
-4@@ -6,10 +7,6 @@* MIPS floating point support * Copyright (C) 2015 Imagination Technologies, Ltd. * Author: Markos Chandras <[email protected]> -* -* This program is free software; you can distribute it and/or modify it -* under the terms of the GNU General Public License as published by the -* Free Software Foundation; version 2 of the License. */ #include "ieee754sp.h"
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 05/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 455
In reply to Thomas GleixnerQuoted 33 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this package is free software you can redistribute it and or modify it under the terms of the gnu general public license version 2 and only version 2 as published by the free software foundation
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/power/supply/max14656_charger_detector.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-)drivers/power/supply/max14656_charger_detector.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Maxim MAX14656 / AL32 USB Charger Detector driver * @@ -7,11 +8,6 @@* Components from Maxim AL32 Charger detection Driver for MX50 Yoshi Board
drivers/power/supply/max14656_charger_detector.c line 13
Quoted 10 lines
drivers/power/supply/max14656_charger_detector.c +0
-5* Copyright (C) Amazon Technologies Inc. All rights reserved. * Manish Lachwani ([email protected]) -* -* This package is free software; you can redistribute it and/or modify -* it under the terms of the GNU General Public License version 2 and -* only version 2 as published by the Free Software Foundation. -* */ #include <linux/module.h> #include <linux/init.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 06/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 456
In reply to Thomas GleixnerQuoted 165 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
driver 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 version 2 the [audiowerk2] [alsa] driver 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 the [audiowerk2] [alsa] driver if not write to the free software foundation inc 51 franklin street fifth floor boston ma 02110 1301 usa
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 5 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- sound/pci/aw2/aw2-alsa.c | 15 +-------------- sound/pci/aw2/aw2-saa7146.c | 15 +-------------- sound/pci/aw2/aw2-saa7146.h | 15 +-------------- sound/pci/aw2/aw2-tsl.c | 15 +-------------- sound/pci/aw2/saa7146.h | 15 +-------------- 5 files changed, 5 insertions(+), 70 deletions(-)sound/pci/aw2/aw2-alsa.c +1
-14@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /***************************************************************************** * * Copyright (C) 2008 Cedric Bregardis <[email protected]> and @@ -5,20 +6,6 @@* * This file is part of the Audiowerk2 ALSA driver * -* The Audiowerk2 ALSA driver 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; version 2. -* -* The Audiowerk2 ALSA driver 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 the Audiowerk2 ALSA driver; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -* USA. -* *****************************************************************************/ #include <linux/init.h> #include <linux/pci.h> sound/pci/aw2/aw2-saa7146.c +1
-14@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /***************************************************************************** * * Copyright (C) 2008 Cedric Bregardis <[email protected]> and @@ -5,20 +6,6 @@* * This file is part of the Audiowerk2 ALSA driver * -* The Audiowerk2 ALSA driver 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; version 2. -* -* The Audiowerk2 ALSA driver 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 the Audiowerk2 ALSA driver; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -* USA. -* *****************************************************************************/ #define AW2_SAA7146_M sound/pci/aw2/aw2-saa7146.h +1
-14@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * Copyright (C) 2008 Cedric Bregardis <[email protected]> and @@ -5,20 +6,6 @@* * This file is part of the Audiowerk2 ALSA driver * -* The Audiowerk2 ALSA driver 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; version 2. -* -* The Audiowerk2 ALSA driver 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 the Audiowerk2 ALSA driver; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -* USA. -* *****************************************************************************/ #ifndef AW2_SAA7146_H sound/pci/aw2/aw2-tsl.c +1
-14@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /***************************************************************************** * * Copyright (C) 2008 Cedric Bregardis <[email protected]> and @@ -7,20 +8,6 @@* * This file is part of the Audiowerk2 ALSA driver * -* The Audiowerk2 ALSA driver 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; version 2. -* -* The Audiowerk2 ALSA driver 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 the Audiowerk2 ALSA driver; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -* USA. -* *****************************************************************************/ #define TSL_WS0 (1UL << 31)sound/pci/aw2/saa7146.h +1
-7@@ -1,3 +1,4 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /***************************************************************************** * * Copyright (C) 2008 Cedric Bregardis <[email protected]> and @@ -5,20 +6,6 @@* * This file is part of the Audiowerk2 ALSA driver * -* The Audiowerk2 ALSA driver 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; version 2. -* -* The Audiowerk2 ALSA driver 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
sound/pci/aw2/saa7146.h line 11
Quoted 10 lines
sound/pci/aw2/saa7146.h +0
-7-* GNU General Public License for more details. -* -* You should have received a copy of the GNU General Public License -* along with the Audiowerk2 ALSA driver; if not, write to the Free Software -* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, -* USA. -* *****************************************************************************/ /* SAA7146 registers */
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 07/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 457
In reply to Thomas GleixnerQuoted 101 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 2 normalized pattern(s):
this file is licensed under gplv2 this file is part of the [aic94xx] driver the [aic94xx] driver 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 version 2 of the license the [aic94xx] driver 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 [aic94xx] driver if not write to the free software foundation inc 51 franklin st fifth floor boston ma 02110 1301 usa
this file is licensed under gplv2 this file is part of the [88se64xx] [88se94xx] driver the [88se64xx] [88se94xx] driver 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 version 2 of the license the [88se64xx] [88se94xx] driver 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 [88se64xx] [88se94xx] driver if not write to the free software foundation inc 51 franklin st fifth floor boston ma 02110 1301 usa
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 2 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/scsi/aic94xx/Kconfig | 20 +------------------- drivers/scsi/mvsas/Kconfig | 20 +------------------- 2 files changed, 2 insertions(+), 38 deletions(-)drivers/scsi/aic94xx/Kconfig +1
-19@@ -1,28 +1,10 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Kernel configuration file for aic94xx SAS/SATA driver. # # Copyright (c) 2005 Adaptec, Inc. All rights reserved. # Copyright (c) 2005 Luben Tuikov <[email protected]> # -# This file is licensed under GPLv2. -# -# This file is part of the aic94xx driver. -# -# The aic94xx driver 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; version 2 of the -# License. -# -# The aic94xx driver 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 Aic94xx Driver; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# config SCSI_AIC94XX tristate "Adaptec AIC94xx SAS/SATA support"drivers/scsi/mvsas/Kconfig +1
-12@@ -1,3 +1,4 @@ +# SPDX-License-Identifier: GPL-2.0-only # # Kernel configuration file for 88SE64XX/88SE94XX SAS/SATA driver. #@@ -5,25 +6,6 @@ # Copyright 2008 Marvell. <[email protected]> # Copyright 2009-2011 Marvell. <[email protected]> # -# This file is licensed under GPLv2. -# -# This file is part of the 88SE64XX/88SE94XX driver. -# -# The 88SE64XX/88SE94XX driver 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; version 2 of the -# License. -# -# The 88SE64XX/88SE94XX driver 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
drivers/scsi/mvsas/Kconfig line 11
Quoted 10 lines
drivers/scsi/mvsas/Kconfig +0
-7-# General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with 88SE64XX/88SE94XX Driver; if not, write to the Free Software -# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA -# -# config SCSI_MVSAS tristate "Marvell 88SE64XX/88SE94XX SAS/SATA support"
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 03/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 453
In reply to Thomas GleixnerQuoted 104 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 2 normalized pattern(s):
this file is provided under a gplv2 license when using or redistributing this file you may do so under that license gpl license summary [copyright] [c] [2016] [t] [platforms] [all] [rights] [reserved] this program is free software you can redistribute it and or modify it under the terms and conditions 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 if not it can be found http www gnu org licenses the full gnu general public license is included in this distribution in the file called copying this software is provided by the copyright holders and contributors as is and any express or implied warranties including but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed in no event shall the copyright owner or contributors be liable for any direct indirect incidental special exemplary or consequential damages including but not limited to procurement of substitute goods or services loss of use data or profits or business interruption however caused and on any theory of liability whether in contract strict liability or tort including negligence or otherwise arising in any way out of the use of this software even if advised of the possibility of such damage
this file is provided under a gplv2 license when using or redistributing this file you may do so under that license gpl license summary [copyright] [c] [2016] [2018] [t] [platforms] [jsc] [all] [rights] [reserved] this program is free software you can redistribute it and or modify it under the terms and conditions 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 if not [one] can be found http www gnu org licenses the full gnu general public license is included in this distribution in the file called copying this software is provided by the copyright holders and contributors as is and any express or implied warranties including but not limited to the implied warranties of merchantability and fitness for a particular purpose are disclaimed in no event shall the copyright owner or contributors be liable for any direct indirect incidental special exemplary or consequential damages including but not limited to procurement of substitute goods or services loss of use data or profits or business interruption however caused and on any theory of liability whether in contract strict liability or tort including negligence or otherwise arising in any way out of the use of this software even if advised of the possibility of such damage
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-only
has been chosen to replace the boilerplate/reference in 3 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/misc/eeprom/idt_89hpesx.c | 33 +-------------------------------- drivers/ntb/hw/idt/ntb_hw_idt.c | 33 +-------------------------------- drivers/ntb/hw/idt/ntb_hw_idt.h | 33 +-------------------------------- 3 files changed, 3 insertions(+), 96 deletions(-)drivers/misc/eeprom/idt_89hpesx.c +1
-25@@ -1,38 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* -* This file is provided under a GPLv2 license. When using or -* redistributing this file, you may do so under that license. -* -* GPL LICENSE SUMMARY -* * Copyright (C) 2016 T-Platforms. All Rights Reserved. * -* This program is free software; you can redistribute it and/or modify it -* under the terms and conditions 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; if not, it can be found <http://www.gnu.org/licenses/>. -* -* The full GNU General Public License is included in this distribution in -* the file called "COPYING". -* -* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS -* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT -* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR -* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT -* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
drivers/misc/eeprom/idt_89hpesx.c line 7
Quoted 10 lines
drivers/misc/eeprom/idt_89hpesx.c +0
-7-* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT -* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, -* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY -* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE -* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -* * IDT PCIe-switch NTB Linux driver * * Contact Information:
Add to "review later", custom disclaimer.
armijn
Signature · 2 lines
Armijn Hemel, MSc Tjaldur Software Governance Solutions
Re: [Batch 17 patch 08/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 459
In reply to Thomas GleixnerQuoted 376 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
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 the gpl 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 version 2 gplv2 for more details you should have received a copy of the gnu general public license version 2 gplv2 along with this source code
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 16 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/acpi/pci_mcfg.c | 13 +------------ drivers/clk/bcm/clk-sr.c | 13 +------------ drivers/crypto/bcm/cipher.c | 13 +------------ drivers/crypto/bcm/cipher.h | 13 +------------ drivers/crypto/bcm/spu.c | 13 +------------ drivers/crypto/bcm/spu.h | 13 +------------ drivers/crypto/bcm/spu2.c | 13 +------------ drivers/crypto/bcm/spu2.h | 13 +------------ drivers/crypto/bcm/spum.h | 13 +------------ drivers/crypto/bcm/util.c | 13 +------------ drivers/crypto/bcm/util.h | 13 +------------ drivers/iio/adc/bcm_iproc_adc.c | 13 +------------ drivers/mailbox/bcm-pdc-mailbox.c | 13 +------------ drivers/spi/spi-bcm-qspi.c | 13 +------------ drivers/spi/spi-bcm-qspi.h | 13 +------------ drivers/spi/spi-brcmstb-qspi.c | 13 +------------ 16 files changed, 16 insertions(+), 192 deletions(-)drivers/acpi/pci_mcfg.c +1
-12@@ -1,20 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2016 Broadcom * Author: Jayachandran C <[email protected]> * Copyright (C) 2016 Semihalf * Author: Tomasz Nowicki <[email protected]> -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #define pr_fmt (fmt) "ACPI: " fmtdrivers/clk/bcm/clk-sr.c +1
-12@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2017 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/err.h> drivers/crypto/bcm/cipher.c +1
-12@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/err.h> drivers/crypto/bcm/cipher.h +1
-12@@ -1,17 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #ifndef _CIPHER_Hdrivers/crypto/bcm/spu.c +1
-12@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/kernel.h> drivers/crypto/bcm/spu.h +1
-12@@ -1,17 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ /* drivers/crypto/bcm/spu2.c +1
-12@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ /* drivers/crypto/bcm/spu2.h +1
-12@@ -1,17 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ /* drivers/crypto/bcm/spum.h +1
-12@@ -1,17 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ /* drivers/crypto/bcm/util.c +1
-12@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/debugfs.h> drivers/crypto/bcm/util.h +1
-12@@ -1,17 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #ifndef _UTIL_Hdrivers/iio/adc/bcm_iproc_adc.c +1
-12@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/module.h> drivers/mailbox/bcm-pdc-mailbox.c +1
-12@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ /* drivers/spi/spi-bcm-qspi.c +1
-12@@ -1,19 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Driver for Broadcom BRCMSTB, NSP, NS2, Cygnus SPI Controllers * * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/clk.h> drivers/spi/spi-bcm-qspi.h +1
-12@@ -1,17 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -* -* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #ifndef __SPI_BCM_QSPI_H__drivers/spi/spi-brcmstb-qspi.c +1
-5@@ -1,17 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright 2016 Broadcom -* -* 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 (the "GPL"). -*
drivers/spi/spi-brcmstb-qspi.c line 6
Quoted 10 lines
drivers/spi/spi-brcmstb-qspi.c +0
-7-* 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 version 2 (GPLv2) for more details. -* -* You should have received a copy of the GNU General Public License -* version 2 (GPLv2) along with this source code. */ #include <linux/device.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 09/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 460
In reply to Thomas GleixnerQuoted 75 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
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 http www opensource org licenses gpl license html http www gnu org copyleft gpl html
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 3 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/clk/imx/clk-cpu.c | 8 +------- drivers/nvmem/imx-iim.c | 8 +------- drivers/nvmem/imx-ocotp.c | 8 +------- 3 files changed, 3 insertions(+), 21 deletions(-)drivers/clk/imx/clk-cpu.c +1
-7@@ -1,12 +1,6 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2014 Lucas Stach <[email protected]>, Pengutronix -* -* 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. -* -* http://www.opensource.org/licenses/gpl-license.html -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/clk.h> drivers/nvmem/imx-iim.c +1
-7@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * i.MX IIM driver * @@ -6,13 +7,6 @@* Based on the barebox iim driver, * Copyright (c) 2010 Baruch Siach <[email protected]>, * Orex Computed Radiography -* -* 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. -* -* http://www.opensource.org/licenses/gpl-license.html -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/device.h> drivers/nvmem/imx-ocotp.c +1
-0@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * i.MX6 OCOTP fusebox driver * @@ -9,13 +10,6 @@* * Write support based on the fsl_otp driver, * Copyright (C) 2010-2013 Freescale Semiconductor, Inc
drivers/nvmem/imx-ocotp.c line 15
Quoted 10 lines
drivers/nvmem/imx-ocotp.c +0
-7-* -* 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. -* -* http://www.opensource.org/licenses/gpl-license.html -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/clk.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 10/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 461
In reply to Thomas GleixnerQuoted 335 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
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 only 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 to obtain the license point your browser to http www gnu org copyleft gpl html
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 12 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/media/dvb-frontends/drxd.h | 14 +------------- drivers/media/dvb-frontends/drxd_firm.c | 14 +------------- drivers/media/dvb-frontends/drxd_firm.h | 14 +------------- drivers/media/dvb-frontends/drxd_hard.c | 14 +------------- drivers/media/dvb-frontends/drxd_map_firm.h | 14 +------------- drivers/media/dvb-frontends/drxk_hard.c | 14 +------------- drivers/media/dvb-frontends/tda18271c2dd.c | 15 +-------------- drivers/media/pci/ngene/ngene-cards.c | 15 +-------------- drivers/media/pci/ngene/ngene-core.c | 15 +-------------- drivers/media/pci/ngene/ngene-dvb.c | 15 +-------------- drivers/media/pci/ngene/ngene-i2c.c | 15 +-------------- drivers/media/pci/ngene/ngene.h | 14 +------------- 12 files changed, 12 insertions(+), 161 deletions(-)drivers/media/dvb-frontends/drxd.h +1
-13@@ -1,20 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * drxd.h: DRXD DVB-T demodulator driver * * Copyright (C) 2005-2007 Micronas -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #ifndef _DRXD_H_drivers/media/dvb-frontends/drxd_firm.c +1
-13@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * drxd_firm.c : DRXD firmware tables * * Copyright (C) 2006-2007 Micronas -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ /* TODO: generate this file with a script from a settings file */ drivers/media/dvb-frontends/drxd_firm.h +1
-13@@ -1,20 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * drxd_firm.h * * Copyright (C) 2006-2007 Micronas -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #ifndef _DRXD_FIRM_H_drivers/media/dvb-frontends/drxd_hard.c +1
-13@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * drxd_hard.c: DVB-T Demodulator Micronas DRX3975D-A2,DRX397xD-B1 * * Copyright (C) 2003-2007 Micronas -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/kernel.h> drivers/media/dvb-frontends/drxd_map_firm.h +1
-13@@ -1,20 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * drx3973d_map_firm.h * * Copyright (C) 2006-2007 Micronas -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #ifndef __DRX3973D_MAP__H__drivers/media/dvb-frontends/drxk_hard.c +1
-13@@ -1,20 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * drxk_hard: DRX-K DVB-C/T demodulator driver * * Copyright (C) 2010-2011 Digital Devices GmbH -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmtdrivers/media/dvb-frontends/tda18271c2dd.c +1
-14@@ -1,21 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * tda18271c2dd: Driver for the TDA18271C2 tuner * * Copyright (C) 2010 Digital Devices GmbH -* -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/kernel.h> drivers/media/pci/ngene/ngene-cards.c +1
-14@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ngene-cards.c: nGene PCIe bridge driver - card specific info * @@ -7,20 +8,6 @@* Modifications for new nGene firmware, * support for EEPROM-copying, * support for new dual DVB-S2 card prototype -* -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmtdrivers/media/pci/ngene/ngene-core.c +1
-14@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ngene.c: nGene PCIe bridge driver * @@ -7,20 +8,6 @@* Modifications for new nGene firmware, * support for EEPROM-copying, * support for new dual DVB-S2 card prototype -* -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/module.h> drivers/media/pci/ngene/ngene-dvb.c +1
-14@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ngene-dvb.c: nGene PCIe bridge driver - DVB functions * @@ -7,20 +8,6 @@* Modifications for new nGene firmware, * support for EEPROM-copying, * support for new dual DVB-S2 card prototype -* -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #include <linux/module.h> drivers/media/pci/ngene/ngene-i2c.c +1
-14@@ -1,3 +1,4 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ngene-i2c.c: nGene PCIe bridge driver i2c functions * @@ -7,20 +8,6 @@* Modifications for new nGene firmware, * support for EEPROM-copying, * support for new dual DVB-S2 card prototype -* -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ /* FIXME - some of these can probably be removed */ drivers/media/pci/ngene/ngene.h +1
-6@@ -1,20 +1,8 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * ngene.h: nGene PCIe bridge driver * * Copyright (C) 2005-2007 Micronas -* -* This program is free software; you can redistribute it and/or -* modify it under the terms of the GNU General Public License -* version 2 only, as published by the Free Software Foundation. -* -*
drivers/media/pci/ngene/ngene.h line 8
Quoted 10 lines
drivers/media/pci/ngene/ngene.h +0
-7-* 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. -* -* To obtain the license, point your browser to -* http://www.gnu.org/copyleft/gpl.html */ #ifndef _NGENE_H_
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 11/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 462
In reply to Thomas GleixnerQuoted 25 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
license gpl v2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 1 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/i2c/busses/i2c-pxa-pci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/busses/i2c-pxa-pci.c line 7
Quoted 8 lines
drivers/i2c/busses/i2c-pxa-pci.c +1
-1@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * CE4100 PCI-I2C glue code for PXA's driver * Author: Sebastian Andrzej Siewior <[email protected]> -* License: GPL v2 * * The CE4100's I2C device is more or less the same one as found on PXA. * It does not support slave mode, the register slightly moved. This PCI
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 12/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 463
In reply to Thomas GleixnerQuoted 124 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
this program is free software you can redistribute it and or modify it under the terms of version 2 of the gnu general public license 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 if not see http www gnu org licenses the full gnu general public license is included in this distribution in the file called copying
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 4 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/irqchip/irq-meson-gpio.c | 15 +-------------- drivers/mmc/host/meson-gx-mmc.c | 15 +-------------- sound/soc/codecs/es7134.c | 15 +-------------- sound/soc/codecs/simple-amplifier.c | 15 +-------------- 4 files changed, 4 insertions(+), 56 deletions(-)drivers/irqchip/irq-meson-gpio.c +1
-14@@ -1,22 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2015 Endless Mobile, Inc. * Author: Carlo Caione <[email protected]> * Copyright (c) 2016 BayLibre, SAS. * Author: Jerome Brunet <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License 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; if not, see <http://www.gnu.org/licenses/>. -* The full GNU General Public License is included in this distribution -* in the file called COPYING. */ #define pr_fmt (fmt) KBUILD_MODNAME ": " fmtdrivers/mmc/host/meson-gx-mmc.c +1
-14@@ -1,22 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Amlogic SD/eMMC driver for the GX/S905 family SoCs * * Copyright (c) 2016 BayLibre, SAS. * Author: Kevin Hilman <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License 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; if not, see <http://www.gnu.org/licenses/>. -* The full GNU General Public License is included in this distribution -* in the file called COPYING. */ #include <linux/kernel.h> #include <linux/module.h> sound/soc/codecs/es7134.c +1
-14@@ -1,20 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017 BayLibre, SAS. * Author: Jerome Brunet <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License 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; if not, see <http://www.gnu.org/licenses/>. -* The full GNU General Public License is included in this distribution -* in the file called COPYING. */ #include <linux/of_platform.h> sound/soc/codecs/simple-amplifier.c +1
-7@@ -1,20 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2017 BayLibre, SAS. * Author: Jerome Brunet <[email protected]> -* -* This program is free software; you can redistribute it and/or modify -* it under the terms of version 2 of the GNU General Public License 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
sound/soc/codecs/simple-amplifier.c line 7
Quoted 10 lines
sound/soc/codecs/simple-amplifier.c +0
-7-* 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; if not, see <http://www.gnu.org/licenses/>. -* The full GNU General Public License is included in this distribution -* in the file called COPYING. */ #include <linux/gpio/consumer.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 13/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 464
In reply to Thomas GleixnerQuoted 156 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
license terms gnu general public license version 2
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 11 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- drivers/gpio/gpio-stmpe.c | 2 +- drivers/gpio/gpio-tc3589x.c | 2 +- drivers/input/keyboard/stmpe-keypad.c | 2 +- drivers/input/keyboard/tc3589x-keypad.c | 3 +-- drivers/mfd/stmpe-i2c.c | 2 +- drivers/mfd/stmpe-spi.c | 2 +- drivers/mfd/stmpe.c | 2 +- drivers/mfd/stmpe.h | 2 +- drivers/mfd/tc3589x.c | 2 +- include/linux/mfd/stmpe.h | 2 +- include/linux/mfd/tc3589x.h | 3 +-- 11 files changed, 11 insertions(+), 13 deletions(-)drivers/gpio/gpio-stmpe.c +1
-1@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Rabin Vincent <[email protected]> for ST-Ericsson */ drivers/gpio/gpio-tc3589x.c +1
-1@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Hanumath Prasad <[email protected]> for ST-Ericsson * Author: Rabin Vincent <[email protected]> for ST-Ericsson */ drivers/input/keyboard/stmpe-keypad.c +1
-1@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Rabin Vincent <[email protected]> for ST-Ericsson */ drivers/input/keyboard/tc3589x-keypad.c +1
-2@@ -1,11 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) ST-Ericsson SA 2010 * * Author: Jayeeta Banerjee <[email protected]> * Author: Sundar Iyer <[email protected]> * -* License Terms: GNU General Public License, version 2 -* * TC35893 MFD Keypad Controller driver */ drivers/mfd/stmpe-i2c.c +1
-1@@ -1,10 +1,10 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ST Microelectronics MFD: stmpe's i2c client specific driver * * Copyright (C) ST-Ericsson SA 2010 * Copyright (C) ST Microelectronics SA 2011 * -* License Terms: GNU General Public License, version 2 * Author: Rabin Vincent <[email protected]> for ST-Ericsson * Author: Viresh Kumar <[email protected]> for ST Microelectronics */ drivers/mfd/stmpe-spi.c +1
-1@@ -1,9 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ST Microelectronics MFD: stmpe's spi client specific driver * * Copyright (C) ST Microelectronics SA 2011 * -* License Terms: GNU General Public License, version 2 * Author: Viresh Kumar <[email protected]> for ST Microelectronics */ drivers/mfd/stmpe.c +1
-1@@ -1,9 +1,9 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * ST Microelectronics MFD: stmpe's driver * * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Rabin Vincent <[email protected]> for ST-Ericsson */ drivers/mfd/stmpe.h +1
-1@@ -1,7 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Rabin Vincent <[email protected]> for ST-Ericsson */ drivers/mfd/tc3589x.c +1
-1@@ -1,7 +1,7 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Hanumath Prasad <[email protected]> for ST-Ericsson * Author: Rabin Vincent <[email protected]> for ST-Ericsson */ include/linux/mfd/stmpe.h +1
-1@@ -1,7 +1,7 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) ST-Ericsson SA 2010 * -* License Terms: GNU General Public License, version 2 * Author: Rabin Vincent <[email protected]> for ST-Ericsson */
include/linux/mfd/tc3589x.h line 6
Quoted 8 lines
include/linux/mfd/tc3589x.h +1
-2@@ -1,7 +1,6 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) ST-Ericsson SA 2010 -* -* License Terms: GNU General Public License, version 2 */ #ifndef __LINUX_MFD_TC3589x_H
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287
Re: [Batch 17 patch 14/57] treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 465
In reply to Thomas GleixnerQuoted 71 lines · Thomas Gleixner
From: Thomas Gleixner [email protected]
Based on 1 normalized pattern(s):
released under the gpl version 2 only
extracted by the scancode license scanner the SPDX license identifier
GPL-2.0-onlyhas been chosen to replace the boilerplate/reference in 4 file(s).
Signed-off-by Thomas Gleixner <[email protected]>--- samples/kfifo/bytestream-example.c | 4 +--- samples/kfifo/dma-example.c | 4 +--- samples/kfifo/inttype-example.c | 4 +--- samples/kfifo/record-example.c | 4 +--- 4 files changed, 4 insertions(+), 12 deletions(-)samples/kfifo/bytestream-example.c +1
-3@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Sample kfifo byte stream implementation * * Copyright (C) 2010 Stefani Seibold <[email protected]> -* -* Released under the GPL version 2 only. -* */ #include <linux/init.h> samples/kfifo/dma-example.c +1
-3@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Sample fifo dma implementation * * Copyright (C) 2010 Stefani Seibold <[email protected]> -* -* Released under the GPL version 2 only. -* */ #include <linux/init.h> samples/kfifo/inttype-example.c +1
-3@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only /* * Sample kfifo int type implementation * * Copyright (C) 2010 Stefani Seibold <[email protected]> -* -* Released under the GPL version 2 only. -* */ #include <linux/init.h> samples/kfifo/record-example.c +1
-0@@ -1,10 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0-only
samples/kfifo/record-example.c line 8
Quoted 10 lines
samples/kfifo/record-example.c +0
-3/* * Sample dynamic sized record fifo implementation * * Copyright (C) 2010 Stefani Seibold <[email protected]> -* -* Released under the GPL version 2 only. -* */ #include <linux/init.h>
Signature · 3 lines
Enrico Weigelt, metux IT consult Free software and Linux embedded engineering [email protected] -- +49-151-27565287