LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Jacob Keller <jacob.e.keller@intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Tony Nguyen <anthony.l.nguyen@intel.com>
Subject: drivers/net/ethernet/intel/ice/ice_main.c:475: undefined reference to `ice_ptp_release'
Date: Sun, 1 Aug 2021 13:18:24 +0800	[thread overview]
Message-ID: <202108011317.CKzqw7zg-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 4328 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 43968 bytes --]

                 reply	other threads:[~2021-08-01  5:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202108011317.CKzqw7zg-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=anthony.l.nguyen@intel.com \
    --cc=jacob.e.keller@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: drivers/net/ethernet/intel/ice/ice_main.c:475: undefined reference to `ice_ptp_release'\''' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).