Files
linux-stable-mirror/arch/mips/kernel
WangYuli 9be0b25ade MIPS: ftrace: Declare ftrace_get_parent_ra_addr() as static
commit ddd068d814 upstream.

Declare ftrace_get_parent_ra_addr() as static to suppress clang
compiler warning that 'no previous prototype'. This function is
not intended to be called from other parts.

Fix follow error with clang-19:

arch/mips/kernel/ftrace.c:251:15: error: no previous prototype for function 'ftrace_get_parent_ra_addr' [-Werror,-Wmissing-prototypes]
  251 | unsigned long ftrace_get_parent_ra_addr(unsigned long self_ra, unsigned long
      |               ^
arch/mips/kernel/ftrace.c:251:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
  251 | unsigned long ftrace_get_parent_ra_addr(unsigned long self_ra, unsigned long
      | ^
      | static
1 error generated.

Signed-off-by: WangYuli <wangyuli@uniontech.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-02-17 10:05:44 +01:00
..
2024-10-23 18:10:24 +02:00
2024-01-08 10:39:12 +01:00
2023-12-10 17:21:38 -08:00
2024-02-20 12:41:52 +01:00
2024-01-08 10:39:12 +01:00
2024-03-07 17:18:50 +01:00
2023-12-10 17:21:38 -08:00
2023-12-10 17:21:38 -08:00
2023-06-09 10:34:14 +02:00
2024-09-08 16:01:10 +02:00
2023-12-10 17:21:38 -08:00
2024-01-08 10:39:12 +01:00