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

From: kernel test robot <[email-masked]>
Date: Fri, 20 Dec 2024 20:36:23 +0800

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: i386-buildonly-randconfig-001-20241220 (https://download.01.org/0day-ci/archive/20241220/[email-masked]/config)
compiler: gcc-12 (Debian 12.2.0-14) 12.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20241220/[email-masked]/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 <[email-masked]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email-masked]/

All errors (new ones prefixed by >>):

   ld: net/ethtool/linkstate.o: in function `linkstate_prepare_data':
>> linkstate.c:(.text+0x2d9): undefined reference to `phy_ethtool_get_link_ext_stats'
   ld: net/ethtool/stats.o: in function `stats_prepare_data':
>> stats.c:(.text+0x150): undefined reference to `phy_ethtool_get_phy_stats'

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