linux-stable/arch/mips
WangYuli 3fec5d194f 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-03-13 12:50:33 +01:00
..
alchemy
ar7
ath25
ath79
bcm47xx
bcm63xx
bmips
boot MIPS: Loongson64: DTS: Fix msi node for ls7a 2025-01-09 13:28:30 +01:00
cavium-octeon
cobalt
configs
crypto
dec
fw
generic
include mips: asm: fix warning when disabling MIPS_FP_SUPPORT 2024-12-14 19:50:42 +01:00
ingenic
jazz
kernel MIPS: ftrace: Declare ftrace_get_parent_ra_addr() as static 2025-03-13 12:50:33 +01:00
kvm
lantiq
lib
loongson2ef
loongson32
loongson64 MIPS: Loongson64: remove ROM Size unit in boardinfo 2025-03-13 12:50:28 +01:00
math-emu mips/math-emu: fix emulation of the prefx instruction 2025-03-13 12:50:28 +01:00
mm memblock: drop memblock_free_early_nid() and memblock_free_early() 2025-03-13 12:50:07 +01:00
mti-malta
n64
net
netlogic
pci
pic32
power
ralink
rb532
sgi-ip22
sgi-ip27
sgi-ip30 MIPS: ip30: ip30-console: Add missing include 2024-08-19 05:45:21 +02:00
sgi-ip32
sibyte
sni
tools
txx9
vdso
vr41xx
Kbuild
Kbuild.platforms
Kconfig
Kconfig.debug
Makefile MIPS: Probe toolchain support of -msym32 2025-01-09 13:28:40 +01:00
Makefile.postlink