[ammarfaizi2-block:netdev/net-next/master 34/177] ld.lld: error: undefined symbol: ptp_clock_register

From: kernel test robot
Date: Wed Mar 09 2022 - 06:09:13 EST


tree: https://github.com/ammarfaizi2/linux-block netdev/net-next/master
head: d82a6c5ef9dc0aab296936e1aa4ad28fd5162a55
commit: ece19502834d84ece2e056db28257ca2aa6e4d48 [34/177] net: phy: micrel: 1588 support for LAN8814 phy
config: hexagon-randconfig-r041-20220308 (https://download.01.org/0day-ci/archive/20220309/202203091943.vWYw7yEQ-lkp@xxxxxxxxx/config)
compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e)
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# https://github.com/ammarfaizi2/linux-block/commit/ece19502834d84ece2e056db28257ca2aa6e4d48
git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block
git fetch --no-tags ammarfaizi2-block netdev/net-next/master
git checkout ece19502834d84ece2e056db28257ca2aa6e4d48
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon 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.lld: error: undefined symbol: ptp_clock_register
>>> referenced by micrel.c
>>> net/phy/micrel.o:(lan8814_probe) in archive drivers/built-in.a
>>> referenced by micrel.c
>>> net/phy/micrel.o:(lan8814_probe) in archive drivers/built-in.a
--
>> ld.lld: error: undefined symbol: ptp_clock_index
>>> referenced by micrel.c
>>> net/phy/micrel.o:(lan8814_ts_info) in archive drivers/built-in.a
>>> referenced by micrel.c
>>> net/phy/micrel.o:(lan8814_ts_info) in archive drivers/built-in.a

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