[xilinx-xlnx:xlnx_rebase_v5.15 93/1080] riscv64-linux-ld: fpga-mgr.c:undefined reference to `dma_buf_detach'

kernel test robot lkp at intel.com
Wed Apr 6 10:41:23 PDT 2022


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15
head:   6474115d882fd9e82731ac2473875dc3e8ac9acc
commit: 895021fc75c22703678f683052e95247269caf44 [93/1080] fpga: support loading from a pre-allocated buffer
config: riscv-randconfig-r023-20220406 (https://download.01.org/0day-ci/archive/20220407/202204070140.YOe6a0Ic-lkp@intel.com/config)
compiler: riscv64-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
        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=riscv 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 >>):

   riscv64-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_mgr_dev_release':
   fpga-mgr.c:(.text+0x22c): undefined reference to `dma_buf_get'
   riscv64-linux-ld: drivers/fpga/fpga-mgr.o: in function `.L146':
   fpga-mgr.c:(.text+0xb64): undefined reference to `dma_buf_attach'
   riscv64-linux-ld: fpga-mgr.c:(.text+0xb7a): undefined reference to `dma_buf_map_attachment'
   riscv64-linux-ld: drivers/fpga/fpga-mgr.o: in function `.L138':
   fpga-mgr.c:(.text+0xba2): undefined reference to `dma_buf_unmap_attachment'
>> riscv64-linux-ld: fpga-mgr.c:(.text+0xbb0): undefined reference to `dma_buf_detach'
>> riscv64-linux-ld: fpga-mgr.c:(.text+0xbbc): 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