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

From: kernel test robot <hidden>
Date: 2022-02-15 14:30:12
Also in: oe-kbuild-all

tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS
head:   392586c95ba817468e81d14a767a94f3b43a2898
commit: 895021fc75c22703678f683052e95247269caf44 [93/924] fpga: support loading from a pre-allocated buffer
config: arc-randconfig-r043-20220214 (https://download.01.org/0day-ci/archive/20220215/202202152220.RBTD7ilF-lkp@intel.com/config)
compiler: arc-elf-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=arc SHELL=/bin/bash

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <redacted>

All errors (new ones prefixed by >>):

   arc-elf-ld: drivers/fpga/fpga-mgr.o: in function `fpga_device_ioctl':
   fpga-mgr.c:(.text+0x5ca): undefined reference to `dma_buf_get'
quoted
arc-elf-ld: fpga-mgr.c:(.text+0x5ca): undefined reference to `dma_buf_get'
   arc-elf-ld: drivers/fpga/fpga-mgr.o: in function `fpga_mgr_load':
quoted
fpga-mgr.c:(.text+0xba2): undefined reference to `dma_buf_attach'
arc-elf-ld: fpga-mgr.c:(.text+0xba2): undefined reference to `dma_buf_attach'
arc-elf-ld: fpga-mgr.c:(.text+0xbc2): undefined reference to `dma_buf_map_attachment'
arc-elf-ld: fpga-mgr.c:(.text+0xbc2): undefined reference to `dma_buf_map_attachment'
arc-elf-ld: fpga-mgr.c:(.text+0xbe8): undefined reference to `dma_buf_unmap_attachment'
arc-elf-ld: fpga-mgr.c:(.text+0xbe8): undefined reference to `dma_buf_unmap_attachment'
arc-elf-ld: fpga-mgr.c:(.text+0xbf2): undefined reference to `dma_buf_detach'
arc-elf-ld: fpga-mgr.c:(.text+0xbf2): undefined reference to `dma_buf_detach'
arc-elf-ld: fpga-mgr.c:(.text+0xbfa): undefined reference to `dma_buf_put'
arc-elf-ld: fpga-mgr.c:(.text+0xbfa): undefined reference to `dma_buf_put'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help