[xilinx-xlnx:xlnx_rebase_v5.15_LTS 93/1282] .tmp_gl_fpga-mgr.o:undefined reference to `dma_buf_get'

kernel test robot lkp at intel.com
Fri Aug 12 03:16:41 PDT 2022


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head:   21166ad7451381519714ed9b7ca928667ea4cd44
commit: 895021fc75c22703678f683052e95247269caf44 [93/1282] fpga: support loading from a pre-allocated buffer
config: microblaze-randconfig-r011-20220812 (https://download.01.org/0day-ci/archive/20220812/202208121801.9wwcniMe-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 12.1.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
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

   microblaze-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_device_ioctl':
>> .tmp_gl_fpga-mgr.o:(.text+0x14a0): undefined reference to `dma_buf_get'
   microblaze-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_mgr_load':
>> (.text+0x1bdc): undefined reference to `dma_buf_attach'
>> microblaze-linux-ld: (.text+0x1c10): undefined reference to `dma_buf_map_attachment'
>> microblaze-linux-ld: (.text+0x1c48): undefined reference to `dma_buf_unmap_attachment'
>> microblaze-linux-ld: (.text+0x1c58): undefined reference to `dma_buf_detach'
>> microblaze-linux-ld: (.text+0x1c64): 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