ERROR: modpost: "__clk_hw_register_fixed_rate" [drivers/ptp/ptp_ocp.ko] undefined!

From: kernel test robot
Date: Sat Sep 04 2021 - 22:54:51 EST


Hi Jonathan,

First bad commit (maybe != root cause):

tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 49624efa65ac9889f4e7c7b2452b2e6ce42ba37d
commit: d79500e66a52103be31e62389cdd7ef345e4fe47 ptp: ocp: Have Kconfig select NET_DEVLINK
date: 3 weeks ago
config: parisc-randconfig-r011-20210904 (attached as .config)
compiler: hppa-linux-gcc (GCC) 11.2.0
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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d79500e66a52103be31e62389cdd7ef345e4fe47
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout d79500e66a52103be31e62389cdd7ef345e4fe47
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=parisc

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>, old ones prefixed by <<):

ERROR: modpost: "clk_hw_unregister_fixed_rate" [drivers/ptp/ptp_ocp.ko] undefined!
ERROR: modpost: "devm_clk_hw_register_clkdev" [drivers/ptp/ptp_ocp.ko] undefined!
>> ERROR: modpost: "__clk_hw_register_fixed_rate" [drivers/ptp/ptp_ocp.ko] undefined!

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

Attachment: .config.gz
Description: application/gzip