[linux-next:master 11934/13245] drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:362:undefined reference to `phylink_start'

[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: 883b5984a5d2900468af5ab979cae90547a78da4 [11934/13245] net: wangxun: add ethtool_ops for ring parameters
config: arm64-randconfig-r003-20221211 (https://download.01.org/0day-ci/archive/20240111/202401111304.AdUdD7sV-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240111/202401111304.AdUdD7sV-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/202401111304.AdUdD7sV-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

   aarch64-linux-ld: Unexpected GOT/PLT entries detected!
   aarch64-linux-ld: Unexpected run-time procedure linkages detected!
   aarch64-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+0x5e0): undefined reference to `phylink_ethtool_nway_reset'
   aarch64-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+0x620): undefined reference to `phylink_ethtool_ksettings_get'
   aarch64-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+0x660): undefined reference to `phylink_ethtool_ksettings_set'
   aarch64-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+0x6a0): undefined reference to `phylink_ethtool_get_pauseparam'
   aarch64-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+0x6e0): undefined reference to `phylink_ethtool_set_pauseparam'
   aarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_remove':
   drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:714:(.text+0x2b4): undefined reference to `phylink_destroy'
   aarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_close':
   drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:339:(.text+0x36c): undefined reference to `phylink_stop'
   aarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:433:(.text+0x39c): undefined reference to `phylink_disconnect_phy'
   aarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_probe':
   drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:684:(.text+0xe5c): undefined reference to `phylink_destroy'
   aarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_down':
   drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:339:(.text+0xf68): undefined reference to `phylink_stop'
   aarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_up':
>> drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:362:(.text+0x10d0): undefined reference to `phylink_start'
   aarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_open':
   drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:391:(.text+0x1258): undefined reference to `phylink_connect_phy'
   aarch64-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:407:(.text+0x1330): undefined reference to `phylink_disconnect_phy'
   aarch64-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+0x534): undefined reference to `phylink_create'


vim +362 drivers/net/ethernet/wangxun/ngbe/ngbe_main.c

a1cf597b99a727 Mengyuan Lou 2023-01-11  344  
883b5984a5d290 Jiawen Wu    2024-01-03  345  void ngbe_up(struct wx *wx)
a1cf597b99a727 Mengyuan Lou 2023-01-11  346  {
e7956139a6cf9a Mengyuan Lou 2023-02-03  347  	wx_configure_vectors(wx);
e7956139a6cf9a Mengyuan Lou 2023-02-03  348  
b97f955ec47b49 Mengyuan Lou 2023-02-03  349  	/* make sure to complete pre-operations */
b97f955ec47b49 Mengyuan Lou 2023-02-03  350  	smp_mb__before_atomic();
b97f955ec47b49 Mengyuan Lou 2023-02-03  351  	wx_napi_enable_all(wx);
b97f955ec47b49 Mengyuan Lou 2023-02-03  352  	/* enable transmits */
b97f955ec47b49 Mengyuan Lou 2023-02-03  353  	netif_tx_start_all_queues(wx->netdev);
b97f955ec47b49 Mengyuan Lou 2023-02-03  354  
e7956139a6cf9a Mengyuan Lou 2023-02-03  355  	/* clear any pending interrupts, may auto mask */
59513714f66594 Jiawen Wu    2023-03-22  356  	rd32(wx, WX_PX_IC(0));
e7956139a6cf9a Mengyuan Lou 2023-02-03  357  	rd32(wx, WX_PX_MISC_IC);
e7956139a6cf9a Mengyuan Lou 2023-02-03  358  	ngbe_irq_enable(wx, true);
a1cf597b99a727 Mengyuan Lou 2023-01-11  359  	if (wx->gpio_ctrl)
a1cf597b99a727 Mengyuan Lou 2023-01-11  360  		ngbe_sfp_modules_txrx_powerctl(wx, true);
e7956139a6cf9a Mengyuan Lou 2023-02-03  361  
bc2426d74aa35c Jiawen Wu    2024-01-03 @362  	phylink_start(wx->phylink);
a1cf597b99a727 Mengyuan Lou 2023-01-11  363  }
02338c484ab625 Mengyuan Lou 2022-10-31  364  

:::::: The code at line 362 was first introduced by commit
:::::: bc2426d74aa35cd8ec9c97a253ef57c2c5cd730c net: ngbe: convert phylib to phylink

:::::: TO: Jiawen Wu <jiawenwu@xxxxxxxxxxxxxx>
:::::: CC: David S. Miller <davem@xxxxxxxxxxxxx>

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