[linux-next:master 12033/13011] drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:193:undefined reference to `phylink_ethtool_nway_reset'

[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:   0f067394dd3b2af3263339cf7183bdb6ee0ac1f8
commit: e8e138cf7383cf820419fcbec63992e75a01467b [12033/13011] net: libwx: add phylink to libwx
config: parisc-randconfig-r002-20221104 (https://download.01.org/0day-ci/archive/20240110/202401101414.8GvBGMXw-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/20240110/202401101414.8GvBGMXw-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/202401101414.8GvBGMXw-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   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'


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

   188	
   189	int wx_nway_reset(struct net_device *netdev)
   190	{
   191		struct wx *wx = netdev_priv(netdev);
   192	
 > 193		return phylink_ethtool_nway_reset(wx->phylink);
   194	}
   195	EXPORT_SYMBOL(wx_nway_reset);
   196	
   197	int wx_get_link_ksettings(struct net_device *netdev,
   198				  struct ethtool_link_ksettings *cmd)
   199	{
   200		struct wx *wx = netdev_priv(netdev);
   201	
 > 202		return phylink_ethtool_ksettings_get(wx->phylink, cmd);
   203	}
   204	EXPORT_SYMBOL(wx_get_link_ksettings);
   205	
   206	int wx_set_link_ksettings(struct net_device *netdev,
   207				  const struct ethtool_link_ksettings *cmd)
   208	{
   209		struct wx *wx = netdev_priv(netdev);
   210	
 > 211		return phylink_ethtool_ksettings_set(wx->phylink, cmd);

-- 
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