[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202105050636.UXXDl7m2-lkp@intel.com>
Date: Wed, 5 May 2021 06:01:37 +0800
From: kernel test robot <lkp@...el.com>
To: Shannon Nelson <snelson@...sando.io>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: drivers/net/ethernet/pensando/ionic/ionic_lif.c:2996: undefined
reference to `ionic_lif_hwstamp_replay'
Hi Shannon,
FYI, the error/warning still remains.
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: e4adffb8daf476a01e7b4a55f586dc8c26e81392
commit: 829600ce5e4e985a8a49c445c5e5c72ca613ce41 ionic: add ts_config replay
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=829600ce5e4e985a8a49c445c5e5c72ca613ce41
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 829600ce5e4e985a8a49c445c5e5c72ca613ce41
# 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@...el.com>
All errors (new ones prefixed by >>):
ld: drivers/net/ethernet/pensando/ionic/ionic_lif.o: in function `ionic_do_ioctl':
drivers/net/ethernet/pensando/ionic/ionic_lif.c:2273: undefined reference to `ionic_lif_hwstamp_set'
ld: drivers/net/ethernet/pensando/ionic/ionic_lif.c:2275: undefined reference to `ionic_lif_hwstamp_get'
ld: drivers/net/ethernet/pensando/ionic/ionic_lif.o: in function `ionic_lif_free':
drivers/net/ethernet/pensando/ionic/ionic_lif.c:3014: 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:2996: undefined reference to `ionic_lif_hwstamp_replay'
ld: drivers/net/ethernet/pensando/ionic/ionic_lif.o: in function `ionic_lif_register':
drivers/net/ethernet/pensando/ionic/ionic_lif.c:3352: undefined reference to `ionic_lif_register_phc'
ld: drivers/net/ethernet/pensando/ionic/ionic_lif.c:3366: undefined reference to `ionic_lif_unregister_phc'
ld: drivers/net/ethernet/pensando/ionic/ionic_lif.o: in function `ionic_lif_unregister':
drivers/net/ethernet/pensando/ionic/ionic_lif.c:3388: undefined reference to `ionic_lif_unregister_phc'
ld: drivers/net/ethernet/pensando/ionic/ionic_lif.o: in function `ionic_lif_alloc':
drivers/net/ethernet/pensando/ionic/ionic_lif.c:2889: 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 +2996 drivers/net/ethernet/pensando/ionic/ionic_lif.c
2946
2947 static void ionic_lif_handle_fw_up(struct ionic_lif *lif)
2948 {
2949 struct ionic *ionic = lif->ionic;
2950 int err;
2951
2952 if (!test_bit(IONIC_LIF_F_FW_RESET, lif->state))
2953 return;
2954
2955 dev_info(ionic->dev, "FW Up: restarting LIFs\n");
2956
2957 ionic_init_devinfo(ionic);
2958 err = ionic_identify(ionic);
2959 if (err)
2960 goto err_out;
2961 err = ionic_port_identify(ionic);
2962 if (err)
2963 goto err_out;
2964 err = ionic_port_init(ionic);
2965 if (err)
2966 goto err_out;
2967 err = ionic_qcqs_alloc(lif);
2968 if (err)
2969 goto err_out;
2970
2971 err = ionic_lif_init(lif);
2972 if (err)
2973 goto err_qcqs_free;
2974
2975 if (lif->registered)
2976 ionic_lif_set_netdev_info(lif);
2977
2978 ionic_rx_filter_replay(lif);
2979
2980 if (netif_running(lif->netdev)) {
2981 err = ionic_txrx_alloc(lif);
2982 if (err)
2983 goto err_lifs_deinit;
2984
2985 err = ionic_txrx_init(lif);
2986 if (err)
2987 goto err_txrx_free;
2988 }
2989
2990 clear_bit(IONIC_LIF_F_FW_RESET, lif->state);
2991 ionic_link_status_check_request(lif, CAN_SLEEP);
2992 netif_device_attach(lif->netdev);
2993 dev_info(ionic->dev, "FW Up: LIFs restarted\n");
2994
2995 /* restore the hardware timestamping queues */
> 2996 ionic_lif_hwstamp_replay(lif);
2997
2998 return;
2999
3000 err_txrx_free:
3001 ionic_txrx_free(lif);
3002 err_lifs_deinit:
3003 ionic_lif_deinit(lif);
3004 err_qcqs_free:
3005 ionic_qcqs_free(lif);
3006 err_out:
3007 dev_err(ionic->dev, "FW Up: LIFs restart failed - err %d\n", err);
3008 }
3009
---
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" (43932 bytes)
Powered by blists - more mailing lists