linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [linux-next:master 12033/13011] drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:193:undefined reference to `phylink_ethtool_nway_reset'
@ 2024-01-10  6:09 kernel test robot
  2024-01-10 10:04 ` Russell King (Oracle)
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2024-01-10  6:09 UTC (permalink / raw)
  To: Jiawen Wu
  Cc: oe-kbuild-all, Linux Memory Management List, Russell King (Oracle)

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@intel.com/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@intel.com/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@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401101414.8GvBGMXw-lkp@intel.com/

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-01-10 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-10  6:09 [linux-next:master 12033/13011] drivers/net/ethernet/wangxun/libwx/wx_ethtool.c:193:undefined reference to `phylink_ethtool_nway_reset' kernel test robot
2024-01-10 10:04 ` Russell King (Oracle)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox