[xilinx-xlnx:master 439/542] csky-linux-ld: fpga-mgr.c:undefined reference to `dma_buf_get'
kernel test robot
lkp at intel.com
Thu Feb 17 00:07:30 PST 2022
tree: https://github.com/Xilinx/linux-xlnx master
head: 9e2b4d5f785c5246f5c069680371226e47b9f636
commit: 2393692b42120111977addd8b52d26136b0b96ac [439/542] firmware: xilinx: Mark zynqmp_pm_get_meta_header as static inline
config: csky-randconfig-r011-20220216 (https://download.01.org/0day-ci/archive/20220217/202202171511.1w5V09vo-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/2393692b42120111977addd8b52d26136b0b96ac
git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
git fetch --no-tags xilinx-xlnx master
git checkout 2393692b42120111977addd8b52d26136b0b96ac
# 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+0x406): undefined reference to `dma_buf_get'
>> csky-linux-ld: fpga-mgr.c:(.text+0x4b0): undefined reference to `dma_buf_get'
csky-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_mgr_load':
(.text+0x10fe): undefined reference to `dma_buf_attach'
>> csky-linux-ld: (.text+0x1128): undefined reference to `dma_buf_map_attachment'
>> csky-linux-ld: (.text+0x1150): undefined reference to `dma_buf_detach'
>> csky-linux-ld: (.text+0x115c): undefined reference to `dma_buf_put'
>> csky-linux-ld: (.text+0x1188): undefined reference to `dma_buf_unmap_attachment'
>> csky-linux-ld: (.text+0x11cc): undefined reference to `dma_buf_attach'
csky-linux-ld: (.text+0x11d8): undefined reference to `dma_buf_map_attachment'
csky-linux-ld: (.text+0x11dc): undefined reference to `dma_buf_detach'
csky-linux-ld: (.text+0x11e0): undefined reference to `dma_buf_put'
csky-linux-ld: (.text+0x11e4): undefined reference to `dma_buf_unmap_attachment'
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
More information about the linux-arm-kernel
mailing list