linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Shannon Nelson <snelson@pensando.io>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Allen Hubbe <allenbh@pensando.io>
Subject: drivers/net/ethernet/pensando/ionic/ionic_lif.c:2973: undefined reference to `ionic_lif_hwstamp_set'
Date: Tue, 4 May 2021 16:20:35 +0800	[thread overview]
Message-ID: <202105041634.paURyDp0-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   5e321ded302da4d8c5d5dd953423d9b748ab3775
commit: a8771bfe05549f3068532c60e3682441ff8159fd ionic: add and enable tx and rx timestamp handling
date:   4 weeks ago
config: x86_64-randconfig-a016-20210504 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a8771bfe05549f3068532c60e3682441ff8159fd
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout a8771bfe05549f3068532c60e3682441ff8159fd
        # save the attached .config to linux build tree
        make W=1 W=1 ARCH=x86_64 

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/pensando/ionic/ionic_lif.o: in function `ionic_lif_free':
   drivers/net/ethernet/pensando/ionic/ionic_lif.c:2996: undefined reference to `ionic_lif_free_phc'
   ld: drivers/net/ethernet/pensando/ionic/ionic_lif.o: in function `ionic_lif_handle_fw_up':
>> drivers/net/ethernet/pensando/ionic/ionic_lif.c:2973: undefined reference to `ionic_lif_hwstamp_set'
   ld: drivers/net/ethernet/pensando/ionic/ionic_lif.o: in function `ionic_lif_alloc':
   drivers/net/ethernet/pensando/ionic/ionic_lif.c:2871: undefined reference to `ionic_lif_alloc_phc'
   ld: drivers/net/ethernet/pensando/ionic/ionic_txrx.o: in function `ionic_rx_clean':
>> drivers/net/ethernet/pensando/ionic/ionic_txrx.c:312: undefined reference to `ionic_lif_phc_ktime'
   ld: drivers/net/ethernet/pensando/ionic/ionic_txrx.o: in function `ionic_tx_clean':
   drivers/net/ethernet/pensando/ionic/ionic_txrx.c:721: undefined reference to `ionic_lif_phc_ktime'


vim +2973 drivers/net/ethernet/pensando/ionic/ionic_lif.c

  2928	
  2929	static void ionic_lif_handle_fw_up(struct ionic_lif *lif)
  2930	{
  2931		struct ionic *ionic = lif->ionic;
  2932		int err;
  2933	
  2934		if (!test_bit(IONIC_LIF_F_FW_RESET, lif->state))
  2935			return;
  2936	
  2937		dev_info(ionic->dev, "FW Up: restarting LIFs\n");
  2938	
  2939		ionic_init_devinfo(ionic);
  2940		err = ionic_identify(ionic);
  2941		if (err)
  2942			goto err_out;
  2943		err = ionic_port_identify(ionic);
  2944		if (err)
  2945			goto err_out;
  2946		err = ionic_port_init(ionic);
  2947		if (err)
  2948			goto err_out;
  2949		err = ionic_qcqs_alloc(lif);
  2950		if (err)
  2951			goto err_out;
  2952	
  2953		err = ionic_lif_init(lif);
  2954		if (err)
  2955			goto err_qcqs_free;
  2956	
  2957		if (lif->registered)
  2958			ionic_lif_set_netdev_info(lif);
  2959	
  2960		ionic_rx_filter_replay(lif);
  2961	
  2962		if (netif_running(lif->netdev)) {
  2963			err = ionic_txrx_alloc(lif);
  2964			if (err)
  2965				goto err_lifs_deinit;
  2966	
  2967			err = ionic_txrx_init(lif);
  2968			if (err)
  2969				goto err_txrx_free;
  2970		}
  2971	
  2972		/* restore the hardware timestamping queues */
> 2973		ionic_lif_hwstamp_set(lif, NULL);
  2974	
  2975		clear_bit(IONIC_LIF_F_FW_RESET, lif->state);
  2976		ionic_link_status_check_request(lif, CAN_SLEEP);
  2977		netif_device_attach(lif->netdev);
  2978		dev_info(ionic->dev, "FW Up: LIFs restarted\n");
  2979	
  2980		return;
  2981	
  2982	err_txrx_free:
  2983		ionic_txrx_free(lif);
  2984	err_lifs_deinit:
  2985		ionic_lif_deinit(lif);
  2986	err_qcqs_free:
  2987		ionic_qcqs_free(lif);
  2988	err_out:
  2989		dev_err(ionic->dev, "FW Up: LIFs restart failed - err %d\n", err);
  2990	}
  2991	

---
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: 43932 bytes --]

                 reply	other threads:[~2021-05-04  8:21 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=202105041634.paURyDp0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=allenbh@pensando.io \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=snelson@pensando.io \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).