tcp.c:undefined reference to `nvme_tls_psk_default'

From: kernel test robot
Date: Tue Nov 14 2023 - 03:02:24 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 9bacdd8996c77c42ca004440be610692275ff9d0
commit: 6affe08aea5f3b630565676e227b41d55a6f009c nvme: common: make keyring and auth separate modules
date: 6 days ago
config: csky-randconfig-002-20231114 (https://download.01.org/0day-ci/archive/20231114/202311140426.0eHrTXBr-lkp@xxxxxxxxx/config)
compiler: csky-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231114/202311140426.0eHrTXBr-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 <yujie.liu@xxxxxxxxx>
| Closes: https://lore.kernel.org/r/202311140426.0eHrTXBr-lkp@xxxxxxxxx/

All errors (new ones prefixed by >>):

csky-linux-ld: drivers/nvme/host/core.o: in function `nvme_core_init':
core.c:(.init.text+0xa0): undefined reference to `nvme_keyring_init'
csky-linux-ld: core.c:(.init.text+0x130): undefined reference to `nvme_keyring_init'
csky-linux-ld: drivers/nvme/host/tcp.o: in function `nvme_tcp_configure_admin_queue':
>> tcp.c:(.text+0x2f8a): undefined reference to `nvme_tls_psk_default'
>> csky-linux-ld: tcp.c:(.text+0x3088): undefined reference to `nvme_tls_psk_default'

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