[linux-nvme:nvme-6.7 2/19] s390-linux-ld: configfs.c:undefined reference to `nvme_auth_dhgroup_kpp'

Chaitanya Kulkarni chaitanyak at nvidia.com
Wed Oct 11 19:38:49 PDT 2023


On 10/11/23 16:11, kernel test robot wrote:
> tree:   git://git.infradead.org/nvme.git nvme-6.7
> head:   70525e5d82f62407d8436aa2a6c3385829ab5a3e
> commit: 9d77eb52778499a97cab662aa96de4e2e4fa72d3 [2/19] nvme-keyring: register '.nvme' keyring
> config: s390-randconfig-002-20231012 (https://download.01.org/0day-ci/archive/20231012/202310120733.TlPOVeJm-lkp@intel.com/config)
> compiler: s390-linux-gcc (GCC) 13.2.0
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231012/202310120733.TlPOVeJm-lkp@intel.com/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 at intel.com>
> | Closes: https://lore.kernel.org/oe-kbuild-all/202310120733.TlPOVeJm-lkp@intel.com/
>
> All errors (new ones prefixed by >>):
>
>     s390-linux-ld: drivers/nvme/target/configfs.o: in function `nvmet_host_dhchap_dhgroup_store':
>     configfs.c:(.text+0x24): undefined reference to `nvme_auth_dhgroup_id'
>>> s390-linux-ld: configfs.c:(.text+0x50): undefined reference to `nvme_auth_dhgroup_kpp'
>

most of these functions are defined in the nvme/common/auth.c [1].

and undefined ref means perhaps nvme-common.ko is not loaded since
error is coming from target side ?

also, I wonder why this is not failing on my setup but only on these archs ?

-ck

[1]
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_dhgroup_id);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_dhgroup_name);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_name);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_id);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_name);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_dhgroup_name);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_hash_len);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_hash_len);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_name);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_dhgroup_kpp);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_name);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_free_key);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_extract_key);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_name);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_free_key);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_hmac_name);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_transform_key);
drivers/nvme/common/auth.c:EXPORT_SYMBOL_GPL(nvme_auth_augmented_challenge);



More information about the Linux-nvme mailing list