summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2023-11-30 15:58:24 -0700
committerAndrew Morton <akpm@linux-foundation.org>2023-12-10 17:21:35 -0800
commitcb0085b0d694ab1269ac0c52464a48111c47161e (patch)
tree8b5a945220375b08fb28e55b9cb8d60809bb045f /tools/perf/scripts/python
parentd068b1237e3204ec5d4f7ddcdde54aeef2a9c30b (diff)
downloadlinux-cb0085b0d694ab1269ac0c52464a48111c47161e.tar.gz
linux-cb0085b0d694ab1269ac0c52464a48111c47161e.zip
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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions