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

From: kernel test robot
Date: Sat Sep 04 2021 - 17:41:27 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: 8ef8ccbc69677e663925f3e758b077d1ad3cd836 ptp: ocp: Remove pending_image indicator from devlink
date: 4 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=8ef8ccbc69677e663925f3e758b077d1ad3cd836
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout 8ef8ccbc69677e663925f3e758b077d1ad3cd836
# 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: "devlink_register" [drivers/ptp/ptp_ocp.ko] undefined!
ERROR: modpost: "devlink_alloc_ns" [drivers/ptp/ptp_ocp.ko] undefined!
ERROR: modpost: "devlink_free" [drivers/ptp/ptp_ocp.ko] undefined!
ERROR: modpost: "devlink_unregister" [drivers/ptp/ptp_ocp.ko] undefined!
ERROR: modpost: "clk_hw_unregister_fixed_rate" [drivers/ptp/ptp_ocp.ko] undefined!
ERROR: modpost: "devlink_flash_update_status_notify" [drivers/ptp/ptp_ocp.ko] undefined!
ERROR: modpost: "devlink_info_serial_number_put" [drivers/ptp/ptp_ocp.ko] undefined!
ERROR: modpost: "devlink_info_version_running_put" [drivers/ptp/ptp_ocp.ko] undefined!
ERROR: modpost: "devlink_info_driver_name_put" [drivers/ptp/ptp_ocp.ko] undefined!
>> ERROR: modpost: "devm_clk_hw_register_clkdev" [drivers/ptp/ptp_ocp.ko] undefined!
WARNING: modpost: suppressed 1 unresolved symbol warnings because there were too many)

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

Attachment: .config.gz
Description: application/gzip