[linux-nvme:nvme-5.18 6/6] ioctl.c:(.text+0xc2c): multiple definition of `nvme_mpath_update'; drivers/nvme/host/core.o:(.text+0x7a1c): first defined here
kernel test robot
lkp at intel.com
Wed Mar 23 16:28:55 PDT 2022
tree: git://git.infradead.org/nvme.git nvme-5.18
head: d50c992edf10b95d2034097405c94fecfbe1ef7f
commit: d50c992edf10b95d2034097405c94fecfbe1ef7f [6/6] nvme-multipath: fix hang when disk goes live over reconnect
config: nios2-randconfig-r005-20220323 (https://download.01.org/0day-ci/archive/20220324/202203240704.Udc8etzD-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add linux-nvme git://git.infradead.org/nvme.git
git fetch --no-tags linux-nvme nvme-5.18
git checkout d50c992edf10b95d2034097405c94fecfbe1ef7f
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=nios2 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>
All error/warnings (new ones prefixed by >>):
In file included from drivers/nvme/host/core.c:25:
>> drivers/nvme/host/nvme.h:856:6: warning: no previous prototype for 'nvme_mpath_update' [-Wmissing-prototypes]
856 | void nvme_mpath_update(struct nvme_ctrl *ctrl)
| ^~~~~~~~~~~~~~~~~
--
nios2-linux-ld: drivers/nvme/host/ioctl.o: in function `nvme_mpath_update':
>> ioctl.c:(.text+0xc2c): multiple definition of `nvme_mpath_update'; drivers/nvme/host/core.o:(.text+0x7a1c): first defined here
nios2-linux-ld: drivers/nvme/host/constants.o: in function `nvme_mpath_update':
constants.c:(.text+0x0): multiple definition of `nvme_mpath_update'; drivers/nvme/host/core.o:(.text+0x7a1c): first defined here
nios2-linux-ld: drivers/nvme/host/hwmon.o: in function `nvme_mpath_update':
hwmon.c:(.text+0x3f8): multiple definition of `nvme_mpath_update'; drivers/nvme/host/core.o:(.text+0x7a1c): first defined here
--
In file included from drivers/nvme/target/loop.c:13:
>> drivers/nvme/target/../host/nvme.h:856:6: warning: no previous prototype for 'nvme_mpath_update' [-Wmissing-prototypes]
856 | void nvme_mpath_update(struct nvme_ctrl *ctrl)
| ^~~~~~~~~~~~~~~~~
--
0-DAY CI Kernel Test Service
https://01.org/lkp
More information about the Linux-nvme
mailing list