linux/arch/hexagon
Nathan Chancellor cb0085b0d6 hexagon: signal: switch to SYSCALL_DEFINE0 for sys_rt_sigreturn()
Clang warns:

  arch/hexagon/kernel/signal.c:223:16: warning: no previous prototype for function 'sys_rt_sigreturn' [-Wmissing-prototypes]
    223 | asmlinkage int sys_rt_sigreturn(void)
        |                ^
  arch/hexagon/kernel/signal.c:223:12: note: declare 'static' if the function is not intended to be used outside of this translation unit
    223 | asmlinkage int sys_rt_sigreturn(void)
        |            ^
        |            static
  1 warning generated.

Switch to the SYSCALL_DEFINE0() macro, which automatically declares a
prototype.

Link: https://lkml.kernel.org/r/20231130-hexagon-missing-prototypes-v1-11-5c34714afe9e@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Brian Cain <bcain@quicinc.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-12-10 17:21:35 -08:00
..
configs treewide: drop CONFIG_EMBEDDED 2023-08-21 13:46:25 -07:00
include hexagon: Remove unusable symbols from the ptrace.h uapi 2023-10-25 15:54:24 +02:00
kernel hexagon: signal: switch to SYSCALL_DEFINE0 for sys_rt_sigreturn() 2023-12-10 17:21:35 -08:00
lib hexagon: export raw I/O routines for modules 2021-11-20 10:35:54 -08:00
mm hexagon: vm_tlb: include asm/tlbflush.h for prototypes 2023-12-10 17:21:35 -08:00
Kbuild hexagon: move core-y in arch/hexagon/Makefile to arch/hexagon/Kbuild 2021-05-26 23:11:47 +09:00
Kconfig hexagon: mm: convert to GENERIC_IOREMAP 2023-08-18 10:12:32 -07:00
Kconfig.debug treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile kbuild: remove head-y syntax 2022-10-02 18:06:03 +09:00