icss_iep.c:undefined reference to `ptp_clock_index'

From: kernel test robot
Date: Fri Sep 15 2023 - 00:38:38 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9fdfb15a3dbf818e06be514f4abbfc071004cbe7
commit: c1e0230eeaab26984f6e5c5575486e96a63e2e48 net: ti: icss-iep: Add IEP driver
date: 3 weeks ago
config: arm64-randconfig-r012-20230514 (https://download.01.org/0day-ci/archive/20230915/202309151207.NPDMiINe-lkp@xxxxxxxxx/config)
compiler: aarch64-linux-gcc (GCC) 11.3.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20230915/202309151207.NPDMiINe-lkp@xxxxxxxxx/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202309151207.NPDMiINe-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

aarch64-linux-ld: Unexpected GOT/PLT entries detected!
aarch64-linux-ld: Unexpected run-time procedure linkages detected!
aarch64-linux-ld: aarch64-linux-ld: DWARF error: could not find abbrev number 7
drivers/net/ethernet/ti/icssg/icss_iep.o: in function `icss_iep_get_ptp_clock_idx':
>> icss_iep.c:(.text+0x234): undefined reference to `ptp_clock_index'
aarch64-linux-ld: drivers/net/ethernet/ti/icssg/icss_iep.o: in function `icss_iep_exit':
>> icss_iep.c:(.text+0x5b4): undefined reference to `ptp_clock_unregister'
aarch64-linux-ld: drivers/net/ethernet/ti/icssg/icss_iep.o: in function `icss_iep_init':
>> icss_iep.c:(.text+0x14f0): undefined reference to `ptp_clock_register'

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki