Skip to contentSkip to conversation

loongson-rng.c:undefined reference to `crypto_register_rng'

DISCUSSION kernel test robot 1 participant 1 message May 20

lore
Share & tools
lore

kernel test robot

author build bot
#0 lore raw
tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   27fa82620cbaa89a7fc11ac3057701d598813e87
commit: cdadc14359378c0cf02251c86ffbc606f55bfadd crypto: cryptomgr - Select algorithm types only when CRYPTO_SELFTESTS
date:   7 weeks ago
config: loongarch-randconfig-001-20260520 (https://download.01.org/0day-ci/archive/20260520/[email protected]/config)
compiler: loongarch64-linux-gcc (GCC) 13.4.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260520/[email protected]/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

| Fixes: cdadc1435937 ("crypto: cryptomgr - Select algorithm types only when CRYPTO_SELFTESTS")
| Reported-by: kernel test robot <[email protected]>
| Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/

All errors (new ones prefixed by >>):

loongarch64-linux-ld: drivers/crypto/loongson/loongson-rng.o: in function `.LVL93':

>> loongson-rng.c:(.text+0x408): undefined reference to `crypto_register_rng'

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