[linux-next:master 11933/13245] drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:220:undefined reference to `phylink_ethtool_get_pauseparam'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   9e21984d62c56a0f6d1fc6f76b646212cfd7fe88
commit: 2fe2ca09da953bac778eab5dfb309b4e7d274b1a [11933/13245] net: wangxun: add flow control support
config: parisc-randconfig-r002-20221104 (https://download.01.org/0day-ci/archive/20240111/202401111846.TjO5BA3A-lkp@xxxxxxxxx/config)
compiler: hppa-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240111/202401111846.TjO5BA3A-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/202401111846.TjO5BA3A-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   hppa-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_remove':
   ngbe_main.c:(.text+0x1c): undefined reference to `phylink_destroy'
   hppa-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_close':
   ngbe_main.c:(.text+0x300): undefined reference to `phylink_stop'
   hppa-linux-ld: ngbe_main.c:(.text+0x330): undefined reference to `phylink_disconnect_phy'
   hppa-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_up':
   ngbe_main.c:(.text+0x874): undefined reference to `phylink_start'
   hppa-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_open':
   ngbe_main.c:(.text+0xae0): undefined reference to `phylink_connect_phy'
   hppa-linux-ld: ngbe_main.c:(.text+0xb20): undefined reference to `phylink_disconnect_phy'
   hppa-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_probe':
   ngbe_main.c:(.text+0x11c0): undefined reference to `phylink_destroy'
   hppa-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_nway_reset':
   drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:193:(.text+0x2cc): undefined reference to `phylink_ethtool_nway_reset'
   hppa-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_get_link_ksettings':
   drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:202:(.text+0x2f0): undefined reference to `phylink_ethtool_ksettings_get'
   hppa-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_set_link_ksettings':
   drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:211:(.text+0x318): undefined reference to `phylink_ethtool_ksettings_set'
   hppa-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_get_pauseparam':
>> drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:220:(.text+0x340): undefined reference to `phylink_ethtool_get_pauseparam'
   hppa-linux-ld: drivers/net/ethernet/wangxun/libwx/wx_ethtool.o: in function `wx_set_pauseparam':
>> drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:229:(.text+0x368): undefined reference to `phylink_ethtool_set_pauseparam'
   hppa-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.o: in function `ngbe_mdio_init':
   drivers/net/ethernet/wangxun/ngbe/ngbe_mdio.c:130:(.text+0x38c): undefined reference to `phylink_create'


vim +220 drivers/net/ethernet/wangxun/libwx/wx_ethtool.c

   214	
   215	void wx_get_pauseparam(struct net_device *netdev,
   216			       struct ethtool_pauseparam *pause)
   217	{
   218		struct wx *wx = netdev_priv(netdev);
   219	
 > 220		phylink_ethtool_get_pauseparam(wx->phylink, pause);
   221	}
   222	EXPORT_SYMBOL(wx_get_pauseparam);
   223	
   224	int wx_set_pauseparam(struct net_device *netdev,
   225			      struct ethtool_pauseparam *pause)
   226	{
   227		struct wx *wx = netdev_priv(netdev);
   228	
 > 229		return phylink_ethtool_set_pauseparam(wx->phylink, pause);

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




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux