Re: [PATCH net-next v2 1/3] net: bridge: add stp_mode attribute for STP mode selection
From: kernel test robot <hidden>
Date: 2026-03-29 17:27:24
Also in:
bridge, linux-doc, linux-kselftest, lkml, oe-kbuild-all
Hi Andy, kernel test robot noticed the following build errors: [auto build test ERROR on net-next/main] url: https://github.com/intel-lab-lkp/linux/commits/Andy-Roulin/net-bridge-add-stp_mode-attribute-for-STP-mode-selection/20260329-191152 base: net-next/main patch link: https://lore.kernel.org/r/20260329025858.330620-2-aroulin%40nvidia.com patch subject: [PATCH net-next v2 1/3] net: bridge: add stp_mode attribute for STP mode selection config: s390-allnoconfig-bpf (https://download.01.org/0day-ci/archive/20260329/202603291905.TUiTIocs-lkp@intel.com/config) compiler: s390x-linux-gnu-gcc (Debian 14.2.0-19) 14.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260329/202603291905.TUiTIocs-lkp@intel.com/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 [off-list ref] | Closes: https://lore.kernel.org/oe-kbuild-all/202603291905.TUiTIocs-lkp@intel.com/ (local) All error/warnings (new ones prefixed by >>): In file included from rt-link-user.c:9:
quoted
rt-link-user.h:38:42: warning: 'enum rt_link_br_stp_mode' declared inside parameter list will not be visible outside of this definition or declaration
38 | const char *rt_link_br_stp_mode_str(enum rt_link_br_stp_mode value);
| ^~~~~~~~~~~~~~~~~~~quoted
rt-link-user.h:245:34: error: field 'stp_mode' has incomplete type
245 | enum rt_link_br_stp_mode stp_mode;
| ^~~~~~~~quoted
rt-link-user.h:2164:80: error: parameter 2 ('stp_mode') has incomplete type
2164 | enum rt_link_br_stp_mode stp_mode)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
rt-link-user.h:6234:85: error: parameter 2 ('stp_mode') has incomplete type
6234 | enum rt_link_br_stp_mode stp_mode)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
rt-link-user.h:10089:80: error: parameter 2 ('stp_mode') has incomplete type
10089 | enum rt_link_br_stp_mode stp_mode)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~quoted
rt-link-user.c:352:62: error: parameter 1 ('value') has incomplete type
352 | const char *rt_link_br_stp_mode_str(enum rt_link_br_stp_mode value)
| ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~
rt-link-user.c: In function 'rt_link_br_stp_mode_str':quoted
rt-link-user.c:357:1: warning: control reaches end of non-void function [-Wreturn-type]
357 | }
| ^
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki