ld.lld: error: undefined symbol: devm_hwrng_register
From: kernel test robot
Date: Tue Aug 20 2024 - 05:36:55 EST
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 6e4436539ae182dc86d57d13849862bcafaa4709
commit: 74a22fced5a012c57f56d1cf7ea926cc366a2a3a platform: cznic: turris-omnia-mcu: Make poweroff and wakeup code optional
date: 13 days ago
config: hexagon-randconfig-r054-20240820 (https://download.01.org/0day-ci/archive/20240820/202408201716.knXsXPX7-lkp@xxxxxxxxx/config)
compiler: clang version 20.0.0git (https://github.com/llvm/llvm-project 26670e7fa4f032a019d23d56c6a02926e854e8af)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240820/202408201716.knXsXPX7-lkp@xxxxxxxxx/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 <lkp@xxxxxxxxx>
| Closes: https://lore.kernel.org/oe-kbuild-all/202408201716.knXsXPX7-lkp@xxxxxxxxx/
All errors (new ones prefixed by >>):
>> ld.lld: error: undefined symbol: devm_hwrng_register
>>> referenced by turris-omnia-mcu-trng.c:95 (drivers/platform/cznic/turris-omnia-mcu-trng.c:95)
>>> drivers/platform/cznic/turris-omnia-mcu-trng.o:(omnia_mcu_register_trng) in archive vmlinux.a
>>> referenced by turris-omnia-mcu-trng.c:95 (drivers/platform/cznic/turris-omnia-mcu-trng.c:95)
>>> drivers/platform/cznic/turris-omnia-mcu-trng.o:(omnia_mcu_register_trng) in archive vmlinux.a
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki