[alaahl:netdev-next 770/783] ERROR: modpost: "devm_clk_hw_register_clkdev" [drivers/ptp/ptp_ocp.ko] undefined!

From: kernel test robot
Date: Sat Aug 07 2021 - 07:09:56 EST


Hi Jonathan,

First bad commit (maybe != root cause):

tree: https://github.com/alaahl/linux.git netdev-next
head: 35ba6abb73e4d2ba21a566d3671618f4a5503c27
commit: 37a156ba4cbb44037355087ade03268435a77225 [770/783] ptp: ocp: Remove devlink health and unused parameters.
config: ia64-randconfig-r025-20210804 (attached as .config)
compiler: ia64-linux-gcc (GCC) 10.3.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://github.com/alaahl/linux/commit/37a156ba4cbb44037355087ade03268435a77225
git remote add alaahl https://github.com/alaahl/linux.git
git fetch --no-tags alaahl netdev-next
git checkout 37a156ba4cbb44037355087ade03268435a77225
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=ia64

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: "devm_clk_hw_register_clkdev" [drivers/ptp/ptp_ocp.ko] undefined!
>> ERROR: modpost: "__clk_hw_register_fixed_rate" [drivers/ptp/ptp_ocp.ko] undefined!
ERROR: modpost: "devlink_info_version_stored_put" [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!
WARNING: modpost: suppressed 2 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