| Subject: treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 290 |
| Date: Tue, 07 May 2019 12:02:45 +0100 |
| From: Thomas Gleixner <tglx@linutronix.de> |
| |
| Based on 1 normalized pattern(s): |
| |
| this program is free software you can redistribute it and or modify |
| it under the terms of the gnu general public license as published by |
| the free software foundation version 2 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 97 file(s). |
| |
| The result has been manually verified and compared against a license |
| compliance dataset provided by .... |
| |
| Signed-off-by: Thomas Gleixner <tglx@linutronix.de> |
| |
| |
| --- |
| |
| --- a/arch/riscv/include/asm/asm.h |
| +++ b/arch/riscv/include/asm/asm.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2015 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_ASM_H |
| |
| |
| --- a/arch/riscv/include/asm/bitops.h |
| +++ b/arch/riscv/include/asm/bitops.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_BITOPS_H |
| |
| |
| --- a/arch/riscv/include/asm/bug.h |
| +++ b/arch/riscv/include/asm/bug.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_BUG_H |
| |
| |
| --- a/arch/riscv/include/asm/cache.h |
| +++ b/arch/riscv/include/asm/cache.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2017 Chen Liqin <liqin.chen@sunplusct.com> |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_CACHE_H |
| |
| |
| --- a/arch/riscv/include/asm/cacheflush.h |
| +++ b/arch/riscv/include/asm/cacheflush.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2015 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_CACHEFLUSH_H |
| |
| |
| --- a/arch/riscv/include/asm/cmpxchg.h |
| +++ b/arch/riscv/include/asm/cmpxchg.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_CMPXCHG_H |
| |
| |
| --- a/arch/riscv/include/asm/csr.h |
| +++ b/arch/riscv/include/asm/csr.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2015 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_CSR_H |
| |
| |
| --- a/arch/riscv/include/asm/current.h |
| +++ b/arch/riscv/include/asm/current.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Based on arm/arm64/include/asm/current.h |
| * |
| * Copyright (C) 2016 ARM |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| |
| |
| |
| --- a/arch/riscv/include/asm/delay.h |
| +++ b/arch/riscv/include/asm/delay.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2009 Chen Liqin <liqin.chen@sunplusct.com> |
| * Copyright (C) 2016 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_DELAY_H |
| |
| |
| --- a/arch/riscv/include/asm/io.h |
| +++ b/arch/riscv/include/asm/io.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * {read,write}{b,w,l,q} based on arch/arm64/include/asm/io.h |
| * which was based on arch/arm/include/io.h |
| @@ -5,15 +6,6 @@ |
| * Copyright (C) 1996-2000 Russell King |
| * Copyright (C) 2012 ARM Ltd. |
| * Copyright (C) 2014 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_IO_H |
| |
| |
| --- a/arch/riscv/include/asm/irq.h |
| +++ b/arch/riscv/include/asm/irq.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_IRQ_H |
| |
| |
| --- a/arch/riscv/include/asm/irqflags.h |
| +++ b/arch/riscv/include/asm/irqflags.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| |
| |
| |
| --- a/arch/riscv/include/asm/linkage.h |
| +++ b/arch/riscv/include/asm/linkage.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2015 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_LINKAGE_H |
| |
| |
| --- a/arch/riscv/include/asm/mmu.h |
| +++ b/arch/riscv/include/asm/mmu.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| |
| |
| |
| --- a/arch/riscv/include/asm/mmu_context.h |
| +++ b/arch/riscv/include/asm/mmu_context.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_MMU_CONTEXT_H |
| |
| |
| --- a/arch/riscv/include/asm/page.h |
| +++ b/arch/riscv/include/asm/page.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2009 Chen Liqin <liqin.chen@sunplusct.com> |
| * Copyright (C) 2012 Regents of the University of California |
| * Copyright (C) 2017 SiFive |
| * Copyright (C) 2017 XiaojingZhu <zhuxiaoj@ict.ac.cn> |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_PAGE_H |
| |
| |
| --- a/arch/riscv/include/asm/pci.h |
| +++ b/arch/riscv/include/asm/pci.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2016 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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 __ASM_RISCV_PCI_H |
| |
| |
| --- a/arch/riscv/include/asm/pgalloc.h |
| +++ b/arch/riscv/include/asm/pgalloc.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2009 Chen Liqin <liqin.chen@sunplusct.com> |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_PGALLOC_H |
| |
| |
| --- a/arch/riscv/include/asm/pgtable-32.h |
| +++ b/arch/riscv/include/asm/pgtable-32.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_PGTABLE_32_H |
| |
| |
| --- a/arch/riscv/include/asm/pgtable-64.h |
| +++ b/arch/riscv/include/asm/pgtable-64.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_PGTABLE_64_H |
| |
| |
| --- a/arch/riscv/include/asm/pgtable-bits.h |
| +++ b/arch/riscv/include/asm/pgtable-bits.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_PGTABLE_BITS_H |
| |
| |
| --- a/arch/riscv/include/asm/pgtable.h |
| +++ b/arch/riscv/include/asm/pgtable.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_PGTABLE_H |
| |
| |
| --- a/arch/riscv/include/asm/processor.h |
| +++ b/arch/riscv/include/asm/processor.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_PROCESSOR_H |
| |
| |
| --- a/arch/riscv/include/asm/ptrace.h |
| +++ b/arch/riscv/include/asm/ptrace.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_PTRACE_H |
| |
| |
| --- a/arch/riscv/include/asm/sbi.h |
| +++ b/arch/riscv/include/asm/sbi.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2015 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_SBI_H |
| |
| |
| --- a/arch/riscv/include/asm/smp.h |
| +++ b/arch/riscv/include/asm/smp.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_SMP_H |
| |
| |
| --- a/arch/riscv/include/asm/spinlock.h |
| +++ b/arch/riscv/include/asm/spinlock.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2015 Regents of the University of California |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_SPINLOCK_H |
| |
| |
| --- a/arch/riscv/include/asm/spinlock_types.h |
| +++ b/arch/riscv/include/asm/spinlock_types.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2015 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_SPINLOCK_TYPES_H |
| |
| |
| --- a/arch/riscv/include/asm/string.h |
| +++ b/arch/riscv/include/asm/string.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2013 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_STRING_H |
| |
| |
| --- a/arch/riscv/include/asm/switch_to.h |
| +++ b/arch/riscv/include/asm/switch_to.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_SWITCH_TO_H |
| |
| |
| --- a/arch/riscv/include/asm/syscall.h |
| +++ b/arch/riscv/include/asm/syscall.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved. |
| * Copyright 2010 Tilera Corporation. All Rights Reserved. |
| * Copyright 2015 Regents of the University of California, Berkeley |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * See asm-generic/syscall.h for descriptions of what we must do here. |
| */ |
| |
| |
| --- a/arch/riscv/include/asm/thread_info.h |
| +++ b/arch/riscv/include/asm/thread_info.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2009 Chen Liqin <liqin.chen@sunplusct.com> |
| * Copyright (C) 2012 Regents of the University of California |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_THREAD_INFO_H |
| |
| |
| --- a/arch/riscv/include/asm/timex.h |
| +++ b/arch/riscv/include/asm/timex.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_TIMEX_H |
| |
| |
| --- a/arch/riscv/include/asm/tlb.h |
| +++ b/arch/riscv/include/asm/tlb.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_TLB_H |
| |
| |
| --- a/arch/riscv/include/asm/tlbflush.h |
| +++ b/arch/riscv/include/asm/tlbflush.h |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2009 Chen Liqin <liqin.chen@sunplusct.com> |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _ASM_RISCV_TLBFLUSH_H |
| |
| |
| --- a/arch/riscv/include/asm/uaccess.h |
| +++ b/arch/riscv/include/asm/uaccess.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 file was copied from include/asm-generic/uaccess.h |
| */ |
| |
| |
| --- a/arch/riscv/include/asm/unistd.h |
| +++ b/arch/riscv/include/asm/unistd.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| /* |
| |
| |
| --- a/arch/riscv/include/asm/word-at-a-time.h |
| +++ b/arch/riscv/include/asm/word-at-a-time.h |
| @@ -1,14 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| * |
| - * 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. |
| - * |
| - * 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. |
| * Derived from arch/x86/include/asm/word-at-a-time.h |
| */ |
| |
| |
| |
| --- a/arch/riscv/include/uapi/asm/ptrace.h |
| +++ b/arch/riscv/include/uapi/asm/ptrace.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _UAPI_ASM_RISCV_PTRACE_H |
| |
| |
| --- a/arch/riscv/include/uapi/asm/sigcontext.h |
| +++ b/arch/riscv/include/uapi/asm/sigcontext.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 _UAPI_ASM_RISCV_SIGCONTEXT_H |
| |
| |
| --- a/arch/riscv/kernel/asm-offsets.c |
| +++ b/arch/riscv/kernel/asm-offsets.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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 GENERATING_ASM_OFFSETS |
| |
| |
| --- a/arch/riscv/kernel/cacheinfo.c |
| +++ b/arch/riscv/kernel/cacheinfo.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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/cacheinfo.h> |
| |
| |
| --- a/arch/riscv/kernel/cpu.c |
| +++ b/arch/riscv/kernel/cpu.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/arch/riscv/kernel/entry.S |
| +++ b/arch/riscv/kernel/entry.S |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/arch/riscv/kernel/head.S |
| +++ b/arch/riscv/kernel/head.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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 <asm/thread_info.h> |
| |
| |
| --- a/arch/riscv/kernel/ptrace.c |
| +++ b/arch/riscv/kernel/ptrace.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright 2010 Tilera Corporation. All Rights Reserved. |
| * Copyright 2015 Regents of the University of California |
| * Copyright 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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. |
| * |
| * Copied from arch/tile/kernel/ptrace.c |
| */ |
| |
| |
| --- a/arch/riscv/kernel/reset.c |
| +++ b/arch/riscv/kernel/reset.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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/reboot.h> |
| |
| |
| --- a/arch/riscv/kernel/sys_riscv.c |
| +++ b/arch/riscv/kernel/sys_riscv.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| * Copyright (C) 2014 Darius Rad <darius@bluespec.com> |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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/syscalls.h> |
| |
| |
| --- a/arch/riscv/kernel/syscall_table.c |
| +++ b/arch/riscv/kernel/syscall_table.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2009 Arnd Bergmann <arnd@arndb.de> |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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/linkage.h> |
| |
| |
| --- a/arch/riscv/kernel/time.c |
| +++ b/arch/riscv/kernel/time.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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/clocksource.h> |
| |
| |
| --- a/arch/riscv/kernel/traps.c |
| +++ b/arch/riscv/kernel/traps.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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> |
| |
| |
| --- a/arch/riscv/kernel/vmlinux.lds.S |
| +++ b/arch/riscv/kernel/vmlinux.lds.S |
| @@ -1,15 +1,7 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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 LOAD_OFFSET PAGE_OFFSET |
| |
| |
| --- a/arch/riscv/kernel/vdso/clock_getres.S |
| +++ b/arch/riscv/kernel/vdso/clock_getres.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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/linkage.h> |
| |
| |
| --- a/arch/riscv/kernel/vdso/clock_gettime.S |
| +++ b/arch/riscv/kernel/vdso/clock_gettime.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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/linkage.h> |
| |
| |
| --- a/arch/riscv/kernel/vdso/flush_icache.S |
| +++ b/arch/riscv/kernel/vdso/flush_icache.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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/linkage.h> |
| |
| |
| --- a/arch/riscv/kernel/vdso/getcpu.S |
| +++ b/arch/riscv/kernel/vdso/getcpu.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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/linkage.h> |
| |
| |
| --- a/arch/riscv/kernel/vdso/gettimeofday.S |
| +++ b/arch/riscv/kernel/vdso/gettimeofday.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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/linkage.h> |
| |
| |
| --- a/arch/riscv/kernel/vdso/rt_sigreturn.S |
| +++ b/arch/riscv/kernel/vdso/rt_sigreturn.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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/linkage.h> |
| |
| |
| --- a/arch/riscv/kernel/vdso/vdso.lds.S |
| +++ b/arch/riscv/kernel/vdso/vdso.lds.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| OUTPUT_ARCH(riscv) |
| |
| |
| --- a/arch/riscv/kernel/vdso/vdso.S |
| +++ b/arch/riscv/kernel/vdso/vdso.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2014 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/arch/riscv/lib/delay.c |
| +++ b/arch/riscv/lib/delay.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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/delay.h> |
| |
| |
| --- a/arch/riscv/lib/memcpy.S |
| +++ b/arch/riscv/lib/memcpy.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2013 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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/linkage.h> |
| |
| |
| --- a/arch/riscv/lib/memset.S |
| +++ b/arch/riscv/lib/memset.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2013 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| |
| |
| |
| --- a/arch/riscv/lib/tishift.S |
| +++ b/arch/riscv/lib/tishift.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2018 Free Software Foundation, Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/linkage.h> |
| |
| |
| --- a/arch/riscv/lib/udivdi3.S |
| +++ b/arch/riscv/lib/udivdi3.S |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2016-2017 Free Software Foundation, Inc. |
| - * |
| - * 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. |
| - * |
| - * 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/linkage.h> |
| |
| |
| --- a/arch/riscv/mm/cacheflush.c |
| +++ b/arch/riscv/mm/cacheflush.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2017 SiFive |
| - * |
| - * 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. |
| - * |
| - * 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 <asm/pgtable.h> |
| |
| |
| --- a/arch/riscv/mm/init.c |
| +++ b/arch/riscv/mm/init.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/arch/riscv/mm/ioremap.c |
| +++ b/arch/riscv/mm/ioremap.c |
| @@ -1,15 +1,7 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * (C) Copyright 1995 1996 Linus Torvalds |
| * (C) Copyright 2012 Regents of the University of California |
| - * |
| - * 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. |
| - * |
| - * 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/export.h> |
| |
| |
| --- a/drivers/i2c/busses/i2c-iop3xx.h |
| +++ b/drivers/i2c/busses/i2c-iop3xx.h |
| @@ -1,17 +1,11 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* ------------------------------------------------------------------------- */ |
| /* i2c-iop3xx.h algorithm driver definitions private to i2c-iop3xx.c */ |
| /* ------------------------------------------------------------------------- */ |
| /* Copyright (C) 2003 Peter Milne, D-TACQ Solutions Ltd |
| * <Peter dot Milne at D hyphen TACQ dot com> |
| |
| - This program is free software; you can redistribute it and/or modify |
| - it under the terms of the GNU General Public License as published by |
| - the Free Software Foundation, version 2. |
| - |
| - 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. */ |
| + */ |
| /* ------------------------------------------------------------------------- */ |
| |
| |
| |
| |
| --- a/drivers/media/dvb-frontends/mb86a20s.c |
| +++ b/drivers/media/dvb-frontends/mb86a20s.c |
| @@ -1,17 +1,9 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Fujitu mb86a20s ISDB-T/ISDB-Tsb Module driver |
| * |
| * Copyright (C) 2010-2013 Mauro Carvalho Chehab |
| * Copyright (C) 2009-2010 Douglas Landgraf <dougsland@redhat.com> |
| - * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public License as |
| - * published by the Free Software Foundation version 2. |
| - * |
| - * 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> |
| |
| |
| --- a/drivers/media/dvb-frontends/mb86a20s.h |
| +++ b/drivers/media/dvb-frontends/mb86a20s.h |
| @@ -1,16 +1,8 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Fujitsu mb86a20s driver |
| * |
| * Copyright (C) 2010 Mauro Carvalho Chehab |
| - * |
| - * 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. |
| - * |
| - * 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 MB86A20S_H |
| |
| |
| --- a/drivers/media/dvb-frontends/s921.c |
| +++ b/drivers/media/dvb-frontends/s921.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Sharp VA3A5JZ921 One Seg Broadcast Module driver |
| * This device is labeled as just S. 921 at the top of the frontend can |
| @@ -11,15 +12,6 @@ |
| * the old s921 driver. |
| * |
| * FIXME: Need to port to DVB v5.2 API |
| - * |
| - * 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. |
| - * |
| - * 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> |
| |
| |
| --- a/drivers/media/dvb-frontends/s921.h |
| +++ b/drivers/media/dvb-frontends/s921.h |
| @@ -1,17 +1,9 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Sharp s921 driver |
| * |
| * Copyright (C) 2009 Mauro Carvalho Chehab |
| * Copyright (C) 2009 Douglas Landgraf <dougsland@redhat.com> |
| - * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public License as |
| - * published by the Free Software Foundation version 2. |
| - * |
| - * 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 S921_H |
| |
| |
| --- a/drivers/media/pci/cx25821/cx25821-alsa.c |
| +++ b/drivers/media/pci/cx25821/cx25821-alsa.c |
| @@ -1,19 +1,10 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Driver for the Conexant CX25821 PCIe bridge |
| * |
| * Copyright (C) 2009 Conexant Systems Inc. |
| * Authors <shu.lin@conexant.com>, <hiep.huynh@conexant.com> |
| * Based on SAA713x ALSA driver and CX88 driver |
| - * |
| - * This program is free software; you can redistribute it and/or modify |
| - * it under the terms of the GNU General Public License as published by |
| - * the Free Software Foundation, version 2 |
| - * |
| - * 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 |
| |
| |
| --- a/drivers/media/pci/saa7134/saa7134-alsa.c |
| +++ b/drivers/media/pci/saa7134/saa7134-alsa.c |
| @@ -1,15 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * SAA713x ALSA support for V4L |
| - * |
| - * 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 |
| - * |
| - * 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 "saa7134.h" |
| |
| |
| --- a/drivers/media/platform/davinci/vpbe.c |
| +++ b/drivers/media/platform/davinci/vpbe.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2010 Texas Instruments Inc |
| - * |
| - * 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. |
| - * |
| - * 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/init.h> |
| |
| |
| --- a/drivers/media/platform/davinci/vpbe_osd.c |
| +++ b/drivers/media/platform/davinci/vpbe_osd.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2007-2010 Texas Instruments Inc |
| * Copyright (C) 2007 MontaVista Software, Inc. |
| @@ -6,16 +7,6 @@ |
| * - Initial version |
| * Murali Karicheri (mkaricheri@gmail.com), Texas Instruments Ltd. |
| * - ported to sub device interface |
| - * |
| - * 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. |
| - * |
| - * 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> |
| #include <linux/mod_devicetable.h> |
| |
| |
| --- a/drivers/media/platform/davinci/vpbe_osd_regs.h |
| +++ b/drivers/media/platform/davinci/vpbe_osd_regs.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2006-2010 Texas Instruments Inc |
| - * |
| - * 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. |
| - * |
| - * 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 _VPBE_OSD_REGS_H |
| #define _VPBE_OSD_REGS_H |
| |
| |
| --- a/drivers/media/platform/davinci/vpbe_venc.c |
| +++ b/drivers/media/platform/davinci/vpbe_venc.c |
| @@ -1,14 +1,6 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (C) 2010 Texas Instruments Inc |
| - * |
| - * 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. |
| - * |
| - * 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> |
| #include <linux/mod_devicetable.h> |
| |
| |
| --- a/drivers/media/platform/davinci/vpbe_venc_regs.h |
| +++ b/drivers/media/platform/davinci/vpbe_venc_regs.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2006-2010 Texas Instruments Inc |
| - * |
| - * 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.. |
| - * |
| - * 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 _VPBE_VENC_REGS_H |
| #define _VPBE_VENC_REGS_H |
| |
| |
| --- a/drivers/media/usb/tm6000/tm6000-dvb.c |
| +++ b/drivers/media/usb/tm6000/tm6000-dvb.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * tm6000-dvb.c - dvb-t support for TM5600/TM6000/TM6010 USB video capture devices |
| * |
| * Copyright (C) 2007 Michel Ludwig <michel.ludwig@gmail.com> |
| - * |
| - * This program is free software; you can redistribute it and/or modify |
| - * it under the terms of the GNU General Public License as published by |
| - * the Free Software Foundation version 2 |
| - * |
| - * 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> |
| |
| |
| --- a/drivers/media/usb/tm6000/tm6000-input.c |
| +++ b/drivers/media/usb/tm6000/tm6000-input.c |
| @@ -1,16 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * tm6000-input.c - driver for TM5600/TM6000/TM6010 USB video capture devices |
| * |
| * Copyright (C) 2010 Stefan Ringel <stefan.ringel@arcor.de> |
| - * |
| - * 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 |
| - * |
| - * 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> |
| |
| |
| --- a/drivers/mtd/ubi/block.c |
| +++ b/drivers/mtd/ubi/block.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2014 Ezequiel Garcia |
| * Copyright (c) 2011 Free Electrons |
| @@ -6,15 +7,6 @@ |
| * Copyright (c) International Business Machines Corp., 2006 |
| * Copyright (c) Nokia Corporation, 2007 |
| * Authors: Artem Bityutskiy, Frank Haverkamp |
| - * |
| - * 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. |
| - * |
| - * 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. |
| */ |
| |
| /* |
| |
| |
| --- a/drivers/mtd/ubi/fastmap-wl.c |
| +++ b/drivers/mtd/ubi/fastmap-wl.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2012 Linutronix GmbH |
| * Copyright (c) 2014 sigma star gmbh |
| * Author: Richard Weinberger <richard@nod.at> |
| - * |
| - * 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. |
| - * |
| - * 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. |
| - * |
| */ |
| |
| /** |
| |
| |
| --- a/drivers/mtd/ubi/fastmap.c |
| +++ b/drivers/mtd/ubi/fastmap.c |
| @@ -1,17 +1,8 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * Copyright (c) 2012 Linutronix GmbH |
| * Copyright (c) 2014 sigma star gmbh |
| * Author: Richard Weinberger <richard@nod.at> |
| - * |
| - * 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. |
| - * |
| - * 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/crc32.h> |
| |
| |
| --- a/drivers/thermal/gov_bang_bang.c |
| +++ b/drivers/thermal/gov_bang_bang.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* |
| * gov_bang_bang.c - A simple thermal throttling governor using hysteresis |
| * |
| @@ -6,17 +7,6 @@ |
| * Based on step_wise.c with following Copyrights: |
| * Copyright (C) 2012 Intel Corp |
| * Copyright (C) 2012 Durgadoss R <durgadoss.r@intel.com> |
| - * |
| - * |
| - * This program is free software; you can redistribute it and/or modify |
| - * it under the terms of the GNU General Public License as published by |
| - * the Free Software Foundation, version 2. |
| - * |
| - * 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/thermal.h> |
| |
| |
| --- a/fs/ocfs2/filecheck.c |
| +++ b/fs/ocfs2/filecheck.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -6,15 +7,6 @@ |
| * Code which implements online file check. |
| * |
| * Copyright (C) 2016 SuSE. All rights reserved. |
| - * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public |
| - * License as published by the Free Software Foundation, version 2. |
| - * |
| - * 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/list.h> |
| |
| |
| --- a/fs/ocfs2/filecheck.h |
| +++ b/fs/ocfs2/filecheck.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -6,15 +7,6 @@ |
| * Online file check. |
| * |
| * Copyright (C) 2016 SuSE. All rights reserved. |
| - * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public |
| - * License as published by the Free Software Foundation, version 2. |
| - * |
| - * 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. |
| */ |
| |
| |
| |
| |
| --- a/fs/ocfs2/stack_o2cb.c |
| +++ b/fs/ocfs2/stack_o2cb.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -6,15 +7,6 @@ |
| * Code which interfaces ocfs2 with the o2cb stack. |
| * |
| * Copyright (C) 2007 Oracle. All rights reserved. |
| - * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public |
| - * License as published by the Free Software Foundation, version 2. |
| - * |
| - * 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> |
| |
| |
| --- a/fs/ocfs2/stack_user.c |
| +++ b/fs/ocfs2/stack_user.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -6,15 +7,6 @@ |
| * Code which interfaces ocfs2 with fs/dlm and a userspace stack. |
| * |
| * Copyright (C) 2007 Oracle. All rights reserved. |
| - * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public |
| - * License as published by the Free Software Foundation, version 2. |
| - * |
| - * 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> |
| |
| |
| --- a/fs/ocfs2/stackglue.c |
| +++ b/fs/ocfs2/stackglue.c |
| @@ -1,3 +1,4 @@ |
| +// SPDX-License-Identifier: GPL-2.0-only |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -7,15 +8,6 @@ |
| * cluster stacks. |
| * |
| * Copyright (C) 2007, 2009 Oracle. All rights reserved. |
| - * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public |
| - * License as published by the Free Software Foundation, version 2. |
| - * |
| - * 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/list.h> |
| |
| |
| --- a/fs/ocfs2/stackglue.h |
| +++ b/fs/ocfs2/stackglue.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* -*- mode: c; c-basic-offset: 8; -*- |
| * vim: noexpandtab sw=8 ts=8 sts=0: |
| * |
| @@ -6,15 +7,6 @@ |
| * Glue to the underlying cluster stack. |
| * |
| * Copyright (C) 2007 Oracle. All rights reserved. |
| - * |
| - * This program is free software; you can redistribute it and/or |
| - * modify it under the terms of the GNU General Public |
| - * License as published by the Free Software Foundation, version 2. |
| - * |
| - * 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. |
| */ |
| |
| |
| |
| |
| --- a/include/media/davinci/vpbe.h |
| +++ b/include/media/davinci/vpbe.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2010 Texas Instruments Inc |
| - * |
| - * 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. |
| - * |
| - * 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 _VPBE_H |
| #define _VPBE_H |
| |
| |
| --- a/include/media/davinci/vpbe_osd.h |
| +++ b/include/media/davinci/vpbe_osd.h |
| @@ -1,3 +1,4 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2007-2009 Texas Instruments Inc |
| * Copyright (C) 2007 MontaVista Software, Inc. |
| @@ -6,16 +7,6 @@ |
| * - Initial version |
| * Murali Karicheri (mkaricheri@gmail.com), Texas Instruments Ltd. |
| * - ported to sub device interface |
| - * |
| - * 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.. |
| - * |
| - * 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 _OSD_H |
| #define _OSD_H |
| |
| |
| --- a/include/media/davinci/vpbe_types.h |
| +++ b/include/media/davinci/vpbe_types.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2010 Texas Instruments Inc |
| - * |
| - * 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. |
| - * |
| - * 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 _VPBE_TYPES_H |
| #define _VPBE_TYPES_H |
| |
| |
| --- a/include/media/davinci/vpbe_venc.h |
| +++ b/include/media/davinci/vpbe_venc.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2010 Texas Instruments Inc |
| - * |
| - * 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. |
| - * |
| - * 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 _VPBE_VENC_H |
| #define _VPBE_VENC_H |
| |
| |
| --- a/include/media/davinci/vpif_types.h |
| +++ b/include/media/davinci/vpif_types.h |
| @@ -1,14 +1,6 @@ |
| +/* SPDX-License-Identifier: GPL-2.0-only */ |
| /* |
| * Copyright (C) 2011 Texas Instruments Inc |
| - * |
| - * 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. |
| - * |
| - * 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 _VPIF_TYPES_H |
| #define _VPIF_TYPES_H |
| |
| |