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: <202108011317.CKzqw7zg-lkp@intel.com>
Date:   Sun, 1 Aug 2021 13:18:24 +0800
From:   kernel test robot <lkp@...el.com>
To:     Jacob Keller <jacob.e.keller@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
        Tony Nguyen <anthony.l.nguyen@...el.com>
Subject: drivers/net/ethernet/intel/ice/ice_main.c:475: undefined reference
 to `ice_ptp_release'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c7d102232649226a69dddd58a4942cf13cff4f7c
commit: 06c16d89d2cbe284c2792caa7648c052c1b91042 ice: register 1588 PTP clock device object for E810 devices
date:   7 weeks ago
config: i386-randconfig-c021-20210731 (attached as .config)
compiler: gcc-10 (Ubuntu 10.3.0-1ubuntu1~20.04) 10.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=06c16d89d2cbe284c2792caa7648c052c1b91042
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 06c16d89d2cbe284c2792caa7648c052c1b91042
        # save the attached .config to linux build tree
        mkdir build_dir
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>

All errors (new ones prefixed by >>):

   ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_prepare_for_reset':
>> drivers/net/ethernet/intel/ice/ice_main.c:475: undefined reference to `ice_ptp_release'
   ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_rebuild':
>> drivers/net/ethernet/intel/ice/ice_main.c:6372: undefined reference to `ice_ptp_init'
   ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_remove':
   drivers/net/ethernet/intel/ice/ice_main.c:4575: undefined reference to `ice_ptp_release'
   ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_probe':
   drivers/net/ethernet/intel/ice/ice_main.c:4406: undefined reference to `ice_ptp_init'
   ld: drivers/usb/class/cdc-wdm.o: in function `wdm_wwan_port_tx':
   drivers/usb/class/cdc-wdm.c:877: undefined reference to `wwan_port_get_drvdata'
   ld: drivers/usb/class/cdc-wdm.c:909: undefined reference to `wwan_port_txoff'
   ld: drivers/usb/class/cdc-wdm.o: in function `wdm_wwan_port_tx_complete':
   drivers/usb/class/cdc-wdm.c:871: undefined reference to `wwan_port_txon'
   ld: drivers/usb/class/cdc-wdm.o: in function `wdm_wwan_rx':
   drivers/usb/class/cdc-wdm.c:961: undefined reference to `wwan_port_rx'
   ld: drivers/usb/class/cdc-wdm.o: in function `wdm_wwan_port_start':
   drivers/usb/class/cdc-wdm.c:830: undefined reference to `wwan_port_get_drvdata'
   ld: drivers/usb/class/cdc-wdm.c:847: undefined reference to `wwan_port_txon'
   ld: drivers/usb/class/cdc-wdm.o: in function `wdm_wwan_port_stop':
   drivers/usb/class/cdc-wdm.c:855: undefined reference to `wwan_port_get_drvdata'
   ld: drivers/usb/class/cdc-wdm.o: in function `wdm_wwan_deinit':
   drivers/usb/class/cdc-wdm.c:946: undefined reference to `wwan_remove_port'
   ld: drivers/usb/class/cdc-wdm.o: in function `wdm_wwan_init':
   drivers/usb/class/cdc-wdm.c:931: undefined reference to `wwan_create_port'


vim +475 drivers/net/ethernet/intel/ice/ice_main.c

   442	
   443	/**
   444	 * ice_prepare_for_reset - prep for the core to reset
   445	 * @pf: board private structure
   446	 *
   447	 * Inform or close all dependent features in prep for reset.
   448	 */
   449	static void
   450	ice_prepare_for_reset(struct ice_pf *pf)
   451	{
   452		struct ice_hw *hw = &pf->hw;
   453		unsigned int i;
   454	
   455		/* already prepared for reset */
   456		if (test_bit(ICE_PREPARED_FOR_RESET, pf->state))
   457			return;
   458	
   459		ice_unplug_aux_dev(pf);
   460	
   461		/* Notify VFs of impending reset */
   462		if (ice_check_sq_alive(hw, &hw->mailboxq))
   463			ice_vc_notify_reset(pf);
   464	
   465		/* Disable VFs until reset is completed */
   466		ice_for_each_vf(pf, i)
   467			ice_set_vf_state_qs_dis(&pf->vf[i]);
   468	
   469		/* clear SW filtering DB */
   470		ice_clear_hw_tbls(hw);
   471		/* disable the VSIs and their queues that are not already DOWN */
   472		ice_pf_dis_all_vsi(pf, false);
   473	
   474		if (test_bit(ICE_FLAG_PTP_SUPPORTED, pf->flags))
 > 475			ice_ptp_release(pf);
   476	
   477		if (hw->port_info)
   478			ice_sched_clear_port(hw->port_info);
   479	
   480		ice_shutdown_all_ctrlq(hw);
   481	
   482		set_bit(ICE_PREPARED_FOR_RESET, pf->state);
   483	}
   484	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (43968 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ