aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorNathan Chancellor <[email protected]>2023-11-30 15:58:18 -0700
committerAndrew Morton <[email protected]>2023-12-10 17:21:34 -0800
commitd9d106ce60760ae020f39f5a2d783fe92d401f8f (patch)
tree7ff521e1f8d22346aa5ab471e2dc0ed3a34448d2 /include/linux/debugobjects.h
parentef14250ec7d42a0e993bd341db078ecb33900a16 (diff)
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/[email protected] Signed-off-by: Nathan Chancellor <[email protected]> Cc: Arnd Bergmann <[email protected]> Cc: Brian Cain <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions