[luxis1999-dev-iommu:iommufd-vfio-v5.16-rc1 29/32] m68k-linux-ld: iommufd.c:undefined reference to `vfio_iommu_type1_release'

From: kernel test robot
Date: Thu Nov 04 2021 - 18:21:17 EST


tree: https://github.com/luxis1999/dev-iommu iommufd-vfio-v5.16-rc1
head: 0c6c7bdb5b3f7d4c8e6b03d34a59ac6bf3d02539
commit: 465aafaf97510d09bd68700c80ed3bb87db45077 [29/32] iommufd: Add IOMMU_IOAS_[UN]MAP_DMA
config: m68k-randconfig-r011-20211105 (attached as .config)
compiler: m68k-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
# https://github.com/luxis1999/dev-iommu/commit/465aafaf97510d09bd68700c80ed3bb87db45077
git remote add luxis1999-dev-iommu https://github.com/luxis1999/dev-iommu
git fetch --no-tags luxis1999-dev-iommu iommufd-vfio-v5.16-rc1
git checkout 465aafaf97510d09bd68700c80ed3bb87db45077
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k 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 >>):

m68k-linux-ld: drivers/iommufd/iommufd.o: in function `vfio_iommu_remove_device':
iommufd.c:(.text+0x46): undefined reference to `vfio_iommu_remove_group'
m68k-linux-ld: drivers/iommufd/iommufd.o: in function `iommufd_get_device_info':
iommufd.c:(.text+0x268): undefined reference to `vfio_device_add_iova_cap'
m68k-linux-ld: drivers/iommufd/iommufd.o: in function `iommufd_ioas_alloc':
iommufd.c:(.text+0x3dc): undefined reference to `vfio_iommu_type1_open'
>> m68k-linux-ld: iommufd.c:(.text+0x434): undefined reference to `vfio_iommu_type1_release'
m68k-linux-ld: iommufd.c:(.text+0x466): undefined reference to `vfio_iommu_type1_release'
m68k-linux-ld: drivers/iommufd/iommufd.o: in function `ioas_put':
iommufd.c:(.text+0x4d6): undefined reference to `vfio_iommu_type1_release'
m68k-linux-ld: drivers/iommufd/iommufd.o: in function `iommufd_process_dma_op':
iommufd.c:(.text+0x5f6): undefined reference to `vfio_iommu_type1_map_dma'
>> m68k-linux-ld: iommufd.c:(.text+0x616): undefined reference to `vfio_iommu_type1_unmap_dma'
m68k-linux-ld: drivers/iommufd/iommufd.o: in function `iommufd_device_attach_ioas':
iommufd.c:(.text+0x82e): undefined reference to `vfio_iommu_add_group'

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

Attachment: .config.gz
Description: application/gzip