linux-stable/arch/mips/kernel
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
..
syscalls mips: fix compat_sys_lseek syscall 2024-07-27 10:46:10 +02:00
.gitignore
access-helper.h
asm-offsets.c MIPS: scall: Save thread_info.syscall unconditionally on entry 2024-05-17 11:50:54 +02:00
bmips_5xxx_init.S
bmips_vec.S
branch.c
cacheinfo.c
cevt-bcm1480.c
cevt-ds1287.c
cevt-gt641xx.c
cevt-r4k.c MIPS: cevt-r4k: Don't call get_c0_compare_int if timer irq is installed 2024-09-12 11:07:50 +02:00
cevt-sb1250.c
cevt-txx9.c
cmpxchg.c
cps-vec-ns16550.S
cps-vec.S
cpu-probe.c MIPS: Loongson64: Set timer mode in cpu-probe 2024-09-04 13:23:35 +02:00
cpu-r3k-probe.c
crash_dump.c
crash.c
csrc-bcm1480.c
csrc-ioasic.c
csrc-r4k.c
csrc-sb1250.c
early_printk_8250.c
early_printk.c
elf.c
entry.S
fpu-probe.c
fpu-probe.h
ftrace.c MIPS: ftrace: Declare ftrace_get_parent_ra_addr() as static 2025-03-13 12:50:33 +01:00
genex.S
gpio_txx9.c
head.S
i8253.c
idle.c
irq_txx9.c
irq-gt641xx.c
irq-msc01.c
irq.c
jump_label.c
kgdb.c
kprobes.c
linux32.c
machine_kexec.c
Makefile
mcount.S
mips-cm.c
mips-cpc.c
mips-mt-fpaff.c
mips-mt.c
mips-r2-to-r6-emul.c
module.c
octeon_switch.S
perf_event_mipsxx.c
perf_event.c
perf_regs.c
pm-cps.c
pm.c
probes-common.h
proc.c
process.c
prom.c
ptrace32.c
ptrace.c MIPS: scall: Save thread_info.syscall unconditionally on entry 2024-05-17 11:50:54 +02:00
r4k_fpu.S
r4k_switch.S
r4k-bugs64.c
r2300_fpu.S
r2300_switch.S
relocate_kernel.S
relocate.c
reset.c
rtlx-cmp.c
rtlx-mt.c
rtlx.c
scall32-o32.S MIPS: scall: Save thread_info.syscall unconditionally on entry 2024-05-17 11:50:54 +02:00
scall64-n32.S MIPS: scall: Save thread_info.syscall unconditionally on entry 2024-05-17 11:50:54 +02:00
scall64-n64.S MIPS: scall: Save thread_info.syscall unconditionally on entry 2024-05-17 11:50:54 +02:00
scall64-o32.S MIPS: scall: Save thread_info.syscall unconditionally on entry 2024-05-17 11:50:54 +02:00
segment.c
setup.c
signal32.c
signal_n32.c
signal_o32.c
signal-common.h
signal.c
smp-bmips.c
smp-cmp.c
smp-cps.c MIPS: SMP-CPS: Fix address for GCR_ACCESS register for CM3 and later 2024-08-19 05:45:24 +02:00
smp-mt.c
smp-up.c
smp.c
spinlock_test.c
spram.c
stacktrace.c
sync-r4k.c
syscall.c
sysrq.c
time.c
topology.c
traps.c MIPS: reserve exception vector space ONLY ONCE 2024-03-01 13:21:44 +01:00
unaligned.c
uprobes.c
vdso.c
vmlinux.lds.S
vpe-cmp.c
vpe-mt.c MIPS: vpe-mt: drop physical_memsize 2024-03-01 13:21:51 +01:00
vpe.c
watch.c