ARCH: Use the correct style for SPDX License Identifier
Subsystems (13)
v3 cover ARCH: Use the correct style for SPDX License Identifier
This patch corrects the SPDX License Identifier style in the Hardware Architecture subsystem. For C header files Documentation/process/license-rules.rst mandates C-like comments (opposed to C source files where C++ style should be used)
Changes made by using a script provided by Joe Perches here:
https://lkml.org/lkml/2019/2/7/46
and making some manual changes.
Changes in v3:
- Split the patch by architecture so that the repective maintainers can pick it up.
Changes in v2:
- Added a note in the patch description.
Nishad Kamdar (5):
arm64: Use the correct style for SPDX License Identifier
nds32: Use the correct style for SPDX License Identifier
powerpc: Use the correct style for SPDX License Identifier
sh: Use the correct style for SPDX License Identifier
x86: Use the correct style for SPDX License Identifier
arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 2 +- arch/arm64/include/asm/pointer_auth.h | 2 +- arch/arm64/include/asm/sdei.h | 2 +- arch/arm64/include/asm/vmap_stack.h | 2 +- arch/nds32/include/asm/assembler.h | 2 +- arch/nds32/include/asm/barrier.h | 2 +- arch/nds32/include/asm/bitfield.h | 2 +- arch/nds32/include/asm/cache.h | 2 +- arch/nds32/include/asm/cache_info.h | 2 +- arch/nds32/include/asm/cacheflush.h | 2 +- arch/nds32/include/asm/current.h | 2 +- arch/nds32/include/asm/delay.h | 2 +- arch/nds32/include/asm/elf.h | 2 +- arch/nds32/include/asm/fixmap.h | 2 +- arch/nds32/include/asm/futex.h | 2 +- arch/nds32/include/asm/highmem.h | 2 +- arch/nds32/include/asm/io.h | 2 +- arch/nds32/include/asm/irqflags.h | 2 +- arch/nds32/include/asm/l2_cache.h | 2 +- arch/nds32/include/asm/linkage.h | 2 +- arch/nds32/include/asm/memory.h | 2 +- arch/nds32/include/asm/mmu.h | 2 +- arch/nds32/include/asm/mmu_context.h | 2 +- arch/nds32/include/asm/module.h | 2 +- arch/nds32/include/asm/nds32.h | 2 +- arch/nds32/include/asm/page.h | 2 +- arch/nds32/include/asm/pgalloc.h | 2 +- arch/nds32/include/asm/pgtable.h | 2 +- arch/nds32/include/asm/proc-fns.h | 2 +- arch/nds32/include/asm/processor.h | 2 +- arch/nds32/include/asm/ptrace.h | 2 +- arch/nds32/include/asm/shmparam.h | 2 +- arch/nds32/include/asm/string.h | 2 +- arch/nds32/include/asm/swab.h | 2 +- arch/nds32/include/asm/syscall.h | 2 +- arch/nds32/include/asm/syscalls.h | 2 +- arch/nds32/include/asm/thread_info.h | 2 +- arch/nds32/include/asm/tlb.h | 2 +- arch/nds32/include/asm/tlbflush.h | 2 +- arch/nds32/include/asm/uaccess.h | 2 +- arch/nds32/include/asm/unistd.h | 2 +- arch/nds32/include/asm/vdso.h | 2 +- arch/nds32/include/asm/vdso_datapage.h | 2 +- arch/nds32/include/asm/vdso_timer_info.h | 2 +- arch/nds32/include/uapi/asm/auxvec.h | 2 +- arch/nds32/include/uapi/asm/byteorder.h | 2 +- arch/nds32/include/uapi/asm/cachectl.h | 2 +- arch/nds32/include/uapi/asm/param.h | 2 +- arch/nds32/include/uapi/asm/ptrace.h | 2 +- arch/nds32/include/uapi/asm/sigcontext.h | 2 +- arch/nds32/include/uapi/asm/unistd.h | 2 +- arch/powerpc/include/asm/pnv-ocxl.h | 2 +- arch/sh/drivers/pci/pci-sh5.h | 4 ++-- arch/sh/drivers/pci/pci-sh7751.h | 4 ++-- arch/sh/drivers/pci/pci-sh7780.h | 4 ++-- arch/sh/drivers/pci/pcie-sh7786.h | 4 ++-- arch/sh/include/asm/addrspace.h | 4 ++-- arch/sh/include/asm/bl_bit_64.h | 4 ++-- arch/sh/include/asm/cache_insns_64.h | 4 ++-- arch/sh/include/asm/device.h | 4 ++-- arch/sh/include/asm/dma-register.h | 4 ++-- arch/sh/include/asm/dma.h | 4 ++-- arch/sh/include/asm/dwarf.h | 4 ++-- arch/sh/include/asm/fixmap.h | 4 ++-- arch/sh/include/asm/flat.h | 4 ++-- arch/sh/include/asm/freq.h | 4 ++-- arch/sh/include/asm/gpio.h | 4 ++-- arch/sh/include/asm/machvec.h | 4 ++-- arch/sh/include/asm/pgtable.h | 4 ++-- arch/sh/include/asm/sfp-machine.h | 4 ++-- arch/sh/include/asm/shmparam.h | 4 ++-- arch/sh/include/asm/siu.h | 4 ++-- arch/sh/include/asm/spinlock-cas.h | 4 ++-- arch/sh/include/asm/spinlock-llsc.h | 4 ++-- arch/sh/include/asm/spinlock.h | 4 ++-- arch/sh/include/asm/switch_to.h | 4 ++-- arch/sh/include/asm/switch_to_64.h | 4 ++-- arch/sh/include/asm/tlb_64.h | 4 ++-- arch/sh/include/asm/traps_64.h | 4 ++-- arch/sh/include/asm/watchdog.h | 4 ++-- arch/sh/include/cpu-common/cpu/addrspace.h | 4 ++-- arch/sh/include/cpu-common/cpu/mmu_context.h | 4 ++-- arch/sh/include/cpu-common/cpu/pfc.h | 4 ++-- arch/sh/include/cpu-sh2/cpu/cache.h | 4 ++-- arch/sh/include/cpu-sh2/cpu/freq.h | 4 ++-- arch/sh/include/cpu-sh2/cpu/watchdog.h | 4 ++-- arch/sh/include/cpu-sh2a/cpu/cache.h | 4 ++-- arch/sh/include/cpu-sh2a/cpu/freq.h | 4 ++-- arch/sh/include/cpu-sh3/cpu/cache.h | 4 ++-- arch/sh/include/cpu-sh3/cpu/dma-register.h | 4 ++-- arch/sh/include/cpu-sh3/cpu/freq.h | 4 ++-- arch/sh/include/cpu-sh3/cpu/gpio.h | 4 ++-- arch/sh/include/cpu-sh3/cpu/mmu_context.h | 4 ++-- arch/sh/include/cpu-sh3/cpu/watchdog.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/addrspace.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/cache.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/dma-register.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/fpu.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/freq.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/mmu_context.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/sh7786.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/sq.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/watchdog.h | 4 ++-- arch/sh/include/mach-common/mach/hp6xx.h | 4 ++-- arch/sh/include/mach-common/mach/magicpanelr2.h | 4 ++-- arch/sh/include/mach-common/mach/mangle-port.h | 4 ++-- arch/sh/include/mach-common/mach/microdev.h | 4 ++-- arch/sh/include/mach-common/mach/secureedge5410.h | 4 ++-- arch/sh/include/mach-dreamcast/mach/dma.h | 4 ++-- arch/sh/include/mach-dreamcast/mach/pci.h | 4 ++-- arch/sh/include/mach-dreamcast/mach/sysasic.h | 4 ++-- arch/sh/include/mach-se/mach/se7721.h | 4 ++-- arch/x86/include/asm/cpu_entry_area.h | 2 +- arch/x86/include/asm/pti.h | 2 +- arch/x86/kernel/process.h | 2 +- 115 files changed, 175 insertions(+), 175 deletions(-)
Signature · 1 line
2.17.1
PATCH v3 1/5 arm64: Use the correct style for SPDX License Identifier
This patch corrects the SPDX License Identifier style in the arm64 Hardware Architecture related files.
--- arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 2 +- arch/arm64/include/asm/pointer_auth.h | 2 +- arch/arm64/include/asm/sdei.h | 2 +- arch/arm64/include/asm/vmap_stack.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2018 MediaTek Inc. * Author: Zhiyong Tao <[email protected]>
arch/arm64/include/asm/pointer_auth.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_POINTER_AUTH_H#define __ASM_POINTER_AUTH_H
arch/arm64/include/asm/sdei.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2017 Arm Ltd. #ifndef __ASM_SDEI_H#define __ASM_SDEI_H
arch/arm64/include/asm/vmap_stack.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2017 Arm Ltd. #ifndef __ASM_VMAP_STACK_H#define __ASM_VMAP_STACK_H
Signature · 1 line
2.17.1
Re: [PATCH v3 1/5] arm64: Use the correct style for SPDX License Identifier
Quoted 11 lines · Nishad Kamdar
This patch corrects the SPDX License Identifier style in the arm64 Hardware Architecture related files.
Suggested-by Joe Perches <[email protected]>Signed-off-by Nishad Kamdar <[email protected]>--- arch/arm64/boot/dts/mediatek/mt2712-pinfunc.h | 2 +- arch/arm64/include/asm/pointer_auth.h | 2 +- arch/arm64/include/asm/sdei.h | 2 +- arch/arm64/include/asm/vmap_stack.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-)
I'll pick this up for 5.2.
Will
PATCH v3 2/5 nds32: Use the correct style for SPDX License Identifier
In reply to Nishad KamdarThis patch corrects the SPDX License Identifier style in the nds32 Hardware Architecture related files.
--- arch/nds32/include/asm/assembler.h | 2 +- arch/nds32/include/asm/barrier.h | 2 +- arch/nds32/include/asm/bitfield.h | 2 +- arch/nds32/include/asm/cache.h | 2 +- arch/nds32/include/asm/cache_info.h | 2 +- arch/nds32/include/asm/cacheflush.h | 2 +- arch/nds32/include/asm/current.h | 2 +- arch/nds32/include/asm/delay.h | 2 +- arch/nds32/include/asm/elf.h | 2 +- arch/nds32/include/asm/fixmap.h | 2 +- arch/nds32/include/asm/futex.h | 2 +- arch/nds32/include/asm/highmem.h | 2 +- arch/nds32/include/asm/io.h | 2 +- arch/nds32/include/asm/irqflags.h | 2 +- arch/nds32/include/asm/l2_cache.h | 2 +- arch/nds32/include/asm/linkage.h | 2 +- arch/nds32/include/asm/memory.h | 2 +- arch/nds32/include/asm/mmu.h | 2 +- arch/nds32/include/asm/mmu_context.h | 2 +- arch/nds32/include/asm/module.h | 2 +- arch/nds32/include/asm/nds32.h | 2 +- arch/nds32/include/asm/page.h | 2 +- arch/nds32/include/asm/pgalloc.h | 2 +- arch/nds32/include/asm/pgtable.h | 2 +- arch/nds32/include/asm/proc-fns.h | 2 +- arch/nds32/include/asm/processor.h | 2 +- arch/nds32/include/asm/ptrace.h | 2 +- arch/nds32/include/asm/shmparam.h | 2 +- arch/nds32/include/asm/string.h | 2 +- arch/nds32/include/asm/swab.h | 2 +- arch/nds32/include/asm/syscall.h | 2 +- arch/nds32/include/asm/syscalls.h | 2 +- arch/nds32/include/asm/thread_info.h | 2 +- arch/nds32/include/asm/tlb.h | 2 +- arch/nds32/include/asm/tlbflush.h | 2 +- arch/nds32/include/asm/uaccess.h | 2 +- arch/nds32/include/asm/unistd.h | 2 +- arch/nds32/include/asm/vdso.h | 2 +- arch/nds32/include/asm/vdso_datapage.h | 2 +- arch/nds32/include/asm/vdso_timer_info.h | 2 +- arch/nds32/include/uapi/asm/auxvec.h | 2 +- arch/nds32/include/uapi/asm/byteorder.h | 2 +- arch/nds32/include/uapi/asm/cachectl.h | 2 +- arch/nds32/include/uapi/asm/param.h | 2 +- arch/nds32/include/uapi/asm/ptrace.h | 2 +- arch/nds32/include/uapi/asm/sigcontext.h | 2 +- arch/nds32/include/uapi/asm/unistd.h | 2 +- 47 files changed, 47 insertions(+), 47 deletions(-)
arch/nds32/include/asm/assembler.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_ASSEMBLER_H__
arch/nds32/include/asm/barrier.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_ASM_BARRIER_H
arch/nds32/include/asm/bitfield.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_BITFIELD_H__
arch/nds32/include/asm/cache.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_CACHE_H__
arch/nds32/include/asm/cache_info.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation struct cache_info {
arch/nds32/include/asm/cacheflush.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_CACHEFLUSH_H__
arch/nds32/include/asm/current.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASM_NDS32_CURRENT_H
arch/nds32/include/asm/delay.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_DELAY_H__
arch/nds32/include/asm/elf.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASMNDS32_ELF_H
arch/nds32/include/asm/fixmap.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_FIXMAP_H
arch/nds32/include/asm/futex.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_FUTEX_H__
arch/nds32/include/asm/highmem.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASM_HIGHMEM_H
arch/nds32/include/asm/io.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_IO_H
arch/nds32/include/asm/irqflags.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #include <asm/nds32.h>
arch/nds32/include/asm/l2_cache.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef L2_CACHE_H
arch/nds32/include/asm/linkage.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_LINKAGE_H
arch/nds32/include/asm/memory.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_MEMORY_H
arch/nds32/include/asm/mmu.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_MMU_H
arch/nds32/include/asm/mmu_context.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_MMU_CONTEXT_H
arch/nds32/include/asm/module.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASM_NDS32_MODULE_H
arch/nds32/include/asm/nds32.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASM_NDS32_NDS32_H_
arch/nds32/include/asm/page.h +1 -1
@@ -1,5 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* -* SPDX-License-Identifier: GPL-2.0 * Copyright (C) 2005-2017 Andes Technology Corporation */
arch/nds32/include/asm/pgalloc.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASMNDS32_PGALLOC_H
arch/nds32/include/asm/pgtable.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASMNDS32_PGTABLE_H
arch/nds32/include/asm/proc-fns.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_PROCFNS_H__
arch/nds32/include/asm/processor.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_PROCESSOR_H
arch/nds32/include/asm/ptrace.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_PTRACE_H
arch/nds32/include/asm/shmparam.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASMNDS32_SHMPARAM_H
arch/nds32/include/asm/string.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_STRING_H
arch/nds32/include/asm/swab.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_SWAB_H__
arch/nds32/include/asm/syscall.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved. // Copyright (C) 2005-2017 Andes Technology Corporation
arch/nds32/include/asm/syscalls.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_SYSCALLS_H
arch/nds32/include/asm/thread_info.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_THREAD_INFO_H
arch/nds32/include/asm/tlb.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASMNDS32_TLB_H
arch/nds32/include/asm/tlbflush.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASMNDS32_TLBFLUSH_H
arch/nds32/include/asm/uaccess.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASMANDES_UACCESS_H
arch/nds32/include/asm/unistd.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #define __ARCH_WANT_SYS_CLONE
arch/nds32/include/asm/vdso.h +1 -1
@@ -1,5 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* -* SPDX-License-Identifier: GPL-2.0 * Copyright (C) 2005-2017 Andes Technology Corporation */
arch/nds32/include/asm/vdso_datapage.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2012 ARM Limited // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_VDSO_DATAPAGE_H
arch/nds32/include/asm/vdso_timer_info.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation extern struct timer_info_t timer_info;
arch/nds32/include/uapi/asm/auxvec.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_AUXVEC_H
arch/nds32/include/uapi/asm/byteorder.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_BYTEORDER_H__
arch/nds32/include/uapi/asm/cachectl.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 1994, 1995, 1996 by Ralf Baechle // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASM_CACHECTL
arch/nds32/include/uapi/asm/param.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_PARAM_H
arch/nds32/include/uapi/asm/ptrace.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __UAPI_ASM_NDS32_PTRACE_H
arch/nds32/include/uapi/asm/sigcontext.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASMNDS32_SIGCONTEXT_H
arch/nds32/include/uapi/asm/unistd.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #define __ARCH_WANT_STAT64
Signature · 1 line
2.17.1
Re: [PATCH v3 2/5] nds32: Use the correct style for SPDX License Identifier
Quoted 5 lines · Nishad Kamdar
This patch corrects the SPDX License Identifier style in the nds32 Hardware Architecture related files.
Suggested-by Joe Perches <[email protected]>Signed-off-by Nishad Kamdar <[email protected]>
Actually instead of doing that we should fix the documentation. The requirement came from older binutils because they barfed on // style comments in ASM files. That's history as we upped the minimal binutil requirement.
Thanks,
tglx
Re: [PATCH v3 2/5] nds32: Use the correct style for SPDX License Identifier
Quoted 8 lines · Thomas Gleixner
Quoted 5 lines · Nishad Kamdar
This patch corrects the SPDX License Identifier style in the nds32 Hardware Architecture related files.
Suggested-by Joe Perches <[email protected]>Signed-off-by Nishad Kamdar <[email protected]>
Quoted 8 lines
Actually instead of doing that we should fix the documentation. The requirement came from older binutils because they barfed on // style comments in ASM files. That's history as we upped the minimal binutil requirement.
Thanks,
tglx
Ok.
So according to license-rules.rst,
which says
"This has been fixed by now, but there are still older assembler tools which cannot handle C++ style comments."
Now there are no assembler tools which cannot handle C++ comments ? and the document should be changed accordingly ?
Thanks for the review.
Regards,
Nishad
Re: [PATCH v3 2/5] nds32: Use the correct style for SPDX License Identifier
In reply to Nishad KamdarQuoted 61 lines · Nishad Kamdar
This patch corrects the SPDX License Identifier style in the nds32 Hardware Architecture related files.
Suggested-by Joe Perches <[email protected]>Signed-off-by Nishad Kamdar <[email protected]>--- arch/nds32/include/asm/assembler.h | 2 +- arch/nds32/include/asm/barrier.h | 2 +- arch/nds32/include/asm/bitfield.h | 2 +- arch/nds32/include/asm/cache.h | 2 +- arch/nds32/include/asm/cache_info.h | 2 +- arch/nds32/include/asm/cacheflush.h | 2 +- arch/nds32/include/asm/current.h | 2 +- arch/nds32/include/asm/delay.h | 2 +- arch/nds32/include/asm/elf.h | 2 +- arch/nds32/include/asm/fixmap.h | 2 +- arch/nds32/include/asm/futex.h | 2 +- arch/nds32/include/asm/highmem.h | 2 +- arch/nds32/include/asm/io.h | 2 +- arch/nds32/include/asm/irqflags.h | 2 +- arch/nds32/include/asm/l2_cache.h | 2 +- arch/nds32/include/asm/linkage.h | 2 +- arch/nds32/include/asm/memory.h | 2 +- arch/nds32/include/asm/mmu.h | 2 +- arch/nds32/include/asm/mmu_context.h | 2 +- arch/nds32/include/asm/module.h | 2 +- arch/nds32/include/asm/nds32.h | 2 +- arch/nds32/include/asm/page.h | 2 +- arch/nds32/include/asm/pgalloc.h | 2 +- arch/nds32/include/asm/pgtable.h | 2 +- arch/nds32/include/asm/proc-fns.h | 2 +- arch/nds32/include/asm/processor.h | 2 +- arch/nds32/include/asm/ptrace.h | 2 +- arch/nds32/include/asm/shmparam.h | 2 +- arch/nds32/include/asm/string.h | 2 +- arch/nds32/include/asm/swab.h | 2 +- arch/nds32/include/asm/syscall.h | 2 +- arch/nds32/include/asm/syscalls.h | 2 +- arch/nds32/include/asm/thread_info.h | 2 +- arch/nds32/include/asm/tlb.h | 2 +- arch/nds32/include/asm/tlbflush.h | 2 +- arch/nds32/include/asm/uaccess.h | 2 +- arch/nds32/include/asm/unistd.h | 2 +- arch/nds32/include/asm/vdso.h | 2 +- arch/nds32/include/asm/vdso_datapage.h | 2 +- arch/nds32/include/asm/vdso_timer_info.h | 2 +- arch/nds32/include/uapi/asm/auxvec.h | 2 +- arch/nds32/include/uapi/asm/byteorder.h | 2 +- arch/nds32/include/uapi/asm/cachectl.h | 2 +- arch/nds32/include/uapi/asm/param.h | 2 +- arch/nds32/include/uapi/asm/ptrace.h | 2 +- arch/nds32/include/uapi/asm/sigcontext.h | 2 +- arch/nds32/include/uapi/asm/unistd.h | 2 +- 47 files changed, 47 insertions(+), 47 deletions(-)arch/nds32/include/asm/assembler.h +0
-0
arch/nds32/include/asm/assembler.h line 2
Quoted 3 lines
arch/nds32/include/asm/assembler.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation
I think, better to include next *Copyright* line in multi line comment. Applicable in all below places.
Quoted 467 lines
arch/nds32/include/asm/assembler.h +0
-0#ifndef __NDS32_ASSEMBLER_H__arch/nds32/include/asm/barrier.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_ASM_BARRIER_Harch/nds32/include/asm/bitfield.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_BITFIELD_H__arch/nds32/include/asm/cache.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_CACHE_H__arch/nds32/include/asm/cache_info.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation struct cache_info {arch/nds32/include/asm/cacheflush.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_CACHEFLUSH_H__arch/nds32/include/asm/current.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASM_NDS32_CURRENT_Harch/nds32/include/asm/delay.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_DELAY_H__arch/nds32/include/asm/elf.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASMNDS32_ELF_Harch/nds32/include/asm/fixmap.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_FIXMAP_Harch/nds32/include/asm/futex.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_FUTEX_H__arch/nds32/include/asm/highmem.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASM_HIGHMEM_Harch/nds32/include/asm/io.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_IO_Harch/nds32/include/asm/irqflags.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #include <asm/nds32.h> arch/nds32/include/asm/l2_cache.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef L2_CACHE_H arch/nds32/include/asm/linkage.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_LINKAGE_Harch/nds32/include/asm/memory.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_MEMORY_Harch/nds32/include/asm/mmu.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_MMU_Harch/nds32/include/asm/mmu_context.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_MMU_CONTEXT_Harch/nds32/include/asm/module.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASM_NDS32_MODULE_Harch/nds32/include/asm/nds32.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASM_NDS32_NDS32_H_arch/nds32/include/asm/page.h +1
-1@@ -1,5 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* -* SPDX-License-Identifier: GPL-2.0 * Copyright (C) 2005-2017 Andes Technology Corporation */ arch/nds32/include/asm/pgalloc.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASMNDS32_PGALLOC_Harch/nds32/include/asm/pgtable.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASMNDS32_PGTABLE_Harch/nds32/include/asm/proc-fns.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_PROCFNS_H__arch/nds32/include/asm/processor.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_PROCESSOR_Harch/nds32/include/asm/ptrace.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_PTRACE_Harch/nds32/include/asm/shmparam.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASMNDS32_SHMPARAM_Harch/nds32/include/asm/string.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_STRING_Harch/nds32/include/asm/swab.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_SWAB_H__arch/nds32/include/asm/syscall.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved. // Copyright (C) 2005-2017 Andes Technology Corporation arch/nds32/include/asm/syscalls.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_SYSCALLS_Harch/nds32/include/asm/thread_info.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_THREAD_INFO_Harch/nds32/include/asm/tlb.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASMNDS32_TLB_Harch/nds32/include/asm/tlbflush.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASMNDS32_TLBFLUSH_Harch/nds32/include/asm/uaccess.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASMANDES_UACCESS_Harch/nds32/include/asm/unistd.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #define __ARCH_WANT_SYS_CLONEarch/nds32/include/asm/vdso.h +1
-1@@ -1,5 +1,5 @@ +/* SPDX-License-Identifier: GPL-2.0 */ /* -* SPDX-License-Identifier: GPL-2.0 * Copyright (C) 2005-2017 Andes Technology Corporation */ arch/nds32/include/asm/vdso_datapage.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2012 ARM Limited // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_VDSO_DATAPAGE_Harch/nds32/include/asm/vdso_timer_info.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation extern struct timer_info_t timer_info;arch/nds32/include/uapi/asm/auxvec.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_AUXVEC_Harch/nds32/include/uapi/asm/byteorder.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __NDS32_BYTEORDER_H__arch/nds32/include/uapi/asm/cachectl.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 1994, 1995, 1996 by Ralf Baechle // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASM_CACHECTLarch/nds32/include/uapi/asm/param.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __ASM_NDS32_PARAM_Harch/nds32/include/uapi/asm/ptrace.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef __UAPI_ASM_NDS32_PTRACE_Harch/nds32/include/uapi/asm/sigcontext.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #ifndef _ASMNDS32_SIGCONTEXT_Harch/nds32/include/uapi/asm/unistd.h +1
-2@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // Copyright (C) 2005-2017 Andes Technology Corporation #define __ARCH_WANT_STAT64 --2.17.1
PATCH v3 3/5 powerpc: Use the correct style for SPDX License Identifier
In reply to Nishad KamdarThis patch corrects the SPDX License Identifier style in the powerpc Hardware Architecture related files.
--- arch/powerpc/include/asm/pnv-ocxl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/include/asm/pnv-ocxl.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ // Copyright 2017 IBM Corp. #ifndef _ASM_PNV_OCXL_H#define _ASM_PNV_OCXL_H
Signature · 1 line
2.17.1
Re: [PATCH v3 3/5] powerpc: Use the correct style for SPDX License Identifier
Quoted 6 lines · Nishad Kamdar
This patch corrects the SPDX License Identifier style in the powerpc Hardware Architecture related files.
Suggested-by Joe Perches <[email protected]>Signed-off-by Nishad Kamdar <[email protected]>---
TIL there's a different style for source vs headers... sigh. :( Thanks for fixing.
Quoted 14 lines
arch/powerpc/include/asm/pnv-ocxl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/powerpc/include/asm/pnv-ocxl.h +1
-1@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0+ +/* SPDX-License-Identifier: GPL-2.0+ */ // Copyright 2017 IBM Corp. #ifndef _ASM_PNV_OCXL_H#define _ASM_PNV_OCXL_H
Signature · 2 lines
Andrew Donnellan OzLabs, ADL Canberra [email protected] IBM Australia Limited
Michael Ellerman
AppliedRe: [PATCH v3 3/5] powerpc: Use the correct style for SPDX License Identifier
In reply to Nishad KamdarQuoted 6 lines · Nishad Kamdar
This patch corrects the SPDX License Identifier style in the powerpc Hardware Architecture related files.
Suggested-by Joe Perches <[email protected]>Signed-off-by Nishad Kamdar <[email protected]>Acked-by Andrew Donnellan <[email protected]>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/2200bbec12c428d7b276fb450e5755cdfe435ae5
cheers
PATCH v3 4/5 sh: Use the correct style for SPDX License Identifier
In reply to Nishad KamdarThis patch corrects the SPDX License Identifier style in the SuperH Hardware Architecture related files.
--- arch/sh/drivers/pci/pci-sh5.h | 4 ++-- arch/sh/drivers/pci/pci-sh7751.h | 4 ++-- arch/sh/drivers/pci/pci-sh7780.h | 4 ++-- arch/sh/drivers/pci/pcie-sh7786.h | 4 ++-- arch/sh/include/asm/addrspace.h | 4 ++-- arch/sh/include/asm/bl_bit_64.h | 4 ++-- arch/sh/include/asm/cache_insns_64.h | 4 ++-- arch/sh/include/asm/device.h | 4 ++-- arch/sh/include/asm/dma-register.h | 4 ++-- arch/sh/include/asm/dma.h | 4 ++-- arch/sh/include/asm/dwarf.h | 4 ++-- arch/sh/include/asm/fixmap.h | 4 ++-- arch/sh/include/asm/flat.h | 4 ++-- arch/sh/include/asm/freq.h | 4 ++-- arch/sh/include/asm/gpio.h | 4 ++-- arch/sh/include/asm/machvec.h | 4 ++-- arch/sh/include/asm/pgtable.h | 4 ++-- arch/sh/include/asm/sfp-machine.h | 4 ++-- arch/sh/include/asm/shmparam.h | 4 ++-- arch/sh/include/asm/siu.h | 4 ++-- arch/sh/include/asm/spinlock-cas.h | 4 ++-- arch/sh/include/asm/spinlock-llsc.h | 4 ++-- arch/sh/include/asm/spinlock.h | 4 ++-- arch/sh/include/asm/switch_to.h | 4 ++-- arch/sh/include/asm/switch_to_64.h | 4 ++-- arch/sh/include/asm/tlb_64.h | 4 ++-- arch/sh/include/asm/traps_64.h | 4 ++-- arch/sh/include/asm/watchdog.h | 4 ++-- arch/sh/include/cpu-common/cpu/addrspace.h | 4 ++-- arch/sh/include/cpu-common/cpu/mmu_context.h | 4 ++-- arch/sh/include/cpu-common/cpu/pfc.h | 4 ++-- arch/sh/include/cpu-sh2/cpu/cache.h | 4 ++-- arch/sh/include/cpu-sh2/cpu/freq.h | 4 ++-- arch/sh/include/cpu-sh2/cpu/watchdog.h | 4 ++-- arch/sh/include/cpu-sh2a/cpu/cache.h | 4 ++-- arch/sh/include/cpu-sh2a/cpu/freq.h | 4 ++-- arch/sh/include/cpu-sh3/cpu/cache.h | 4 ++-- arch/sh/include/cpu-sh3/cpu/dma-register.h | 4 ++-- arch/sh/include/cpu-sh3/cpu/freq.h | 4 ++-- arch/sh/include/cpu-sh3/cpu/gpio.h | 4 ++-- arch/sh/include/cpu-sh3/cpu/mmu_context.h | 4 ++-- arch/sh/include/cpu-sh3/cpu/watchdog.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/addrspace.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/cache.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/dma-register.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/fpu.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/freq.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/mmu_context.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/sh7786.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/sq.h | 4 ++-- arch/sh/include/cpu-sh4/cpu/watchdog.h | 4 ++-- arch/sh/include/mach-common/mach/hp6xx.h | 4 ++-- arch/sh/include/mach-common/mach/magicpanelr2.h | 4 ++-- arch/sh/include/mach-common/mach/mangle-port.h | 4 ++-- arch/sh/include/mach-common/mach/microdev.h | 4 ++-- arch/sh/include/mach-common/mach/secureedge5410.h | 4 ++-- arch/sh/include/mach-dreamcast/mach/dma.h | 4 ++-- arch/sh/include/mach-dreamcast/mach/pci.h | 4 ++-- arch/sh/include/mach-dreamcast/mach/sysasic.h | 4 ++-- arch/sh/include/mach-se/mach/se7721.h | 4 ++-- 60 files changed, 120 insertions(+), 120 deletions(-)
arch/sh/drivers/pci/pci-sh5.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright (C) 2001 David J. Mckay ([email protected]) * * Definitions for the SH5 PCI hardware.
arch/sh/drivers/pci/pci-sh7751.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Low-Level PCI Support for SH7751 targets * * Dustin McIntire ([email protected]) (c) 2001
arch/sh/drivers/pci/pci-sh7780.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Low-Level PCI Support for SH7780 targets * * Dustin McIntire ([email protected]) (c) 2001
arch/sh/drivers/pci/pcie-sh7786.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * SH7786 PCI-Express controller definitions. * * Copyright (C) 2008, 2009 Renesas Technology Corp.
arch/sh/include/asm/addrspace.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright (C) 1999 by Kaz Kojima * * Defitions for the address spaces of the SH CPUs.
arch/sh/include/asm/bl_bit_64.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright (C) 2000, 2001 Paolo Alberelli * Copyright (C) 2003 Paul Mundt * Copyright (C) 2004 Richard Curnow
arch/sh/include/asm/cache_insns_64.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright (C) 2000, 2001 Paolo Alberelli * Copyright (C) 2003 Paul Mundt * Copyright (C) 2004 Richard Curnow
arch/sh/include/asm/device.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Arch specific extensions to struct device */ #ifndef __ASM_SH_DEVICE_H
arch/sh/include/asm/dma-register.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Common header for the legacy SH DMA driver and the new dmaengine driver * * extracted from arch/sh/include/asm/dma-sh.h:
arch/sh/include/asm/dma.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/dma.h * * Copyright (C) 2003, 2004 Paul Mundt
arch/sh/include/asm/dwarf.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright (C) 2009 Matt Fleming <[email protected]> */ #ifndef __ASM_SH_DWARF_H
arch/sh/include/asm/fixmap.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * fixmap.h: compile-time virtual memory allocation * * Copyright (C) 1998 Ingo Molnar
arch/sh/include/asm/flat.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/flat.h * * uClinux flat-format executables
arch/sh/include/asm/freq.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ -* +/* SPDX-License-Identifier: GPL-2.0+ */ +/* * include/asm-sh/freq.h * * Copyright (C) 2002, 2003 Paul Mundt
arch/sh/include/asm/gpio.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/gpio.h * * Generic GPIO API and pinmux table support for SuperH.
arch/sh/include/asm/machvec.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/machvec.h * * Copyright 2000 Stuart Menefy ([email protected])
arch/sh/include/asm/pgtable.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * This file contains the functions and defines necessary to modify and * use the SuperH page table tree. *
arch/sh/include/asm/sfp-machine.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ -* +/* SPDX-License-Identifier: GPL-2.0+ */ +/* * Machine-dependent software floating-point definitions. SuperH kernel version. Copyright (C) 1997,1998,1999 Free Software Foundation, Inc.
arch/sh/include/asm/shmparam.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/shmparam.h * * Copyright (C) 1999 Niibe Yutaka
arch/sh/include/asm/siu.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * platform header for the SIU ASoC driver * * Copyright (C) 2009-2010 Guennadi Liakhovetski <[email protected]>
arch/sh/include/asm/spinlock-cas.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/spinlock-cas.h * * Copyright (C) 2015 SEI
arch/sh/include/asm/spinlock-llsc.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/spinlock-llsc.h * * Copyright (C) 2002, 2003 Paul Mundt
arch/sh/include/asm/spinlock.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/spinlock.h * * Copyright (C) 2002, 2003 Paul Mundt
arch/sh/include/asm/switch_to.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright (C) 2000, 2001 Paolo Alberelli * Copyright (C) 2003 Paul Mundt * Copyright (C) 2004 Richard Curnow
arch/sh/include/asm/switch_to_64.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright (C) 2000, 2001 Paolo Alberelli * Copyright (C) 2003 Paul Mundt * Copyright (C) 2004 Richard Curnow
arch/sh/include/asm/tlb_64.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/tlb_64.h * * Copyright (C) 2003 Paul Mundt
arch/sh/include/asm/traps_64.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright (C) 2000, 2001 Paolo Alberelli * Copyright (C) 2003 Paul Mundt * Copyright (C) 2004 Richard Curnow
arch/sh/include/asm/watchdog.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0+ -* +/* SPDX-License-Identifier: GPL-2.0+ */ +/* * include/asm-sh/watchdog.h * * Copyright (C) 2002, 2003 Paul Mundt
arch/sh/include/cpu-common/cpu/addrspace.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Definitions for the address spaces of the SH-2 CPUs. * * Copyright (C) 2003 Paul Mundt
arch/sh/include/cpu-common/cpu/mmu_context.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh2/mmu_context.h * * Copyright (C) 2003 Paul Mundt
arch/sh/include/cpu-common/cpu/pfc.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * SH Pin Function Control Initialization * * Copyright (C) 2012 Renesas Solutions Corp.
arch/sh/include/cpu-sh2/cpu/cache.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh2/cache.h * * Copyright (C) 2003 Paul Mundt
arch/sh/include/cpu-sh2/cpu/freq.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh2/freq.h * * Copyright (C) 2006 Yoshinori Sato
arch/sh/include/cpu-sh2/cpu/watchdog.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh2/watchdog.h * * Copyright (C) 2002, 2003 Paul Mundt
arch/sh/include/cpu-sh2a/cpu/cache.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh2a/cache.h * * Copyright (C) 2004 Paul Mundt
arch/sh/include/cpu-sh2a/cpu/freq.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh2a/freq.h * * Copyright (C) 2006 Yoshinori Sato
arch/sh/include/cpu-sh3/cpu/cache.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh3/cache.h * * Copyright (C) 1999 Niibe Yutaka
arch/sh/include/cpu-sh3/cpu/dma-register.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * SH3 CPU-specific DMA definitions, used by both DMA drivers * * Copyright (C) 2010 Guennadi Liakhovetski <[email protected]>
arch/sh/include/cpu-sh3/cpu/freq.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh3/freq.h * * Copyright (C) 2002, 2003 Paul Mundt
arch/sh/include/cpu-sh3/cpu/gpio.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh3/gpio.h * * Copyright (C) 2007 Markus Brunner, Mark Jonas
arch/sh/include/cpu-sh3/cpu/mmu_context.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh3/mmu_context.h * * Copyright (C) 1999 Niibe Yutaka
arch/sh/include/cpu-sh3/cpu/watchdog.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh3/watchdog.h * * Copyright (C) 2002, 2003 Paul Mundt
arch/sh/include/cpu-sh4/cpu/addrspace.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright (C) 1999 by Kaz Kojima * * Defitions for the address spaces of the SH-4 CPUs.
arch/sh/include/cpu-sh4/cpu/cache.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh4/cache.h * * Copyright (C) 1999 Niibe Yutaka
arch/sh/include/cpu-sh4/cpu/dma-register.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * SH4 CPU-specific DMA definitions, used by both DMA drivers * * Copyright (C) 2010 Guennadi Liakhovetski <[email protected]>
arch/sh/include/cpu-sh4/cpu/fpu.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * linux/arch/sh/kernel/cpu/sh4/sh4_fpu.h * * Copyright (C) 2006 STMicroelectronics Limited
arch/sh/include/cpu-sh4/cpu/freq.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh4/freq.h * * Copyright (C) 2002, 2003 Paul Mundt
arch/sh/include/cpu-sh4/cpu/mmu_context.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh4/mmu_context.h * * Copyright (C) 1999 Niibe Yutaka
arch/sh/include/cpu-sh4/cpu/sh7786.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * SH7786 Pinmux * * Copyright (C) 2008, 2009 Renesas Solutions Corp.
arch/sh/include/cpu-sh4/cpu/sq.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh4/sq.h * * Copyright (C) 2001, 2002, 2003 Paul Mundt
arch/sh/include/cpu-sh4/cpu/watchdog.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/cpu-sh4/watchdog.h * * Copyright (C) 2002, 2003 Paul Mundt
arch/sh/include/mach-common/mach/hp6xx.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright (C) 2003, 2004, 2005 Andriy Skulysh */ #ifndef __ASM_SH_HP6XX_H
arch/sh/include/mach-common/mach/magicpanelr2.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/magicpanelr2.h * * Copyright (C) 2007 Markus Brunner, Mark Jonas
arch/sh/include/mach-common/mach/mangle-port.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * SH version cribbed from the MIPS copy: * * Copyright (C) 2003, 2004 Ralf Baechle
arch/sh/include/mach-common/mach/microdev.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * linux/include/asm-sh/microdev.h * * Copyright (C) 2003 Sean McGoogan ([email protected])
arch/sh/include/mach-common/mach/secureedge5410.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/snapgear.h * * Modified version of io_se.h for the snapgear-specific functions.
arch/sh/include/mach-dreamcast/mach/dma.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/dreamcast/dma.h * * Copyright (C) 2003 Paul Mundt
arch/sh/include/mach-dreamcast/mach/pci.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/dreamcast/pci.h * * Copyright (C) 2001, 2002 M. R. Brown
arch/sh/include/mach-dreamcast/mach/sysasic.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * include/asm-sh/dreamcast/sysasic.h * * Definitions for the Dreamcast System ASIC and related peripherals.
arch/sh/include/mach-se/mach/se7721.h +2 -2
@@ -1,5 +1,5 @@ -/* SPDX-License-Identifier: GPL-2.0 -* +/* SPDX-License-Identifier: GPL-2.0 */ +/* * Copyright (C) 2008 Renesas Solutions Corp. * * Hitachi UL SolutionEngine 7721 Support.
Signature · 1 line
2.17.1
PATCH v3 5/5 x86: Use the correct style for SPDX License Identifier
In reply to Nishad KamdarThis patch corrects the SPDX License Identifier style in the x86 Hardware Architecture related files.
--- arch/x86/include/asm/cpu_entry_area.h | 2 +- arch/x86/include/asm/pti.h | 2 +- arch/x86/kernel/process.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
arch/x86/include/asm/cpu_entry_area.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_X86_CPU_ENTRY_AREA_H#define _ASM_X86_CPU_ENTRY_AREA_H
arch/x86/include/asm/pti.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ #ifndef _ASM_X86_PTI_H#define _ASM_X86_PTI_H#ifndef __ASSEMBLY__
arch/x86/kernel/process.h +1 -1
@@ -1,4 +1,4 @@ -// SPDX-License-Identifier: GPL-2.0 +/* SPDX-License-Identifier: GPL-2.0 */ // // Code shared between 32 and 64 bit
Signature · 1 line
2.17.1