Subject: [net-next:main 19/25] ld.lld: error: undefined symbol: devm_regulator_register

From: kernel test robot <[email-masked]>
Date: Sat, 20 Apr 2024 00:38:48 +0800

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git main
head:   4cad4efa6eb209cea88175e545020de55fe3c737
commit: d83e13761d5b0568376963729abcccf6de5a43ba [19/25] net: pse-pd: Use regulator framework within PSE framework
config: i386-randconfig-051-20240419 (https://download.01.org/0day-ci/archive/20240420/[email-masked]/config)
compiler: clang version 17.0.6 (https://github.com/llvm/llvm-project 6009708b4367171ccdbf4b5905cb6a803753fe18)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240420/[email-masked]/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 <[email-masked]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email-masked]/

All errors (new ones prefixed by >>):

>> ld.lld: error: undefined symbol: devm_regulator_register
   >>> referenced by pse_core.c:308 (drivers/net/pse-pd/pse_core.c:308)
   >>>               drivers/net/pse-pd/pse_core.o:(pse_controller_register) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: rdev_get_drvdata
   >>> referenced by pse_core.c:212 (drivers/net/pse-pd/pse_core.c:212)
   >>>               drivers/net/pse-pd/pse_core.o:(pse_pi_is_enabled) in archive vmlinux.a
   >>> referenced by pse_core.c:230 (drivers/net/pse-pd/pse_core.c:230)
   >>>               drivers/net/pse-pd/pse_core.o:(pse_pi_enable) in archive vmlinux.a
   >>> referenced by pse_core.c:250 (drivers/net/pse-pd/pse_core.c:250)
   >>>               drivers/net/pse-pd/pse_core.o:(pse_pi_disable) in archive vmlinux.a
--
>> ld.lld: error: undefined symbol: rdev_get_id
   >>> referenced by pse_core.c:220 (drivers/net/pse-pd/pse_core.c:220)
   >>>               drivers/net/pse-pd/pse_core.o:(pse_pi_is_enabled) in archive vmlinux.a
   >>> referenced by pse_core.c:238 (drivers/net/pse-pd/pse_core.c:238)
   >>>               drivers/net/pse-pd/pse_core.o:(pse_pi_enable) in archive vmlinux.a
   >>> referenced by pse_core.c:258 (drivers/net/pse-pd/pse_core.c:258)
   >>>               drivers/net/pse-pd/pse_core.o:(pse_pi_disable) in archive vmlinux.a

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