[xilinx-xlnx:xlnx_rebase_v5.15 93/1049] fpga-mgr.c:undefined reference to `dma_buf_attach'

kernel test robot lkp at intel.com
Tue Apr 5 20:23:21 PDT 2022


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.15
head:   4cf4408c2dbe725bb8530f851fbf277b9343f602
commit: 895021fc75c22703678f683052e95247269caf44 [93/1049] fpga: support loading from a pre-allocated buffer
config: s390-randconfig-c024-20220405 (https://download.01.org/0day-ci/archive/20220406/202204061104.9YUmfxQt-lkp@intel.com/config)
compiler: s390-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/895021fc75c22703678f683052e95247269caf44
        git remote add xilinx-xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xilinx-xlnx xlnx_rebase_v5.15
        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=s390 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 >>):

   s390-linux-ld: drivers/crypto/ccree/cc_driver.o: in function `init_cc_resources':
   cc_driver.c:(.text+0x5a2): undefined reference to `devm_ioremap_resource'
   s390-linux-ld: drivers/crypto/ccree/cc_debugfs.o: in function `cc_debugfs_init':
   cc_debugfs.c:(.text+0xa0): undefined reference to `debugfs_create_regset32'
   s390-linux-ld: cc_debugfs.c:(.text+0x11c): undefined reference to `debugfs_create_regset32'
   s390-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_device_ioctl':
   fpga-mgr.c:(.text+0x622): undefined reference to `dma_buf_get'
   s390-linux-ld: drivers/fpga/fpga-mgr.o: in function `fpga_mgr_load':
>> fpga-mgr.c:(.text+0xe40): undefined reference to `dma_buf_attach'
>> s390-linux-ld: fpga-mgr.c:(.text+0xe58): undefined reference to `dma_buf_map_attachment'
>> s390-linux-ld: fpga-mgr.c:(.text+0xe92): undefined reference to `dma_buf_unmap_attachment'
>> s390-linux-ld: fpga-mgr.c:(.text+0xea2): undefined reference to `dma_buf_detach'
>> s390-linux-ld: fpga-mgr.c:(.text+0xeae): 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