All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Frank Wunderlich <frank-w@public-files.de>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'
Date: Tue, 30 Jun 2026 10:49:28 +0800	[thread overview]
Message-ID: <202606301008.hi5Mjwud-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-06-30  2:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202606301008.hi5Mjwud-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=frank-w@public-files.de \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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.