]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
bus: firewall: Fix missing static inline annotations for stubs
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 7 May 2025 09:21:22 +0000 (11:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:11:19 +0000 (11:11 +0100)
commita0890b7805d241d0ae37e98a0f72e9d37af1149e
tree783140117fbf45b2bb4d91cc86b0acdb349b1d0a
parent1c71f3cf5f91b30358e25c50bf15c4a4396384bd
bus: firewall: Fix missing static inline annotations for stubs

commit 66db876162155c1cec87359cd78c62aaafde9257 upstream.

Stubs in the header file for !CONFIG_STM32_FIREWALL case should be both
static and inline, because they do not come with earlier declaration and
should be inlined in every unit including the header.

Cc: Patrice Chotard <patrice.chotard@foss.st.com>
Cc: stable@vger.kernel.org
Fixes: 5c9668cfc6d7 ("firewall: introduce stm32_firewall framework")
Link: https://lore.kernel.org/r/20250507092121.95121-2-krzysztof.kozlowski@linaro.org
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/bus/stm32_firewall_device.h