Re: [PATCH net-next v2 2/8] net: ethtool: plumb PHY stats to PHY drivers

From: kernel test robot
Date: Fri Dec 20 2024 - 07:48:36 EST


Hi Oleksij,

kernel test robot noticed the following build errors:

[auto build test ERROR on net-next/main]

url: https://github.com/intel-lab-lkp/linux/commits/Oleksij-Rempel/ethtool-linkstate-migrate-linkstate-functions-to-support-multi-PHY-setups/20241219-213024
base: net-next/main
patch link: https://lore.kernel.org/r/20241219132534.725051-3-o.rempel%40pengutronix.de
patch subject: [PATCH net-next v2 2/8] net: ethtool: plumb PHY stats to PHY drivers
config: arm-randconfig-004-20241220 (https://download.01.org/0day-ci/archive/20241220/202412202052.YznBmblv-lkp@xxxxxxxxx/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 9daf10ff8f29ba3a88a105aaa9d2379c21b77d35)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241220/202412202052.YznBmblv-lkp@xxxxxxxxx/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@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202412202052.YznBmblv-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: phy_ethtool_get_phy_stats
>>> referenced by stats.c
>>> net/ethtool/stats.o:(stats_prepare_data) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: phy_ethtool_get_link_ext_stats
>>> referenced by linkstate.c
>>> net/ethtool/linkstate.o:(linkstate_prepare_data) in archive vmlinux.a

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki