ice_main.c:undefined reference to `ice_ptp_get_ts_config'
From: kernel test robot
Date: Fri Jul 09 2021 - 10:37:57 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f55966571d5eb2876a11e48e798b4592fa1ffbb7
commit: 77a781155a659053f3b7e81a0ab115d27ff151cd ice: enable receive hardware timestamping
date: 4 weeks ago
config: i386-randconfig-a015-20210709 (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=77a781155a659053f3b7e81a0ab115d27ff151cd
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 77a781155a659053f3b7e81a0ab115d27ff151cd
# 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@xxxxxxxxx>
All errors (new ones prefixed by >>):
ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_do_ioctl':
>> ice_main.c:(.text+0x6b3): undefined reference to `ice_ptp_get_ts_config'
>> ld: ice_main.c:(.text+0x6bc): undefined reference to `ice_ptp_set_ts_config'
ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_prepare_for_reset':
ice_main.c:(.text+0x107f): undefined reference to `ice_ptp_release'
ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_rebuild':
ice_main.c:(.text+0x43de): undefined reference to `ice_ptp_init'
ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_remove':
ice_main.c:(.text+0x4777): undefined reference to `ice_ptp_release'
ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_probe':
ice_main.c:(.text+0x6910): undefined reference to `ice_ptp_init'
ld: drivers/net/ethernet/intel/ice/ice_txrx_lib.o: in function `ice_process_skb_fields':
>> ice_txrx_lib.c:(.text+0x158): undefined reference to `ice_ptp_rx_hwtstamp'
ld: drivers/net/ethernet/intel/ice/ice_ethtool.o: in function `ice_get_ts_info':
ice_ethtool.c:(.text+0xc2d): undefined reference to `ice_get_ptp_clock_index'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip