wx_ethtool.c:undefined reference to `phylink_ethtool_get_pauseparam'

From: kernel test robot
Date: Sat Jan 13 2024 - 21:59:50 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 052d534373b7ed33712a63d5e17b2b6cdbce84fd
commit: 2fe2ca09da953bac778eab5dfb309b4e7d274b1a net: wangxun: add flow control support
date: 10 days ago
config: loongarch-randconfig-001-20240111 (https://download.01.org/0day-ci/archive/20240114/202401141033.L4W51adl-lkp@xxxxxxxxx/config)
compiler: loongarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240114/202401141033.L4W51adl-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/202401141033.L4W51adl-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

loongarch64-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_nway_reset':
wx_ethtool.c:(.text+0x3ac): undefined reference to `phylink_ethtool_nway_reset'
loongarch64-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_get_link_ksettings':
wx_ethtool.c:(.text+0x3b4): undefined reference to `phylink_ethtool_ksettings_get'
loongarch64-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_set_link_ksettings':
wx_ethtool.c:(.text+0x3bc): undefined reference to `phylink_ethtool_ksettings_set'
loongarch64-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_get_pauseparam':
>> wx_ethtool.c:(.text+0x3c4): undefined reference to `phylink_ethtool_get_pauseparam'
loongarch64-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_set_pauseparam':
>> wx_ethtool.c:(.text+0x3cc): undefined reference to `phylink_ethtool_set_pauseparam'
loongarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_close':
ngbe_main.c:(.text+0x48): undefined reference to `phylink_stop'
loongarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `.L10':
ngbe_main.c:(.text+0x1d8): undefined reference to `phylink_disconnect_phy'
loongarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `.L94':
ngbe_main.c:(.text+0x748): undefined reference to `phylink_connect_phy'
loongarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `.L109':
ngbe_main.c:(.text+0x814): undefined reference to `phylink_start'
loongarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `.L102':
ngbe_main.c:(.text+0x820): undefined reference to `phylink_disconnect_phy'
loongarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_remove':
ngbe_main.c:(.text+0x980): undefined reference to `phylink_destroy'
loongarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `.L185':
ngbe_main.c:(.text+0xf20): undefined reference to `phylink_destroy'
loongarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.o: in function `.L46':
ngbe_mdio.c:(.text+0x2f4): undefined reference to `phylink_create'

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