Re: [PATCH] staging: octeon: remove SPI, POW, PKO, and Helper typedef enums
From: kernel test robot
Date: Tue Apr 14 2026 - 23:52:43 EST
Hi Maxwell,
kernel test robot noticed the following build errors:
[auto build test ERROR on staging/staging-testing]
url: https://github.com/intel-lab-lkp/linux/commits/Maxwell-Doose/staging-octeon-remove-SPI-POW-PKO-and-Helper-typedef-enums/20260415-004127
base: staging/staging-testing
patch link: https://lore.kernel.org/r/20260412000226.2711800-1-m32285159%40gmail.com
patch subject: [PATCH] staging: octeon: remove SPI, POW, PKO, and Helper typedef enums
config: hexagon-allmodconfig (https://download.01.org/0day-ci/archive/20260415/202604151159.fZkPsdWl-lkp@xxxxxxxxx/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260415/202604151159.fZkPsdWl-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/202604151159.fZkPsdWl-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
In file included from drivers/staging/octeon/ethernet.c:23:
In file included from drivers/staging/octeon/octeon-ethernet.h:41:
>> drivers/staging/octeon/octeon-stubs.h:1270:15: error: use of 'cvmx_helper_interface_mode' with tag type that does not match previous declaration
1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int
| ^
drivers/staging/octeon/octeon-stubs.h:225:6: note: previous use is here
225 | enum cvmx_helper_interface_mode {
| ^
>> drivers/staging/octeon/octeon-stubs.h:1273:9: error: returning 'int' from a function with incompatible result type 'struct (unnamed struct at drivers/staging/octeon/octeon-stubs.h:1270:22)'
1273 | return 0;
| ^
2 errors generated.
vim +/cvmx_helper_interface_mode +1270 drivers/staging/octeon/octeon-stubs.h
1269
> 1270 static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int
1271 interface)
1272 {
> 1273 return 0;
1274 }
1275
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki