Skip to contentSkip to conversation

ARCH: Use the correct style for SPDX License Identifier

PATCH Applied Nishad Kamdar 6 participants 12 messages Apr 16, 2019 – Jul 8, 2019

Subsystems (13)
lore
Share & tools
lore
#0 lore raw

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
#1 lore raw

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
index 1b4cb0c55744..385c455a7c98 100644
@@ -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
index 15d49515efdd..d328540cb85e 100644
@@ -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
index ffe47d766c25..63e0b92a5fbb 100644
@@ -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
index 0b5ec6e08c10..0a12115d9638 100644
@@ -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
#2 lore raw

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.

---
 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

#3 lore raw

PATCH v3 2/5 nds32: Use the correct style for SPDX License Identifier

In reply to Nishad Kamdar

This 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
index c3855782a541..5e7c56926049 100644
@@ -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
index faafc373ea6c..16413172fd50 100644
@@ -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
index 7414fcbbab4e..e75212c76b20 100644
@@ -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
index 347db4881c5f..fc3c41b59169 100644
@@ -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
index 38ec458ba543..e89d8078f3a6 100644
@@ -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
index 8b26198d51bb..d9ac7e6408ef 100644
@@ -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
index b4dcd22b7bcb..65d30096142b 100644
@@ -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
index 519ba97acb6e..56ea3894f8f8 100644
@@ -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
index 02250626b9f0..1c8e56d7013d 100644
@@ -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
index 0e60e153a71a..5a4bf11e5800 100644
@@ -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
index baf178bf1d0b..5213c65c2e0b 100644
@@ -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
index 425d546cb059..b3a82c97ded3 100644
@@ -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
index 5ef8ae5ba833..16f262322b8f 100644
@@ -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
index 2bfd00f8bc48..fb45ec46bb1b 100644
@@ -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
index 37dd5ef61de8..3ea48e19e6de 100644
@@ -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
index e708c8bdb926..a696469abb70 100644
@@ -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
index 60efc726b56e..3f4b5eeb5be2 100644
@@ -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
index 88b9ee8c1064..89d63afee455 100644
@@ -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
index fd7d13cefccc..b8fd3d189fdc 100644
@@ -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
index 16cf9c7237ad..a3a08e993c65 100644
@@ -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
index 68c38151c3e4..4994f6a9e0a0 100644
@@ -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
index 947f0491c9a7..8feb1fa12f01 100644
@@ -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
index 3c5fee5b5759..3cbc749c79aa 100644
@@ -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
index ee59c1f9e4fc..c70cc56bec09 100644
@@ -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
index bedc4f59e064..27c617fa77af 100644
@@ -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
index 72024f8bc129..b82369c7659d 100644
@@ -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
index c4538839055c..919ee223620c 100644
@@ -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
index fd1cff64b68e..3aeee946973d 100644
@@ -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
index 179272caa540..cae8fe16de98 100644
@@ -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
index e01a755a37d2..362a466f2976 100644
@@ -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
index 174b8571d362..899b2fb4b52f 100644
@@ -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
index da32101b455d..f3b16f602cb5 100644
@@ -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
index bff741ff337b..3734b1c1cf82 100644
@@ -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
index d5ae571c8d30..a8aff1c8b4f4 100644
@@ -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
index 38ee769b18d8..97155366ea01 100644
@@ -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
index 116598b47c4d..8916ad9f9f13 100644
@@ -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
index b586a2862beb..bf5e2d440913 100644
@@ -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
index af2c6afc2469..89b113ffc3dc 100644
@@ -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
index 79db5a12ca5e..cd1dda3da0f9 100644
@@ -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
index 50ba117cff12..328439ce37db 100644
@@ -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
index 2d3213f5e595..b5d58ea8decb 100644
@@ -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
index a23f6f3a2468..511e653c709d 100644
@@ -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
index 4cdca9b23974..73793662815c 100644
@@ -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
index e3fb723ee362..2977534a6bd3 100644
@@ -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
index 358c99e399d0..1a6e01c00e6f 100644
@@ -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
index 58afc416473e..628ff6b75825 100644
@@ -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
index 4ec8f543103f..c691735017ed 100644
@@ -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
#4 lore raw

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.

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

#5 lore raw

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.

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

#6 lore raw

Re: [PATCH v3 2/5] nds32: Use the correct style for SPDX License Identifier

In reply to Nishad Kamdar
Quoted 61 lines · Nishad Kamdar

This 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 +0 -0
index c3855782a541..5e7c56926049 100644

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
index faafc373ea6c..16413172fd50 100644
@@ -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
index 7414fcbbab4e..e75212c76b20 100644
@@ -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
index 347db4881c5f..fc3c41b59169 100644
@@ -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
index 38ec458ba543..e89d8078f3a6 100644
@@ -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
index 8b26198d51bb..d9ac7e6408ef 100644
@@ -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
index b4dcd22b7bcb..65d30096142b 100644
@@ -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
index 519ba97acb6e..56ea3894f8f8 100644
@@ -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
index 02250626b9f0..1c8e56d7013d 100644
@@ -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
index 0e60e153a71a..5a4bf11e5800 100644
@@ -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
index baf178bf1d0b..5213c65c2e0b 100644
@@ -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
index 425d546cb059..b3a82c97ded3 100644
@@ -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
index 5ef8ae5ba833..16f262322b8f 100644
@@ -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
index 2bfd00f8bc48..fb45ec46bb1b 100644
@@ -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
index 37dd5ef61de8..3ea48e19e6de 100644
@@ -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
index e708c8bdb926..a696469abb70 100644
@@ -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
index 60efc726b56e..3f4b5eeb5be2 100644
@@ -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
index 88b9ee8c1064..89d63afee455 100644
@@ -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
index fd7d13cefccc..b8fd3d189fdc 100644
@@ -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
index 16cf9c7237ad..a3a08e993c65 100644
@@ -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
index 68c38151c3e4..4994f6a9e0a0 100644
@@ -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
index 947f0491c9a7..8feb1fa12f01 100644
@@ -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
index 3c5fee5b5759..3cbc749c79aa 100644
@@ -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
index ee59c1f9e4fc..c70cc56bec09 100644
@@ -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
index bedc4f59e064..27c617fa77af 100644
@@ -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
index 72024f8bc129..b82369c7659d 100644
@@ -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
index c4538839055c..919ee223620c 100644
@@ -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
index fd1cff64b68e..3aeee946973d 100644
@@ -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
index 179272caa540..cae8fe16de98 100644
@@ -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
index e01a755a37d2..362a466f2976 100644
@@ -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
index 174b8571d362..899b2fb4b52f 100644
@@ -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
index da32101b455d..f3b16f602cb5 100644
@@ -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
index bff741ff337b..3734b1c1cf82 100644
@@ -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
index d5ae571c8d30..a8aff1c8b4f4 100644
@@ -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
index 38ee769b18d8..97155366ea01 100644
@@ -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
index 116598b47c4d..8916ad9f9f13 100644
@@ -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
index b586a2862beb..bf5e2d440913 100644
@@ -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
index af2c6afc2469..89b113ffc3dc 100644
@@ -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
index 79db5a12ca5e..cd1dda3da0f9 100644
@@ -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
index 50ba117cff12..328439ce37db 100644
@@ -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
index 2d3213f5e595..b5d58ea8decb 100644
@@ -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
index a23f6f3a2468..511e653c709d 100644
@@ -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
index 4cdca9b23974..73793662815c 100644
@@ -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
index e3fb723ee362..2977534a6bd3 100644
@@ -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
index 358c99e399d0..1a6e01c00e6f 100644
@@ -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
index 58afc416473e..628ff6b75825 100644
@@ -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 -2
index 4ec8f543103f..c691735017ed 100644
@@ -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

#7 lore raw

PATCH v3 3/5 powerpc: Use the correct style for SPDX License Identifier

In reply to Nishad Kamdar

This 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
index 208b5503f4ed..7de82647e761 100644
@@ -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
Acked-by on v3 3/5
#8 lore raw

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.

---

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
index 208b5503f4ed..7de82647e761 100644
@@ -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
#9 lore raw

Re: [PATCH v3 3/5] powerpc: Use the correct style for SPDX License Identifier

In reply to Nishad Kamdar
Quoted 6 lines · Nishad Kamdar

This patch corrects the SPDX License Identifier style in the powerpc Hardware Architecture related files.

Applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/2200bbec12c428d7b276fb450e5755cdfe435ae5

cheers

#10 lore raw

PATCH v3 4/5 sh: Use the correct style for SPDX License Identifier

In reply to Nishad Kamdar

This 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
index 91348af0ef6c..0d2c093fd984 100644
@@ -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
index d1951e50effc..9e23cf7113ac 100644
@@ -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
index e2ac770f8e35..7ba87b62e439 100644
@@ -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
index ffe383681a0b..c5e2221b6359 100644
@@ -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
index 34bfbcddcce0..c663527cab7c 100644
@@ -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
index aac9780fe864..c6032f194f4c 100644
@@ -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
index ed682b987b0d..768f18aae612 100644
@@ -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
index 6f3e686a1c6f..75e0f44f8969 100644
@@ -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
index 724dab912b71..96fed7b02b0f 100644
@@ -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
index 4d5a21a891c0..faa1b66b9397 100644
@@ -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
index 571954474122..661d1b9f07d4 100644
@@ -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
index e30348c58073..15abcd96f4b2 100644
@@ -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
index 843d458b8329..6adbdfda6951 100644
@@ -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
index 18133bf83738..693183a63bfb 100644
@@ -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
index 351918894e86..18319e97a5ec 100644
@@ -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
index f7d05546beca..76c528b8df83 100644
@@ -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
index 3587103afe59..daa593d9f81f 100644
@@ -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
index cbc7cf8c97ce..77b40ceec36c 100644
@@ -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
index 6c580a644a78..4a83ec04128a 100644
@@ -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
index 35e4839d381e..1af6844b1f00 100644
@@ -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
index 3d49985ebf41..c9ed7492dd5d 100644
@@ -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
index 7fd929cd2e7a..4ba23555c026 100644
@@ -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
index fa6801f63551..6cc36df2ddd3 100644
@@ -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
index 9eec80ab5aa2..3fe65cf11319 100644
@@ -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
index 2dbf2311669f..87a08602f1c9 100644
@@ -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
index 59fa0a23dad7..dac46f8c5216 100644
@@ -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
index f28db6dfbe45..7e5e902d2278 100644
@@ -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
index cecd0fc507f9..6f64666186c2 100644
@@ -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
index d8bf5d7d2fdf..2c0f54e68bb2 100644
@@ -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
index cef3a30dbf97..0f2602e1c963 100644
@@ -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
index 879d2c9da537..8ca16923cc40 100644
@@ -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
index 070aa9f50d3f..9508876fede0 100644
@@ -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
index fb2e5d2831bc..a598fba55059 100644
@@ -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
index 141fe296d751..ef3941c3b726 100644
@@ -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
index 06efb233eb35..259e4cbc4131 100644
@@ -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
index fb0813f47043..a637324e0f43 100644
@@ -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
index f57124826943..99f53e41e781 100644
@@ -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
index c0f921fb4edc..efc3632756bf 100644
@@ -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
index 7290f02b7173..5968337d7e84 100644
@@ -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
index aeb0588ace98..391d55f4b689 100644
@@ -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
index ead9a6f72113..45a3ac26a6c5 100644
@@ -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
index 9d7e9d986809..406f770f956a 100644
@@ -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
index f006c9489f5a..92a6e0348e70 100644
@@ -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
index 72b4d13da127..a2a0f2739ce4 100644
@@ -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
index 53f7ab990d88..4a284e70a757 100644
@@ -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
index 29f451bfef19..7722f23b6118 100644
@@ -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
index 662f0f30e106..5d9cdaa0c4ba 100644
@@ -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
index 421b56d5c595..df5335e9e80f 100644
@@ -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
index d6cce65b4871..b6e910bdcf8b 100644
@@ -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
index 81966e41fc21..91f6b1022e5f 100644
@@ -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
index fa7bcb398b8c..5190f7a8ed99 100644
@@ -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
index 71241f0d02a1..10e8c4cf2247 100644
@@ -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
index c2d218cea74b..ee8a76c4e21f 100644
@@ -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
index dd5a761a52ee..3cca842fd1d2 100644
@@ -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
index 0e2f9ab11976..38c4120bf439 100644
@@ -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
index dfc68aa91003..d0be04b6cd38 100644
@@ -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
index a773a763843a..40537ca3c110 100644
@@ -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
index c037c1ec63a9..fec7f8aa9c5b 100644
@@ -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
index ed69ce7f2030..03daca6ea92b 100644
@@ -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
index 82226d40faf5..b1940b6f9649 100644
@@ -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
#11 lore raw

PATCH v3 5/5 x86: Use the correct style for SPDX License Identifier

In reply to Nishad Kamdar

This 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
index 29c706415443..84006ca0f17a 100644
@@ -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
index 5df09a0b80b8..07375b476c4f 100644
@@ -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
index 320ab978fb1f..1d0797b2338a 100644
@@ -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