All of lore.kernel.org
 help / color / mirror / Atom feed
* [frank-w-bpi-r2-4.14:7.2-rc 95/160] drivers/net/dsa/mxl862xx/mxl862xx-api.h:2154:6: error: redeclaration of 'enum mxl862xx_port_type'
@ 2026-06-30  2:49 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-06-30  2:49 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: csky-allmodconfig (https://download.01.org/0day-ci/archive/20260630/202606301008.hi5Mjwud-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260630/202606301008.hi5Mjwud-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/202606301008.hi5Mjwud-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: redeclaration of 'enum mxl862xx_port_type'
    2154 | enum mxl862xx_port_type {
         |      ^~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mxl862xx/mxl862xx-api.h:1206:6: note: originally defined here
    1206 | enum mxl862xx_port_type {
         |      ^~~~~~~~~~~~~~~~~~
>> drivers/net/dsa/mxl862xx/mxl862xx-api.h:2155:9: error: redeclaration of enumerator 'MXL862XX_LOGICAL_PORT'
    2155 |         MXL862XX_LOGICAL_PORT = 0,
         |         ^~~~~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mxl862xx/mxl862xx-api.h:1207:9: note: previous definition of 'MXL862XX_LOGICAL_PORT' with type 'enum mxl862xx_port_type'
    1207 |         MXL862XX_LOGICAL_PORT = 0,
         |         ^~~~~~~~~~~~~~~~~~~~~
>> drivers/net/dsa/mxl862xx/mxl862xx-api.h:2156:9: error: redeclaration of enumerator 'MXL862XX_PHYSICAL_PORT'
    2156 |         MXL862XX_PHYSICAL_PORT,
         |         ^~~~~~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mxl862xx/mxl862xx-api.h:1208:9: note: previous definition of 'MXL862XX_PHYSICAL_PORT' with type 'enum mxl862xx_port_type'
    1208 |         MXL862XX_PHYSICAL_PORT,
         |         ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/dsa/mxl862xx/mxl862xx-api.h:2157:9: error: redeclaration of enumerator 'MXL862XX_CTP_PORT'
    2157 |         MXL862XX_CTP_PORT,
         |         ^~~~~~~~~~~~~~~~~
   drivers/net/dsa/mxl862xx/mxl862xx-api.h:1209:9: note: previous definition of 'MXL862XX_CTP_PORT' with type 'enum mxl862xx_port_type'
    1209 |         MXL862XX_CTP_PORT,
         |         ^~~~~~~~~~~~~~~~~
>> drivers/net/dsa/mxl862xx/mxl862xx-api.h:2158:9: error: redeclaration of enumerator 'MXL862XX_BRIDGE_PORT'
    2158 |         MXL862XX_BRIDGE_PORT,
         |         ^~~~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mxl862xx/mxl862xx-api.h:1210:9: note: previous definition of 'MXL862XX_BRIDGE_PORT' with type 'enum mxl862xx_port_type'
    1210 |         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: redeclaration of 'enum mxl862xx_port_type'
    2154 | enum mxl862xx_port_type {
         |      ^~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mxl862xx/mxl862xx-api.h:1206:6: note: originally defined here
    1206 | enum mxl862xx_port_type {
         |      ^~~~~~~~~~~~~~~~~~
>> drivers/net/dsa/mxl862xx/mxl862xx-api.h:2155:9: error: redeclaration of enumerator 'MXL862XX_LOGICAL_PORT'
    2155 |         MXL862XX_LOGICAL_PORT = 0,
         |         ^~~~~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mxl862xx/mxl862xx-api.h:1207:9: note: previous definition of 'MXL862XX_LOGICAL_PORT' with type 'enum mxl862xx_port_type'
    1207 |         MXL862XX_LOGICAL_PORT = 0,
         |         ^~~~~~~~~~~~~~~~~~~~~
>> drivers/net/dsa/mxl862xx/mxl862xx-api.h:2156:9: error: redeclaration of enumerator 'MXL862XX_PHYSICAL_PORT'
    2156 |         MXL862XX_PHYSICAL_PORT,
         |         ^~~~~~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mxl862xx/mxl862xx-api.h:1208:9: note: previous definition of 'MXL862XX_PHYSICAL_PORT' with type 'enum mxl862xx_port_type'
    1208 |         MXL862XX_PHYSICAL_PORT,
         |         ^~~~~~~~~~~~~~~~~~~~~~
>> drivers/net/dsa/mxl862xx/mxl862xx-api.h:2157:9: error: redeclaration of enumerator 'MXL862XX_CTP_PORT'
    2157 |         MXL862XX_CTP_PORT,
         |         ^~~~~~~~~~~~~~~~~
   drivers/net/dsa/mxl862xx/mxl862xx-api.h:1209:9: note: previous definition of 'MXL862XX_CTP_PORT' with type 'enum mxl862xx_port_type'
    1209 |         MXL862XX_CTP_PORT,
         |         ^~~~~~~~~~~~~~~~~
>> drivers/net/dsa/mxl862xx/mxl862xx-api.h:2158:9: error: redeclaration of enumerator 'MXL862XX_BRIDGE_PORT'
    2158 |         MXL862XX_BRIDGE_PORT,
         |         ^~~~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mxl862xx/mxl862xx-api.h:1210:9: note: previous definition of 'MXL862XX_BRIDGE_PORT' with type 'enum mxl862xx_port_type'
    1210 |         MXL862XX_BRIDGE_PORT,
         |         ^~~~~~~~~~~~~~~~~~~~
   drivers/net/dsa/mxl862xx/mxl862xx-phylink.c: In function 'mxl862xx_serdes_get_stats':
   drivers/net/dsa/mxl862xx/mxl862xx-phylink.c:502:28: error: implicit declaration of function 'mxl862xx_xpcs_port_id'; did you mean 'mxl862xx_pcs_config'? [-Wimplicit-function-declaration]
     502 |                 .port_id = mxl862xx_xpcs_port_id(port),
         |                            ^~~~~~~~~~~~~~~~~~~~~
         |                            mxl862xx_pcs_config


vim +2154 drivers/net/dsa/mxl862xx/mxl862xx-api.h

23794bec1cb606 Daniel Golle 2026-02-07  2146  
e6295d124644b1 Daniel Golle 2026-04-12  2147  /**
e6295d124644b1 Daniel Golle 2026-04-12  2148   * enum mxl862xx_port_type - Port Type
e6295d124644b1 Daniel Golle 2026-04-12  2149   * @MXL862XX_LOGICAL_PORT: Logical Port
e6295d124644b1 Daniel Golle 2026-04-12  2150   * @MXL862XX_PHYSICAL_PORT: Physical Port
e6295d124644b1 Daniel Golle 2026-04-12  2151   * @MXL862XX_CTP_PORT: Connectivity Termination Port (CTP)
e6295d124644b1 Daniel Golle 2026-04-12  2152   * @MXL862XX_BRIDGE_PORT: Bridge Port
e6295d124644b1 Daniel Golle 2026-04-12  2153   */
e6295d124644b1 Daniel Golle 2026-04-12 @2154  enum mxl862xx_port_type {
e6295d124644b1 Daniel Golle 2026-04-12 @2155  	MXL862XX_LOGICAL_PORT = 0,
e6295d124644b1 Daniel Golle 2026-04-12 @2156  	MXL862XX_PHYSICAL_PORT,
e6295d124644b1 Daniel Golle 2026-04-12 @2157  	MXL862XX_CTP_PORT,
e6295d124644b1 Daniel Golle 2026-04-12 @2158  	MXL862XX_BRIDGE_PORT,
e6295d124644b1 Daniel Golle 2026-04-12  2159  };
e6295d124644b1 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  2:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-30  2:49 [frank-w-bpi-r2-4.14:7.2-rc 95/160] drivers/net/dsa/mxl862xx/mxl862xx-api.h:2154:6: error: redeclaration 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.