android_kernel_motorola_sm6375/arch/mips
Repository files (latest commit first)
Filename Latest commit message Latest commit date
WangYuli 16e8693eb2 MIPS: ftrace: Declare ftrace_get_parent_ra_addr() as static
commit ddd068d81445b17ac0bed084dfeb9e58b4df3ddd 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:43:11 +01:00
..
alchemy MIPS: Alchemy: Fix an out-of-bound access in db1550_dev_setup() 2024-01-25 14:34:30 -08:00
ar7
ath25
ath79
bcm47xx
bcm63xx
bmips mips: bmips: BCM6358: make sure CBR is correctly set 2024-07-05 09:08:22 +02:00
boot
cavium-octeon
cobalt
configs Remove DECnet support from kernel 2023-06-21 15:44:10 +02:00
crypto
dec
emma
fw MIPS: fw: Allow firmware to pass a empty env 2023-05-17 11:35:32 +02:00
generic
include mips: asm: fix warning when disabling MIPS_FP_SUPPORT 2024-12-14 19:44:21 +01:00
jazz dma-mapping: drop the dev argument to arch_sync_dma_for_* 2023-04-05 11:16:43 +02:00
jz4740
kernel MIPS: ftrace: Declare ftrace_get_parent_ra_addr() as static 2025-03-13 12:43:11 +01:00
kvm MIPS: KVM: Fix a build warning about variable set but not used 2023-12-08 08:44:24 +01:00
lantiq
lasat treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD() 2023-04-20 12:07:32 +02:00
lib treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
loongson32
loongson64
math-emu
mm mips: Fix max_mapnr being uninitialized on early stages 2024-02-23 08:25:13 +01:00
mti-malta
net
netlogic
oprofile
paravirt
pci MIPS: Octeron: remove source file executable bit 2024-08-19 05:33:33 +02:00
pic32
pistachio
pmcs-msp71xx
pnx833x
power
ralink
rb532
sgi-ip22
sgi-ip27
sgi-ip32
sibyte
sni
tools
txx9
vdso
vr41xx
Kbuild
Kbuild.platforms
Kconfig mips/cpu: Switch to arch_cpu_finalize_init() 2023-08-08 19:56:34 +02:00
Kconfig.debug
Makefile MIPS: Probe toolchain support of -msym32 2025-01-09 13:23:32 +01:00
Makefile.postlink