[xilinx-xlnx:xlnx_rebase_v5.15_LTS_2022.1_update 93/1105] fpga-mgr.c:undefined reference to `dma_buf_get'
kernel test robot
lkp at intel.com
Mon Jun 13 22:16:29 PDT 2022
tree: https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15_LTS_2022.1_update
head: 0c564e7f31bf9e1d81376cb7562df7468a2e9cab
commit: 895021fc75c22703678f683052e95247269caf44 [93/1105] fpga: support loading from a pre-allocated buffer
config: nios2-randconfig-r012-20220613 (https://download.01.org/0day-ci/archive/20220614/202206141346.x9YPCyQX-lkp@intel.com/config)
compiler: nios2-linux-gcc (GCC) 11.3.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_2022.1_update
git checkout 895021fc75c22703678f683052e95247269caf44
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=nios2 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 >>):
nios2-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_device_ioctl':
>> fpga-mgr.c:(.text+0x484): undefined reference to `dma_buf_get'
fpga-mgr.c:(.text+0x484): relocation truncated to fit: R_NIOS2_CALL26 against `dma_buf_get'
nios2-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_mgr_load':
>> fpga-mgr.c:(.text+0xe18): undefined reference to `dma_buf_attach'
fpga-mgr.c:(.text+0xe18): relocation truncated to fit: R_NIOS2_CALL26 against `dma_buf_attach'
>> nios2-linux-ld: fpga-mgr.c:(.text+0xe2c): undefined reference to `dma_buf_map_attachment'
fpga-mgr.c:(.text+0xe2c): relocation truncated to fit: R_NIOS2_CALL26 against `dma_buf_map_attachment'
>> nios2-linux-ld: fpga-mgr.c:(.text+0xe5c): undefined reference to `dma_buf_unmap_attachment'
fpga-mgr.c:(.text+0xe5c): relocation truncated to fit: R_NIOS2_CALL26 against `dma_buf_unmap_attachment'
>> nios2-linux-ld: fpga-mgr.c:(.text+0xe70): undefined reference to `dma_buf_detach'
fpga-mgr.c:(.text+0xe70): relocation truncated to fit: R_NIOS2_CALL26 against `dma_buf_detach'
>> nios2-linux-ld: fpga-mgr.c:(.text+0xe80): undefined reference to `dma_buf_put'
fpga-mgr.c:(.text+0xe80): relocation truncated to fit: R_NIOS2_CALL26 against `dma_buf_put'
--
0-DAY CI Kernel Test Service
https://01.org/lkp
More information about the linux-arm-kernel
mailing list