tree:
git://git.infradead.org/nvme.git nvme-5.8
head: 553d88b29099fdbc11a0a909995003d15a31a458
commit: 02a419071352a5c9a2b24067b3c4f5674025ddb9 [26/33] nvmet: add metadata
characteristics for a namespace
config: i386-randconfig-r001-20200520 (attached as .config)
compiler: gcc-6 (Debian 6.3.0-18+deb9u1) 6.3.0 20170516
reproduce:
git checkout 02a419071352a5c9a2b24067b3c4f5674025ddb9
# save the attached .config to linux build tree
make ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
ld: drivers/nvme/target/io-cmd-bdev.o: in function `nvmet_bdev_ns_enable_integrity':
> drivers/nvme/target/io-cmd-bdev.c:56: undefined reference to
`t10_pi_type1_crc'
> ld: drivers/nvme/target/io-cmd-bdev.c:58: undefined reference to
`t10_pi_type3_crc'
vim +56 drivers/nvme/target/io-cmd-bdev.c
49
50 static void nvmet_bdev_ns_enable_integrity(struct nvmet_ns *ns)
51 {
52 struct blk_integrity *bi = bdev_get_integrity(ns->bdev);
53
54 if (bi) {
55 ns->metadata_size = bi->tuple_size;
56 if (bi->profile == &t10_pi_type1_crc)
57 ns->pi_type = NVME_NS_DPS_PI_TYPE1;
58 else if (bi->profile == &t10_pi_type3_crc)
59 ns->pi_type = NVME_NS_DPS_PI_TYPE3;
60 else
61 /* Unsupported metadata type */
62 ns->metadata_size = 0;
63 }
64 }
65
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org