* [frank-w-bpi-r2-4.14:7.2-rc 95/160] drivers/net/dsa/mxl862xx/mxl862xx-api.h:2154:6: error: nested redefinition of 'enum mxl862xx_port_type'
@ 2026-06-30 4:46 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-30 4:46 UTC (permalink / raw)
To: Frank Wunderlich; +Cc: oe-kbuild-all
tree: https://github.com/frank-w/BPI-R2-4.14 7.2-rc
head: 39cd8d05e83250c6294b8e0da3ca69359eff8a3c
commit: 78b80c34a4169c4e258421dd004ea2fc640a8b4f [95/160] net: dsa: mxl862xx: trap link-local and multicast snooping frames to CPU
config: arm-randconfig-004-20260630 (https://download.01.org/0day-ci/archive/20260630/202606301223.B3ESUnM6-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 8.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260630/202606301223.B3ESUnM6-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/202606301223.B3ESUnM6-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from drivers/net/dsa/mxl862xx/mxl862xx.c:23:
>> drivers/net/dsa/mxl862xx/mxl862xx-api.h:2154:6: error: nested redefinition of 'enum mxl862xx_port_type'
enum mxl862xx_port_type {
^~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:2154:6: error: redeclaration of 'enum mxl862xx_port_type'
drivers/net/dsa/mxl862xx/mxl862xx-api.h:1206:6: note: originally defined here
enum mxl862xx_port_type {
^~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:2155:2: error: redeclaration of enumerator 'MXL862XX_LOGICAL_PORT'
MXL862XX_LOGICAL_PORT = 0,
^~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:1207:2: note: previous definition of 'MXL862XX_LOGICAL_PORT' was here
MXL862XX_LOGICAL_PORT = 0,
^~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:2156:2: error: redeclaration of enumerator 'MXL862XX_PHYSICAL_PORT'
MXL862XX_PHYSICAL_PORT,
^~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:1208:2: note: previous definition of 'MXL862XX_PHYSICAL_PORT' was here
MXL862XX_PHYSICAL_PORT,
^~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:2157:2: error: redeclaration of enumerator 'MXL862XX_CTP_PORT'
MXL862XX_CTP_PORT,
^~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:1209:2: note: previous definition of 'MXL862XX_CTP_PORT' was here
MXL862XX_CTP_PORT,
^~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:2158:2: error: redeclaration of enumerator 'MXL862XX_BRIDGE_PORT'
MXL862XX_BRIDGE_PORT,
^~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:1210:2: note: previous definition of 'MXL862XX_BRIDGE_PORT' was here
MXL862XX_BRIDGE_PORT,
^~~~~~~~~~~~~~~~~~~~
--
In file included from drivers/net/dsa/mxl862xx/mxl862xx-phylink.c:16:
>> drivers/net/dsa/mxl862xx/mxl862xx-api.h:2154:6: error: nested redefinition of 'enum mxl862xx_port_type'
enum mxl862xx_port_type {
^~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:2154:6: error: redeclaration of 'enum mxl862xx_port_type'
drivers/net/dsa/mxl862xx/mxl862xx-api.h:1206:6: note: originally defined here
enum mxl862xx_port_type {
^~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:2155:2: error: redeclaration of enumerator 'MXL862XX_LOGICAL_PORT'
MXL862XX_LOGICAL_PORT = 0,
^~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:1207:2: note: previous definition of 'MXL862XX_LOGICAL_PORT' was here
MXL862XX_LOGICAL_PORT = 0,
^~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:2156:2: error: redeclaration of enumerator 'MXL862XX_PHYSICAL_PORT'
MXL862XX_PHYSICAL_PORT,
^~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:1208:2: note: previous definition of 'MXL862XX_PHYSICAL_PORT' was here
MXL862XX_PHYSICAL_PORT,
^~~~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:2157:2: error: redeclaration of enumerator 'MXL862XX_CTP_PORT'
MXL862XX_CTP_PORT,
^~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:1209:2: note: previous definition of 'MXL862XX_CTP_PORT' was here
MXL862XX_CTP_PORT,
^~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:2158:2: error: redeclaration of enumerator 'MXL862XX_BRIDGE_PORT'
MXL862XX_BRIDGE_PORT,
^~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-api.h:1210:2: note: previous definition of 'MXL862XX_BRIDGE_PORT' was here
MXL862XX_BRIDGE_PORT,
^~~~~~~~~~~~~~~~~~~~
drivers/net/dsa/mxl862xx/mxl862xx-phylink.c: In function 'mxl862xx_serdes_get_stats':
drivers/net/dsa/mxl862xx/mxl862xx-phylink.c:502:14: error: implicit declaration of function 'mxl862xx_xpcs_port_id'; did you mean 'mxl862xx_pcs_config'? [-Werror=implicit-function-declaration]
.port_id = mxl862xx_xpcs_port_id(port),
^~~~~~~~~~~~~~~~~~~~~
mxl862xx_pcs_config
cc1: some warnings being treated as errors
vim +2154 drivers/net/dsa/mxl862xx/mxl862xx-api.h
23794bec1cb606f Daniel Golle 2026-02-07 2146
e6295d124644b14 Daniel Golle 2026-04-12 2147 /**
e6295d124644b14 Daniel Golle 2026-04-12 2148 * enum mxl862xx_port_type - Port Type
e6295d124644b14 Daniel Golle 2026-04-12 2149 * @MXL862XX_LOGICAL_PORT: Logical Port
e6295d124644b14 Daniel Golle 2026-04-12 2150 * @MXL862XX_PHYSICAL_PORT: Physical Port
e6295d124644b14 Daniel Golle 2026-04-12 2151 * @MXL862XX_CTP_PORT: Connectivity Termination Port (CTP)
e6295d124644b14 Daniel Golle 2026-04-12 2152 * @MXL862XX_BRIDGE_PORT: Bridge Port
e6295d124644b14 Daniel Golle 2026-04-12 2153 */
e6295d124644b14 Daniel Golle 2026-04-12 @2154 enum mxl862xx_port_type {
e6295d124644b14 Daniel Golle 2026-04-12 2155 MXL862XX_LOGICAL_PORT = 0,
e6295d124644b14 Daniel Golle 2026-04-12 2156 MXL862XX_PHYSICAL_PORT,
e6295d124644b14 Daniel Golle 2026-04-12 2157 MXL862XX_CTP_PORT,
e6295d124644b14 Daniel Golle 2026-04-12 2158 MXL862XX_BRIDGE_PORT,
e6295d124644b14 Daniel Golle 2026-04-12 2159 };
e6295d124644b14 Daniel Golle 2026-04-12 2160
:::::: The code at line 2154 was first introduced by commit
:::::: e6295d124644b14a12b55edf5d3e89cf86a4a2ce net: dsa: mxl862xx: add ethtool statistics support
:::::: TO: Daniel Golle <daniel@makrotopia.org>
:::::: CC: Jakub Kicinski <kuba@kernel.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-30 4:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-30 4:46 [frank-w-bpi-r2-4.14:7.2-rc 95/160] drivers/net/dsa/mxl862xx/mxl862xx-api.h:2154:6: error: nested redefinition of 'enum mxl862xx_port_type' kernel test robot
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.