Re: [PATCH 0/9] riscv: misc cleanup

From: Palmer Dabbelt
Date: Tue Mar 09 2021 - 23:48:19 EST


On Fri, 05 Mar 2021 03:33:23 PST (-0800), sunnanyong@xxxxxxxxxx wrote:
Fix some compilation warnings,improve code style

Nanyong Sun (9):
riscv: traps: Fix no prototype warnings
riscv: irq: Fix no prototype warning
riscv: sbi: Fix comment of __sbi_set_timer_v01
riscv: ptrace: Fix no prototype warnings
riscv: time: Fix no prototype for time_init
riscv: syscall_table: Reduce W=1 compilation warnings noise
riscv: process: Fix no prototype for show_regs
riscv: ftrace: Use ftrace_get_regs helper
riscv: process: Fix no prototype for arch_dup_task_struct

arch/riscv/include/asm/asm-prototypes.h | 16 ++++++++++++++++
arch/riscv/include/asm/irq.h | 2 ++
arch/riscv/include/asm/processor.h | 1 +
arch/riscv/include/asm/ptrace.h | 5 +++++
arch/riscv/include/asm/timex.h | 2 ++
arch/riscv/kernel/Makefile | 1 +
arch/riscv/kernel/probes/ftrace.c | 16 +++++++++-------
arch/riscv/kernel/process.c | 1 +
arch/riscv/kernel/sbi.c | 2 +-
arch/riscv/kernel/time.c | 1 +
arch/riscv/kernel/traps.c | 1 +
11 files changed, 40 insertions(+), 8 deletions(-)

Thanks. I fixed the checkpatch warning, these are all on fixes.