[xlnx:xlnx_rebase_v5.4 864/1683] fpga-mgr.c:undefined reference to `dma_buf_get'

kernel test robot lkp at intel.com
Fri Oct 30 13:59:24 EDT 2020


tree:   https://github.com/Xilinx/linux-xlnx xlnx_rebase_v5.4
head:   87d2d58e2137748748d96a630fd93eb0e2d81123
commit: 1a0c556193a3d81ff6bde4c571c38b2c19bbb443 [864/1683] fpga: support loading from a pre-allocated buffer
config: arm-socfpga_defconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 9.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/1a0c556193a3d81ff6bde4c571c38b2c19bbb443
        git remote add xlnx https://github.com/Xilinx/linux-xlnx
        git fetch --no-tags xlnx xlnx_rebase_v5.4
        git checkout 1a0c556193a3d81ff6bde4c571c38b2c19bbb443
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm 

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 >>):

   arm-linux-gnueabi-ld: drivers/mtd/spi-nor/cadence-quadspi.o: in function `cqspi_setup_flash.constprop.0':
   cadence-quadspi.c:(.text+0x15c0): undefined reference to `__aeabi_ldivmod'
   arm-linux-gnueabi-ld: drivers/fpga/fpga-mgr.o: in function `fpga_device_ioctl':
>> fpga-mgr.c:(.text+0xd54): undefined reference to `dma_buf_get'
   arm-linux-gnueabi-ld: drivers/fpga/fpga-mgr.o: in function `fpga_mgr_load':
>> fpga-mgr.c:(.text+0x123c): undefined reference to `dma_buf_attach'
>> arm-linux-gnueabi-ld: fpga-mgr.c:(.text+0x1250): undefined reference to `dma_buf_map_attachment'
>> arm-linux-gnueabi-ld: fpga-mgr.c:(.text+0x1288): undefined reference to `dma_buf_unmap_attachment'
>> arm-linux-gnueabi-ld: fpga-mgr.c:(.text+0x1294): undefined reference to `dma_buf_detach'
>> arm-linux-gnueabi-ld: fpga-mgr.c:(.text+0x129c): 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 25685 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20201031/9d79eb4f/attachment-0001.gz>


More information about the linux-arm-kernel mailing list