From: kernel test robot <lkp@intel.com>
To: Maxwell Doose <m32285159@gmail.com>,
gregkh@linuxfoundation.org, tsbogend@alpha.franken.de
Cc: oe-kbuild-all@lists.linux.dev, yoelvisoliveros@gmail.com,
len.bao@gmx.us, linux-mips@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev
Subject: Re: [PATCH] staging: octeon: remove SPI, POW, PKO, and Helper typedef enums
Date: Wed, 15 Apr 2026 08:04:21 +0800 [thread overview]
Message-ID: <202604150717.26IAjbLy-lkp@intel.com> (raw)
In-Reply-To: <20260412000226.2711800-1-m32285159@gmail.com>
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: sh-allmodconfig (https://download.01.org/0day-ci/archive/20260415/202604150717.26IAjbLy-lkp@intel.com/config)
compiler: sh4-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260415/202604150717.26IAjbLy-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 <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202604150717.26IAjbLy-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from drivers/staging/octeon/octeon-ethernet.h:41,
from drivers/staging/octeon/ethernet.c:23:
>> drivers/staging/octeon/octeon-stubs.h:1270:22: error: 'cvmx_helper_interface_mode' defined as wrong kind of tag
1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/octeon/octeon-stubs.h:1270:49: error: return type is an incomplete type
1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/octeon/octeon-stubs.h: In function 'cvmx_helper_interface_get_mode':
>> drivers/staging/octeon/octeon-stubs.h:1273:16: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
1273 | return 0;
| ^
drivers/staging/octeon/octeon-stubs.h:1270:49: note: declared here
1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/octeon/ethernet.c: In function 'cvm_oct_common_change_mtu':
>> drivers/staging/octeon/ethernet.c:252:14: error: void value not ignored as it ought to be
252 | (cvmx_helper_interface_get_mode(interface) !=
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/octeon/ethernet.c: In function 'cvm_oct_common_set_multicast_list':
drivers/staging/octeon/ethernet.c:298:14: error: void value not ignored as it ought to be
298 | (cvmx_helper_interface_get_mode(interface) !=
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/octeon/ethernet.c: In function 'cvm_oct_set_mac_filter':
drivers/staging/octeon/ethernet.c:350:14: error: void value not ignored as it ought to be
350 | (cvmx_helper_interface_get_mode(interface) !=
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/octeon/ethernet.c: In function 'cvm_oct_probe':
>> drivers/staging/octeon/ethernet.c:801:22: error: 'cvmx_helper_interface_mode' defined as wrong kind of tag
801 | enum cvmx_helper_interface_mode imode =
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/octeon/ethernet.c:802:21: error: variable 'imode' has initializer but incomplete type
802 | cvmx_helper_interface_get_mode(interface);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/octeon/ethernet.c:801:49: error: storage size of 'imode' isn't known
801 | enum cvmx_helper_interface_mode imode =
| ^~~~~
>> drivers/staging/octeon/ethernet.c:801:49: warning: unused variable 'imode' [-Wunused-variable]
--
In file included from drivers/staging/octeon/octeon-ethernet.h:41,
from drivers/staging/octeon/ethernet-mdio.c:15:
>> drivers/staging/octeon/octeon-stubs.h:1270:22: error: 'cvmx_helper_interface_mode' defined as wrong kind of tag
1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> drivers/staging/octeon/octeon-stubs.h:1270:49: error: return type is an incomplete type
1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/staging/octeon/octeon-stubs.h: In function 'cvmx_helper_interface_get_mode':
>> drivers/staging/octeon/octeon-stubs.h:1273:16: error: 'return' with a value, in function returning void [-Wreturn-mismatch]
1273 | return 0;
| ^
drivers/staging/octeon/octeon-stubs.h:1270:49: note: declared here
1270 | static inline struct cvmx_helper_interface_mode cvmx_helper_interface_get_mode(int
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
next prev parent reply other threads:[~2026-04-15 0:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-12 0:02 [PATCH] staging: octeon: remove SPI, POW, PKO, and Helper typedef enums Maxwell Doose
2026-04-15 0:04 ` kernel test robot [this message]
2026-04-15 2:44 ` kernel test robot
2026-04-15 3:51 ` kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202604150717.26IAjbLy-lkp@intel.com \
--to=lkp@intel.com \
--cc=gregkh@linuxfoundation.org \
--cc=len.bao@gmx.us \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=m32285159@gmail.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tsbogend@alpha.franken.de \
--cc=yoelvisoliveros@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.