Hi Paul, kernel test robot noticed the following build errors: [auto build test ERROR on usb/usb-testing] [also build test ERROR on usb/usb-next usb/usb-linus lwn/docs-next linus/master v6.7 next-20240119] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Paul-Cercueil/usb-gadget-Support-already-mapped-DMA-SGs/20240117-203111 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing patch link: https://lore.kernel.org/r/20240117122646.41616-4-paul%40crapouillou.net patch subject: [PATCH v4 3/4] usb: gadget: functionfs: Add DMABUF import interface config: sh-randconfig-r052-20240119 (https://download.01.org/0day-ci/archive/20240119/202401192234.0uzq25ka-lkp@xxxxxxxxx/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240119/202401192234.0uzq25ka-lkp@xxxxxxxxx/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot <lkp@xxxxxxxxx> | Closes: https://lore.kernel.org/oe-kbuild-all/202401192234.0uzq25ka-lkp@xxxxxxxxx/ All errors (new ones prefixed by >>): sh4-linux-ld: drivers/usb/gadget/function/f_fs.o: in function `ffs_dmabuf_signal_done': >> f_fs.c:(.text+0x254c): undefined reference to `dma_fence_begin_signalling' >> sh4-linux-ld: f_fs.c:(.text+0x2560): undefined reference to `dma_fence_signal' >> sh4-linux-ld: f_fs.c:(.text+0x2564): undefined reference to `dma_fence_end_signalling' sh4-linux-ld: drivers/usb/gadget/function/f_fs.o: in function `ffs_epfile_release': >> f_fs.c:(.text+0x28a0): undefined reference to `dma_buf_detach' >> sh4-linux-ld: f_fs.c:(.text+0x28a4): undefined reference to `dma_buf_put' sh4-linux-ld: drivers/usb/gadget/function/f_fs.o: in function `ffs_dmabuf_unmap_work': >> f_fs.c:(.text+0x2c6c): undefined reference to `dma_buf_unmap_attachment' >> sh4-linux-ld: f_fs.c:(.text+0x2c70): undefined reference to `dma_resv_reset_max_fences' >> sh4-linux-ld: f_fs.c:(.text+0x2c84): undefined reference to `dma_buf_detach' sh4-linux-ld: f_fs.c:(.text+0x2c88): undefined reference to `dma_buf_put' >> sh4-linux-ld: f_fs.c:(.text+0x2c94): undefined reference to `dma_fence_release' sh4-linux-ld: drivers/usb/gadget/function/f_fs.o: in function `ffs_dmabuf_transfer': >> f_fs.c:(.text+0x2e30): undefined reference to `dma_buf_get' sh4-linux-ld: f_fs.c:(.text+0x2e3c): undefined reference to `dma_buf_put' >> sh4-linux-ld: f_fs.c:(.text+0x2ef4): undefined reference to `dma_resv_test_signaled' >> sh4-linux-ld: f_fs.c:(.text+0x2efc): undefined reference to `dma_buf_map_attachment' >> sh4-linux-ld: f_fs.c:(.text+0x3098): undefined reference to `dma_resv_reserve_fences' >> sh4-linux-ld: f_fs.c:(.text+0x30bc): undefined reference to `dma_fence_init' >> sh4-linux-ld: f_fs.c:(.text+0x30c0): undefined reference to `dma_resv_add_fence' sh4-linux-ld: f_fs.c:(.text+0x30c4): undefined reference to `dma_resv_reset_max_fences' >> sh4-linux-ld: f_fs.c:(.text+0x30d4): undefined reference to `dma_fence_begin_signalling' sh4-linux-ld: f_fs.c:(.text+0x30e0): undefined reference to `dma_fence_end_signalling' sh4-linux-ld: f_fs.c:(.text+0x30f0): undefined reference to `dma_buf_put' sh4-linux-ld: f_fs.c:(.text+0x321c): undefined reference to `dma_fence_release' >> sh4-linux-ld: f_fs.c:(.text+0x3224): undefined reference to `dma_buf_unmap_attachment' sh4-linux-ld: f_fs.c:(.text+0x3228): undefined reference to `dma_resv_reset_max_fences' sh4-linux-ld: f_fs.c:(.text+0x3230): undefined reference to `dma_buf_detach' sh4-linux-ld: f_fs.c:(.text+0x3234): undefined reference to `dma_buf_put' sh4-linux-ld: drivers/usb/gadget/function/f_fs.o: in function `ffs_epfile_ioctl': f_fs.c:(.text+0x41f0): undefined reference to `dma_buf_get' >> sh4-linux-ld: f_fs.c:(.text+0x41f4): undefined reference to `dma_buf_attach' sh4-linux-ld: f_fs.c:(.text+0x4200): undefined reference to `dma_buf_detach' >> sh4-linux-ld: f_fs.c:(.text+0x4210): undefined reference to `dma_fence_context_alloc' sh4-linux-ld: f_fs.c:(.text+0x4220): undefined reference to `dma_buf_put' sh4-linux-ld: f_fs.c:(.text+0x43b0): undefined reference to `dma_buf_detach' sh4-linux-ld: f_fs.c:(.text+0x43b4): undefined reference to `dma_buf_put' -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki