[luxis1999-iommufd:iommufd-v5.17-rc4 25/31] vfio.c:undefined reference to `vfio_group_unset_iommufd'

From: kernel test robot
Date: Sat Mar 12 2022 - 15:25:45 EST


tree: https://github.com/luxis1999/iommufd iommufd-v5.17-rc4
head: d0e769d6ae11d7abe38d2f0598926ba499bf3ec1
commit: 32bd602a155904c029c1514c6d0bb2aa2fd863c5 [25/31] vfio: Add iommufd VFIO compat support to group_fd
config: arc-randconfig-r043-20220313 (https://download.01.org/0day-ci/archive/20220313/202203130417.G9Mdfrna-lkp@xxxxxxxxx/config)
compiler: arc-elf-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
# https://github.com/luxis1999/iommufd/commit/32bd602a155904c029c1514c6d0bb2aa2fd863c5
git remote add luxis1999-iommufd https://github.com/luxis1999/iommufd
git fetch --no-tags luxis1999-iommufd iommufd-v5.17-rc4
git checkout 32bd602a155904c029c1514c6d0bb2aa2fd863c5
# 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=arc 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 >>):

arc-elf-ld: drivers/vfio/vfio.o: in function `__vfio_group_unset_container':
>> vfio.c:(.text+0x8d8): undefined reference to `vfio_group_unset_iommufd'
>> arc-elf-ld: vfio.c:(.text+0x8d8): undefined reference to `vfio_group_unset_iommufd'
arc-elf-ld: drivers/vfio/vfio.o: in function `vfio_group_set_container':
>> vfio.c:(.text+0x113c): undefined reference to `vfio_group_set_iommufd'
>> arc-elf-ld: vfio.c:(.text+0x113c): undefined reference to `vfio_group_set_iommufd'

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