lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202401150644.ZJlVhPCe-lkp@intel.com>
Date: Mon, 15 Jan 2024 06:25:32 +0800
From: kernel test robot <lkp@...el.com>
To: Jiawen Wu <jiawenwu@...stnetic.com>
Cc: oe-kbuild-all@...ts.linux.dev, linux-kernel@...r.kernel.org
Subject: drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:433:undefined
 reference to `phylink_disconnect_phy'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   052d534373b7ed33712a63d5e17b2b6cdbce84fd
commit: 883b5984a5d2900468af5ab979cae90547a78da4 net: wangxun: add ethtool_ops for ring parameters
date:   11 days ago
config: s390-randconfig-r032-20230101 (https://download.01.org/0day-ci/archive/20240115/202401150644.ZJlVhPCe-lkp@intel.com/config)
compiler: s390-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240115/202401150644.ZJlVhPCe-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@...el.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202401150644.ZJlVhPCe-lkp@intel.com/

All errors (new ones prefixed by >>):

   s390-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+0x76e): undefined reference to `phylink_ethtool_nway_reset'
   s390-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+0x7b6): undefined reference to `phylink_ethtool_ksettings_get'
   s390-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+0x7fe): undefined reference to `phylink_ethtool_ksettings_set'
   s390-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+0x846): undefined reference to `phylink_ethtool_get_pauseparam'
   s390-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+0x88e): undefined reference to `phylink_ethtool_set_pauseparam'
   s390-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_remove':
   drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:714:(.text+0x432): undefined reference to `phylink_destroy'
   s390-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_probe':
   drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:684:(.text+0xd04): undefined reference to `phylink_destroy'
   s390-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_down':
   drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:339:(.text+0xe18): undefined reference to `phylink_stop'
   s390-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_close':
>> drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:433:(.text+0x1090): undefined reference to `phylink_disconnect_phy'
   s390-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_up':
   drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:362:(.text+0x1368): undefined reference to `phylink_start'
   s390-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.o: in function `ngbe_open':
   drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:391:(.text+0x14e2): undefined reference to `phylink_connect_phy'
   s390-linux-ld: drivers/net/ethernet/wangxun/ngbe/ngbe_main.c:407:(.text+0x16ce): undefined reference to `phylink_disconnect_phy'
   s390-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+0x5e2): undefined reference to `phylink_create'


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

02338c484ab625 Mengyuan Lou 2022-10-31  414  
02338c484ab625 Mengyuan Lou 2022-10-31  415  /**
02338c484ab625 Mengyuan Lou 2022-10-31  416   * ngbe_close - Disables a network interface
02338c484ab625 Mengyuan Lou 2022-10-31  417   * @netdev: network interface device structure
02338c484ab625 Mengyuan Lou 2022-10-31  418   *
02338c484ab625 Mengyuan Lou 2022-10-31  419   * Returns 0, this is not allowed to fail
02338c484ab625 Mengyuan Lou 2022-10-31  420   *
02338c484ab625 Mengyuan Lou 2022-10-31  421   * The close entry point is called when an interface is de-activated
02338c484ab625 Mengyuan Lou 2022-10-31  422   * by the OS.  The hardware is still under the drivers control, but
02338c484ab625 Mengyuan Lou 2022-10-31  423   * needs to be disabled.  A global MAC reset is issued to stop the
02338c484ab625 Mengyuan Lou 2022-10-31  424   * hardware, and all transmit and receive resources are freed.
02338c484ab625 Mengyuan Lou 2022-10-31  425   **/
02338c484ab625 Mengyuan Lou 2022-10-31  426  static int ngbe_close(struct net_device *netdev)
02338c484ab625 Mengyuan Lou 2022-10-31  427  {
803df55d32eafb Mengyuan Lou 2023-01-06  428  	struct wx *wx = netdev_priv(netdev);
02338c484ab625 Mengyuan Lou 2022-10-31  429  
803df55d32eafb Mengyuan Lou 2023-01-06  430  	ngbe_down(wx);
e7956139a6cf9a Mengyuan Lou 2023-02-03  431  	wx_free_irq(wx);
b97f955ec47b49 Mengyuan Lou 2023-02-03  432  	wx_free_resources(wx);
bc2426d74aa35c Jiawen Wu    2024-01-03 @433  	phylink_disconnect_phy(wx->phylink);
803df55d32eafb Mengyuan Lou 2023-01-06  434  	wx_control_hw(wx, false);
02338c484ab625 Mengyuan Lou 2022-10-31  435  
02338c484ab625 Mengyuan Lou 2022-10-31  436  	return 0;
02338c484ab625 Mengyuan Lou 2022-10-31  437  }
02338c484ab625 Mengyuan Lou 2022-10-31  438  

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

:::::: TO: Jiawen Wu <jiawenwu@...stnetic.com>
:::::: CC: David S. Miller <davem@...emloft.net>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ