ice_main.c:undefined reference to `ice_ptp_release'

From: kernel test robot
Date: Fri Jul 09 2021 - 02:44:38 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: f55966571d5eb2876a11e48e798b4592fa1ffbb7
commit: 06c16d89d2cbe284c2792caa7648c052c1b91042 ice: register 1588 PTP clock device object for E810 devices
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=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@xxxxxxxxx>

All errors (new ones prefixed by >>):

ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_prepare_for_reset':
>> ice_main.c:(.text+0x104a): undefined reference to `ice_ptp_release'
ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_rebuild':
>> ice_main.c:(.text+0x43a9): undefined reference to `ice_ptp_init'
ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_remove':
ice_main.c:(.text+0x4742): undefined reference to `ice_ptp_release'
ld: drivers/net/ethernet/intel/ice/ice_main.o: in function `ice_probe':
ice_main.c:(.text+0x68db): undefined reference to `ice_ptp_init'

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

Attachment: .config.gz
Description: application/gzip