[PATCH net-next v17 03/15] net: phy: Introduce PHY ports representation
kernel test robot
lkp at intel.com
Thu Nov 20 11:48:59 PST 2025
Hi Maxime,
kernel test robot noticed the following build warnings:
[auto build test WARNING on net-next/main]
url: https://github.com/intel-lab-lkp/linux/commits/Maxime-Chevallier/dt-bindings-net-Introduce-the-ethernet-connector-description/20251120-041558
base: net-next/main
patch link: https://lore.kernel.org/r/20251119195920.442860-4-maxime.chevallier%40bootlin.com
patch subject: [PATCH net-next v17 03/15] net: phy: Introduce PHY ports representation
config: powerpc64-randconfig-r133-20251120 (https://download.01.org/0day-ci/archive/20251121/202511210333.9rtKR1ph-lkp@intel.com/config)
compiler: powerpc64-linux-gcc (GCC) 11.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20251121/202511210333.9rtKR1ph-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 at intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202511210333.9rtKR1ph-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> net/ethtool/common.c:463:12: sparse: sparse: symbol 'ethtool_link_medium_names' was not declared. Should it be static?
vim +/ethtool_link_medium_names +463 net/ethtool/common.c
462
> 463 const char ethtool_link_medium_names[][ETH_GSTRING_LEN] = {
464 [ETHTOOL_LINK_MEDIUM_BASET] = "BaseT",
465 [ETHTOOL_LINK_MEDIUM_BASEK] = "BaseK",
466 [ETHTOOL_LINK_MEDIUM_BASES] = "BaseS",
467 [ETHTOOL_LINK_MEDIUM_BASEC] = "BaseC",
468 [ETHTOOL_LINK_MEDIUM_BASEL] = "BaseL",
469 [ETHTOOL_LINK_MEDIUM_BASED] = "BaseD",
470 [ETHTOOL_LINK_MEDIUM_BASEE] = "BaseE",
471 [ETHTOOL_LINK_MEDIUM_BASEF] = "BaseF",
472 [ETHTOOL_LINK_MEDIUM_BASEV] = "BaseV",
473 [ETHTOOL_LINK_MEDIUM_BASEMLD] = "BaseMLD",
474 [ETHTOOL_LINK_MEDIUM_NONE] = "None",
475 };
476 static_assert(ARRAY_SIZE(ethtool_link_medium_names) == __ETHTOOL_LINK_MEDIUM_LAST);
477
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
More information about the linux-arm-kernel
mailing list