]> git.ipfire.org Git - thirdparty/kernel/linux.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)
committerKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Wed, 7 May 2025 09:25:02 +0000 (11:25 +0200)
commit66db876162155c1cec87359cd78c62aaafde9257
tree05791a38b7bdad0810506ad5478f6bb26140c39a
parent59e9910e8e49230c71b22a75b527183957fc8df5
bus: firewall: Fix missing static inline annotations for stubs

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>
include/linux/bus/stm32_firewall_device.h