Re: [PATCH v2 3/9] bus: rifsc: use new CONFIG_STM32_FIREWALL_DEBUG switch
From: kernel test robot
Date: Thu Feb 12 2026 - 12:30:31 EST
Hi Gatien,
kernel test robot noticed the following build warnings:
[auto build test WARNING on 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b]
url: https://github.com/intel-lab-lkp/linux/commits/Gatien-Chevallier/dt-bindings-bus-document-the-RISAB-firewall-peripheral/20260212-182006
base: 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b
patch link: https://lore.kernel.org/r/20260212-stm32_risab-v2-3-02ef2859b596%40foss.st.com
patch subject: [PATCH v2 3/9] bus: rifsc: use new CONFIG_STM32_FIREWALL_DEBUG switch
config: loongarch-randconfig-002-20260212 (https://download.01.org/0day-ci/archive/20260213/202602130151.3v3igg2M-lkp@xxxxxxxxx/config)
compiler: clang version 22.0.0git (https://github.com/llvm/llvm-project 9b8addffa70cee5b2acc5454712d9cf78ce45710)
rustc: rustc 1.88.0 (6b00bc388 2025-06-23)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260213/202602130151.3v3igg2M-lkp@xxxxxxxxx/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202602130151.3v3igg2M-lkp@xxxxxxxxx/
All warnings (new ones prefixed by >>):
>> drivers/bus/stm32_rifsc.c:436:21: warning: attribute declaration must precede definition [-Wignored-attributes]
436 | static const struct __maybe_unused stm32_rifsc_resources_names rifsc_mp21_res_names = {
| ^
include/linux/compiler_attributes.h:343:56: note: expanded from macro '__maybe_unused'
343 | #define __maybe_unused __attribute__((__unused__))
| ^
drivers/bus/stm32_rifsc.c:424:8: note: previous definition is here
424 | struct stm32_rifsc_resources_names {
| ^
drivers/bus/stm32_rifsc.c:441:21: warning: attribute declaration must precede definition [-Wignored-attributes]
441 | static const struct __maybe_unused stm32_rifsc_resources_names rifsc_mp25_res_names = {
| ^
include/linux/compiler_attributes.h:343:56: note: expanded from macro '__maybe_unused'
343 | #define __maybe_unused __attribute__((__unused__))
| ^
drivers/bus/stm32_rifsc.c:424:8: note: previous definition is here
424 | struct stm32_rifsc_resources_names {
| ^
2 warnings generated.
vim +436 drivers/bus/stm32_rifsc.c
435
> 436 static const struct __maybe_unused stm32_rifsc_resources_names rifsc_mp21_res_names = {
437 .device_names = stm32mp21_rifsc_risup_names,
438 .initiator_names = stm32mp21_rifsc_rimu_names,
439 };
440
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki