linux-stable/arch/arm
Arnd Bergmann 568b73406d ARM: 9303/1: kprobes: avoid missing-declaration warnings
[ Upstream commit 1b9c3ddcec ]

checker_stack_use_t32strd() and kprobe_handler() can be made static since
they are not used from other files, while coverage_start_registers()
and __kprobes_test_case() are used from assembler code, and just need
a declaration to avoid a warning with the global definition.

arch/arm/probes/kprobes/checkers-common.c:43:18: error: no previous prototype for 'checker_stack_use_t32strd'
arch/arm/probes/kprobes/core.c:236:16: error: no previous prototype for 'kprobe_handler'
arch/arm/probes/kprobes/test-core.c:723:10: error: no previous prototype for 'coverage_start_registers'
arch/arm/probes/kprobes/test-core.c:918:14: error: no previous prototype for '__kprobes_test_case_start'
arch/arm/probes/kprobes/test-core.c:952:14: error: no previous prototype for '__kprobes_test_case_end_16'
arch/arm/probes/kprobes/test-core.c:967:14: error: no previous prototype for '__kprobes_test_case_end_32'

Fixes: 6624cf651f ("ARM: kprobes: collects stack consumption for store instructions")
Fixes: 454f3e132d ("ARM/kprobes: Remove jprobe arm implementation")
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-27 08:37:06 +02:00
..
boot ARM: dts: Fix erroneous ADS touchscreen polarities 2023-06-28 10:18:41 +02:00
common
configs
crypto crypto: arm/ghash-ce - define fpu before fpu registers are referenced 2022-07-02 16:28:52 +02:00
include ARM: 9266/1: mm: fix no-MMU ZERO_PAGE() implementation 2022-12-14 11:30:40 +01:00
kernel ARM: 9295/1: unwind:fix unwind abort for uleb128 case 2023-06-09 10:28:55 +02:00
kvm KVM: arm64: Ensure I-cache isolation between vcpus of a same VM 2021-03-17 17:03:57 +01:00
lib ARM: findbit: fix overflowing offset 2022-08-25 11:17:33 +02:00
mach-actions
mach-alpine
mach-artpec
mach-asm9260
mach-aspeed
mach-at91 ARM: at91: pm: use proper compatibles for sam9x60's rtc and rtt 2022-07-12 16:30:48 +02:00
mach-axxia ARM: Fix refcount leak in axxia_boot_secondary 2022-06-29 08:58:49 +02:00
mach-bcm ARM: bcm: Fix refcount leak in bcm_kona_smc_init 2022-08-25 11:17:33 +02:00
mach-berlin
mach-clps711x
mach-cns3xxx ARM: cns3xxx: Fix refcount leak in cns3xxx_init 2022-06-29 08:58:49 +02:00
mach-davinci arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL 2022-05-15 19:54:46 +02:00
mach-digicolor
mach-dove
mach-ebsa110
mach-efm32
mach-ep93xx
mach-exynos ARM: exynos: Fix refcount leak in exynos_map_pmu 2022-06-29 08:58:49 +02:00
mach-footbridge ARM: footbridge: fix PCI interrupt mapping 2021-04-21 12:56:17 +02:00
mach-gemini
mach-highbank arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL 2022-05-15 19:54:46 +02:00
mach-hisi ARM: hisi: Add missing of_node_put after of_find_compatible_node 2022-06-14 18:11:30 +02:00
mach-imx ARM: imx: Call ida_simple_remove() for ida_simple_get 2023-03-11 16:43:33 +01:00
mach-integrator
mach-iop32x ARM: iop32x: offset IRQ numbers by 1 2022-04-15 14:18:29 +02:00
mach-ixp4xx clocksource/drivers/ixp4xx: Select TIMER_OF when needed 2021-03-04 10:26:29 +01:00
mach-keystone ARM: keystone: fix integer overflow warning 2021-04-21 12:56:13 +02:00
mach-lpc18xx
mach-lpc32xx
mach-mediatek arm: mediatek: select arch timer for mt7629 2022-06-14 18:11:40 +02:00
mach-meson ARM: meson: Fix refcount leak in meson_smp_prepare_cpus 2022-07-12 16:30:48 +02:00
mach-milbeaut
mach-mmp ARM: mmp: fix timer_read delay 2023-01-18 11:40:52 +01:00
mach-moxart
mach-mv78xx0
mach-mvebu
mach-mxs ARM: mxs: fix memory leak in mxs_machine_init() 2022-12-08 11:22:58 +01:00
mach-nomadik
mach-npcm
mach-nspire
mach-omap1 ARM: OMAP1: call platform_device_put() in error case in omap1_dm_timer_init() 2023-03-11 16:43:32 +01:00
mach-omap2 ARM: OMAP2+: Fix memory leak in realtime_counter_init() 2023-03-11 16:43:32 +01:00
mach-orion5x
mach-oxnas
mach-picoxcell
mach-prima2
mach-pxa ARM: pxa: maybe fix gpio lookup tables 2022-06-14 18:11:49 +02:00
mach-qcom
mach-rda
mach-realview
mach-rockchip
mach-rpc
mach-s3c24xx ARM: 9187/1: JIVE: fix return value of __setup handler 2022-04-15 14:18:31 +02:00
mach-s3c64xx
mach-s5pv210 arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL 2022-05-15 19:54:46 +02:00
mach-sa1100 treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
mach-shmobile ARM: shmobile: rcar-gen2: Increase refcount for new reference 2022-08-25 11:17:32 +02:00
mach-socfpga ARM: socfpga: fix missing RESET_CONTROLLER 2022-02-16 12:52:49 +01:00
mach-spear
mach-sti
mach-stm32
mach-sunxi ARM: sunxi: Add machine match for the Allwinner V3 SoC 2020-12-30 11:51:29 +01:00
mach-tango arm: remove CONFIG_ARCH_HAS_HOLES_MEMORYMODEL 2022-05-15 19:54:46 +02:00
mach-tegra
mach-u300
mach-uniphier
mach-ux500
mach-versatile
mach-vexpress ARM: versatile: Add missing of_node_put in dcscb_init 2022-06-14 18:11:30 +02:00
mach-vt8500
mach-zx
mach-zynq ARM: zynq: Fix refcount leak in zynq_early_slcr_init 2023-03-11 16:43:32 +01:00
mm treewide: Remove uninitialized_var() usage 2023-06-09 10:29:01 +02:00
net bpf, arm: Fix register clobbering in div/mod implementation 2021-10-13 10:08:18 +02:00
nwfpe ARM: 9256/1: NWFPE: avoid compiler-generated __aeabi_uldivmod 2023-01-18 11:41:48 +01:00
oprofile
plat-omap
plat-orion
plat-pxa
plat-samsung
plat-versatile
probes ARM: 9303/1: kprobes: avoid missing-declaration warnings 2023-07-27 08:37:06 +02:00
tools
vdso
vfp ARM: 8989/1: use .fpu assembler directives instead of assembler arguments 2022-07-02 16:28:50 +02:00
xen dma-mapping: drop the dev argument to arch_sync_dma_for_* 2023-04-05 11:16:43 +02:00
Kconfig ARM: Drop CMDLINE_* dependency on ATAGS 2022-10-26 13:22:33 +02:00
Kconfig-nommu
Kconfig.debug
Makefile ARM: 9156/1: drop cc-option fallbacks for architecture selection 2021-11-17 09:48:48 +01:00