ARC: Fix -Wmissing-prototypes warnings
authorVineet Gupta <vgupta@kernel.org>
Thu, 28 Mar 2024 05:02:58 +0000 (22:02 -0700)
committerVineet Gupta <vgupta@kernel.org>
Tue, 2 Apr 2024 01:40:39 +0000 (18:40 -0700)
commitdb70d9f9dcf8d5cda86303eeb381b1213a2ab191
tree7e41cfba9e7d976654646ed9215cafcbffaed071
parent39cd87c4eb2b893354f3b850f916353f2658ae6f
ARC: Fix -Wmissing-prototypes warnings

| ../arch/arc/kernel/kprobes.c:193:15: warning: no previous prototype for 'arc_kprobe_handler' [-Wmissing-prototypes]
|  193 | int __kprobes arc_kprobe_handler(unsigned long addr, struct pt_regs *regs)
|
|../arch/arc/kernel/ptrace.c:342:16: warning: no previous prototype for 'syscall_trace_enter' [-Wmissing-prototypes]
|  342 | asmlinkage int syscall_trace_enter(struct pt_regs *regs)

Link: https://qa-reports.linaro.org/lkft/linux-next-master/build/next-20240325/testrun/23149630/suite/build/test/gcc-9-defconfig/log
Reported-by: Linux Kernel Functional Testing <lkft@linaro.org>
Signed-off-by: Vineet Gupta <vgupta@kernel.org>
arch/arc/include/asm/ptrace.h
arch/arc/kernel/kprobes.c