Skip to content

Commit

Permalink
csky: Fixup compile error
Browse files Browse the repository at this point in the history
: error: C++ style comments are not allowed in ISO C90
 // Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.
 ^
error: (this will be reported only once per input file)

Signed-off-by: Guo Ren <[email protected]>
  • Loading branch information
guoren83 committed Feb 27, 2021
1 parent 5d3f410 commit 6607aa6
Show file tree
Hide file tree
Showing 52 changed files with 0 additions and 52 deletions.
1 change: 0 additions & 1 deletion arch/csky/abiv1/inc/abi/cacheflush.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ABI_CSKY_CACHEFLUSH_H
#define __ABI_CSKY_CACHEFLUSH_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv1/inc/abi/ckmmu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_CKMMUV1_H
#define __ASM_CSKY_CKMMUV1_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv1/inc/abi/entry.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_ENTRY_H
#define __ASM_CSKY_ENTRY_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv1/inc/abi/page.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#include <asm/shmparam.h>

Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv1/inc/abi/pgtable-bits.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_PGTABLE_BITS_H
#define __ASM_CSKY_PGTABLE_BITS_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv1/inc/abi/reg_ops.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ABI_REG_OPS_H
#define __ABI_REG_OPS_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv1/inc/abi/regdef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_REGDEF_H
#define __ASM_CSKY_REGDEF_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv1/inc/abi/string.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ABI_CSKY_STRING_H
#define __ABI_CSKY_STRING_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv1/inc/abi/switch_context.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ABI_CSKY_PTRACE_H
#define __ABI_CSKY_PTRACE_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv2/inc/abi/ckmmu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_CKMMUV2_H
#define __ASM_CSKY_CKMMUV2_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv2/inc/abi/entry.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_ENTRY_H
#define __ASM_CSKY_ENTRY_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv2/inc/abi/fpu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_FPU_H
#define __ASM_CSKY_FPU_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv2/inc/abi/page.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

static inline void clear_user_page(void *addr, unsigned long vaddr,
struct page *page)
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv2/inc/abi/pgtable-bits.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_PGTABLE_BITS_H
#define __ASM_CSKY_PGTABLE_BITS_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv2/inc/abi/reg_ops.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ABI_REG_OPS_H
#define __ABI_REG_OPS_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv2/inc/abi/regdef.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_REGDEF_H
#define __ASM_CSKY_REGDEF_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv2/inc/abi/switch_context.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ABI_CSKY_PTRACE_H
#define __ABI_CSKY_PTRACE_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/abiv2/sysdep.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __SYSDEP_H
#define __SYSDEP_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/addrspace.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_ADDRSPACE_H
#define __ASM_CSKY_ADDRSPACE_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/barrier.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_BARRIER_H
#define __ASM_CSKY_BARRIER_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/bitops.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_BITOPS_H
#define __ASM_CSKY_BITOPS_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/bug.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_BUG_H
#define __ASM_CSKY_BUG_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/cacheflush.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_CACHEFLUSH_H
#define __ASM_CSKY_CACHEFLUSH_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/checksum.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_CHECKSUM_H
#define __ASM_CSKY_CHECKSUM_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/elf.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_ELF_H
#define __ASM_CSKY_ELF_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/fixmap.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_FIXMAP_H
#define __ASM_CSKY_FIXMAP_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/ftrace.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_FTRACE_H
#define __ASM_CSKY_FTRACE_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/highmem.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_HIGHMEM_H
#define __ASM_CSKY_HIGHMEM_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/io.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_IO_H
#define __ASM_CSKY_IO_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/mmu.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_MMU_H
#define __ASM_CSKY_MMU_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/mmu_context.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_MMU_CONTEXT_H
#define __ASM_CSKY_MMU_CONTEXT_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/perf_event.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_PERF_EVENT_H
#define __ASM_CSKY_PERF_EVENT_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/pgalloc.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_PGALLOC_H
#define __ASM_CSKY_PGALLOC_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/pgtable.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_PGTABLE_H
#define __ASM_CSKY_PGTABLE_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/processor.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_PROCESSOR_H
#define __ASM_CSKY_PROCESSOR_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/ptrace.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_PTRACE_H
#define __ASM_CSKY_PTRACE_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/segment.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_SEGMENT_H
#define __ASM_CSKY_SEGMENT_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/shmparam.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_SHMPARAM_H
#define __ASM_CSKY_SHMPARAM_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/string.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef _CSKY_STRING_MM_H_
#define _CSKY_STRING_MM_H_
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/switch_to.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_SWITCH_TO_H
#define __ASM_CSKY_SWITCH_TO_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/syscalls.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_SYSCALLS_H
#define __ASM_CSKY_SYSCALLS_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/thread_info.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef _ASM_CSKY_THREAD_INFO_H
#define _ASM_CSKY_THREAD_INFO_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/tlb.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_TLB_H
#define __ASM_CSKY_TLB_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/tlbflush.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_TLBFLUSH_H
#define __ASM_TLBFLUSH_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/traps.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_TRAPS_H
#define __ASM_CSKY_TRAPS_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/uaccess.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_UACCESS_H
#define __ASM_CSKY_UACCESS_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/asm/unistd.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#include <uapi/asm/unistd.h>

Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/uapi/asm/byteorder.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_BYTEORDER_H
#define __ASM_CSKY_BYTEORDER_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/uapi/asm/perf_regs.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
// Copyright (C) 2019 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef _ASM_CSKY_PERF_REGS_H
#define _ASM_CSKY_PERF_REGS_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/uapi/asm/ptrace.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef _CSKY_PTRACE_H
#define _CSKY_PTRACE_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/uapi/asm/sigcontext.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#ifndef __ASM_CSKY_SIGCONTEXT_H
#define __ASM_CSKY_SIGCONTEXT_H
Expand Down
1 change: 0 additions & 1 deletion arch/csky/include/uapi/asm/unistd.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
// Copyright (C) 2018 Hangzhou C-SKY Microsystems co.,ltd.

#define __ARCH_WANT_STAT64
#define __ARCH_WANT_NEW_STAT
Expand Down

0 comments on commit 6607aa6

Please sign in to comment.