[xilinx-xlnx:xlnx_rebase_v5.15 95/1080] fpga-mgr.c:undefined reference to `dma_buf_map_attachment'

kernel test robot lkp at intel.com
Wed Apr 6 12:34:29 PDT 2022


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15
head:   6474115d882fd9e82731ac2473875dc3e8ac9acc
commit: d4ba2c845346a24c1ec93f83177ce7994c924472 [95/1080] fpga: mgr: Adds secure BitStream loading support
config: riscv-randconfig-r023-20220406 (https://download.01.org/0day-ci/archive/20220407/202204070330.Zjt9VKBw-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/d4ba2c845346a24c1ec93f83177ce7994c924472
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15
        git checkout d4ba2c845346a24c1ec93f83177ce7994c924472
        # 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 `.L150':
   fpga-mgr.c:(.text+0xba4): undefined reference to `dma_buf_attach'
   riscv64-linux-ld: drivers/fpga/fpga-mgr.o: in function `.L142':
>> fpga-mgr.c:(.text+0xbba): undefined reference to `dma_buf_map_attachment'
>> riscv64-linux-ld: fpga-mgr.c:(.text+0xbe2): undefined reference to `dma_buf_unmap_attachment'
   riscv64-linux-ld: fpga-mgr.c:(.text+0xbf0): undefined reference to `dma_buf_detach'
   riscv64-linux-ld: fpga-mgr.c:(.text+0xbfc): 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