summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorNathan Chancellor <nathan@kernel.org>2023-12-01 01:58:18 +0300
committerAndrew Morton <akpm@linux-foundation.org>2023-12-11 04:21:34 +0300
commitd9d106ce60760ae020f39f5a2d783fe92d401f8f (patch)
tree7ff521e1f8d22346aa5ab471e2dc0ed3a34448d2 /tools/perf/scripts/python/mem-phys-addr.py
parentef14250ec7d42a0e993bd341db078ecb33900a16 (diff)
downloadlinux-d9d106ce60760ae020f39f5a2d783fe92d401f8f.tar.xz
hexagon: vm_fault: mark do_page_fault() as static
Clang warns: arch/hexagon/mm/vm_fault.c:36:6: warning: no previous prototype for function 'do_page_fault' [-Wmissing-prototypes] 36 | void do_page_fault(unsigned long address, long cause, struct pt_regs *regs) | ^ arch/hexagon/mm/vm_fault.c:36:1: note: declare 'static' if the function is not intended to be used outside of this translation unit 36 | void do_page_fault(unsigned long address, long cause, struct pt_regs *regs) | ^ | static This function is not used outside of this translation unit, so mark it as static. Link: https://lkml.kernel.org/r/20231130-hexagon-missing-prototypes-v1-5-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/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions