[hare-scsi-devel:auth.v3 8/10] configfs.c:(.text+0x1da0): multiple definition of `nvmet_dhchap_dhgroup_name'; drivers/nvme/target/core.o:core.c:(.text+0x1960): first defined here

From: kernel test robot
Date: Tue Jul 13 2021 - 08:51:11 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git auth.v3
head: d97ec39ab2f0d7ac25633899e058eb3c1617b370
commit: 9b5b24cce3711c7bd8174880b26431cd12695ba6 [8/10] nvmet: Implement basic In-Band Authentication
config: i386-randconfig-m021-20210713 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git/commit/?id=9b5b24cce3711c7bd8174880b26431cd12695ba6
git remote add hare-scsi-devel https://git.kernel.org/pub/scm/linux/kernel/git/hare/scsi-devel.git
git fetch --no-tags hare-scsi-devel auth.v3
git checkout 9b5b24cce3711c7bd8174880b26431cd12695ba6
# save the attached .config to linux build tree
mkdir build_dir
make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All errors (new ones prefixed by >>):

ld: drivers/nvme/target/configfs.o: in function `nvmet_dhchap_dhgroup_name':
>> configfs.c:(.text+0x1da0): multiple definition of `nvmet_dhchap_dhgroup_name'; drivers/nvme/target/core.o:core.c:(.text+0x1960): first defined here
ld: drivers/nvme/target/admin-cmd.o: in function `nvmet_dhchap_dhgroup_name':
admin-cmd.c:(.text+0x1490): multiple definition of `nvmet_dhchap_dhgroup_name'; drivers/nvme/target/core.o:core.c:(.text+0x1960): first defined here
ld: drivers/nvme/target/fabrics-cmd.o: in function `nvmet_dhchap_dhgroup_name':
fabrics-cmd.c:(.text+0x480): multiple definition of `nvmet_dhchap_dhgroup_name'; drivers/nvme/target/core.o:core.c:(.text+0x1960): first defined here
ld: drivers/nvme/target/discovery.o: in function `nvmet_dhchap_dhgroup_name':
discovery.c:(.text+0xa90): multiple definition of `nvmet_dhchap_dhgroup_name'; drivers/nvme/target/core.o:core.c:(.text+0x1960): first defined here
ld: drivers/nvme/target/io-cmd-file.o: in function `nvmet_dhchap_dhgroup_name':
io-cmd-file.c:(.text+0x950): multiple definition of `nvmet_dhchap_dhgroup_name'; drivers/nvme/target/core.o:core.c:(.text+0x1960): first defined here
ld: drivers/nvme/target/io-cmd-bdev.o: in function `nvmet_dhchap_dhgroup_name':
io-cmd-bdev.c:(.text+0x860): multiple definition of `nvmet_dhchap_dhgroup_name'; drivers/nvme/target/core.o:core.c:(.text+0x1960): first defined here
ld: drivers/nvme/target/zns.o: in function `nvmet_dhchap_dhgroup_name':
zns.c:(.text+0xe60): multiple definition of `nvmet_dhchap_dhgroup_name'; drivers/nvme/target/core.o:core.c:(.text+0x1960): first defined here
ld: drivers/nvme/target/trace.o: in function `nvmet_dhchap_dhgroup_name':
trace.c:(.text+0x0): multiple definition of `nvmet_dhchap_dhgroup_name'; drivers/nvme/target/core.o:core.c:(.text+0x1960): first defined here

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip