[xilinx-xlnx:xlnx_rebase_v5.15_LTS 93/1029] fpga-mgr.c:undefined reference to `dma_buf_get'

kernel test robot lkp at intel.com
Fri Mar 25 14:53:22 PDT 2022


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head:   1870e0fa79a9d58c6748c34550f3ccea0b515933
commit: 895021fc75c22703678f683052e95247269caf44 [93/1029] fpga: support loading from a pre-allocated buffer
config: csky-randconfig-r032-20220325 (https://download.01.org/0day-ci/archive/20220326/202203260511.hSrshCg0-lkp@intel.com/config)
compiler: csky-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/Xilinx/linux-xlnx/commit/895021fc75c22703678f683052e95247269caf44
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15_LTS
        git checkout 895021fc75c22703678f683052e95247269caf44
        # 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=csky SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp at intel.com>

All errors (new ones prefixed by >>):

   csky-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_device_ioctl':
>> fpga-mgr.c:(.text+0x514): undefined reference to `dma_buf_get'
>> csky-linux-ld: fpga-mgr.c:(.text+0x5ac): undefined reference to `dma_buf_get'
   csky-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_mgr_load':
>> (.text+0xf16): undefined reference to `dma_buf_attach'
>> csky-linux-ld: (.text+0xf4e): undefined reference to `dma_buf_map_attachment'
>> csky-linux-ld: (.text+0xf8c): undefined reference to `dma_buf_unmap_attachment'
>> csky-linux-ld: (.text+0xf9a): undefined reference to `dma_buf_detach'
>> csky-linux-ld: (.text+0xfa6): undefined reference to `dma_buf_put'
   csky-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_mgr_get':
   (.text+0x1050): undefined reference to `dma_buf_attach'
   csky-linux-ld: (.text+0x1064): undefined reference to `dma_buf_map_attachment'
   csky-linux-ld: (.text+0x106c): undefined reference to `dma_buf_unmap_attachment'
   csky-linux-ld: (.text+0x1070): undefined reference to `dma_buf_detach'
   csky-linux-ld: (.text+0x1074): undefined reference to `dma_buf_put'

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp



More information about the linux-arm-kernel mailing list