Hi Mark, kernel test robot noticed the following build errors:
[auto build test ERROR on next-20261123] [cannot apply to drm-tip/drm-tip linus/master v7.4-rc4 v7.4-rc3 v7.4-rc2 v7.4-rc4] [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/Mark-Brown/linux-next-build-failure-after-merge-of-the-drm-misc-tree/20261124-173143 base: next-20261123 patch link: https://lore.kernel.org/r/awXJ__-grexFFPb4%40sirena.org.uk patch subject: linux-next: build failure after merge of the drm-misc tree config: parisc-randconfig-1001-20261125 (https://download.01.org/0day-ci/archive/20261125/[email protected]/config) compiler: hppa-linux-gcc (GCC) 11.5.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261125/[email protected]/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 <[email protected]> | Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ All errors (new ones prefixed by >>): drivers/platform/raspberrypi/vc-sm-cma/vc_sm.c: In function 'vc_sm_clean_up_dmabuf': >> drivers/platform/raspberrypi/vc-sm-cma/vc_sm.c:217:17: error: implicit >> declaration of function 'dma_buf_unmap_sgt_unlocked'; did you mean >> 'dma_buf_vunmap_unlocked'? [-Werror=implicit-function-declaration] 217 | dma_buf_unmap_sgt_unlocked(buffer->attach, buffer->sgt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ | dma_buf_vunmap_unlocked drivers/platform/raspberrypi/vc-sm-cma/vc_sm.c: In function 'vc_sm_cma_import_dmabuf_internal': >> drivers/platform/raspberrypi/vc-sm-cma/vc_sm.c:437:15: error: implicit >> declaration of function 'dma_buf_map_sgt_unlocked'; did you mean >> 'dma_buf_vmap_unlocked'? [-Werror=implicit-function-declaration] 437 | sgt = dma_buf_map_sgt_unlocked(attach, DMA_BIDIRECTIONAL); | ^~~~~~~~~~~~~~~~~~~~~~~~ | dma_buf_vmap_unlocked drivers/platform/raspberrypi/vc-sm-cma/vc_sm.c:437:13: warning: assignment to 'struct sg_table *' from 'int' makes pointer from integer without a cast [-Wint-conversion] 437 | sgt = dma_buf_map_sgt_unlocked(attach, DMA_BIDIRECTIONAL); | ^ cc1: some warnings being treated as errors vim +217 drivers/platform/raspberrypi/vc-sm-cma/vc_sm.c 208 209 /* 210 * Cleans up imported dmabuf. 211 * Should be called with mutex held. 212 */ 213 static void vc_sm_clean_up_dmabuf(struct vc_sm_buffer *buffer) 214 { 215 /* Handle cleaning up imported dmabufs */ 216 if (buffer->sgt) { > 217 dma_buf_unmap_sgt_unlocked(buffer->attach, buffer->sgt, 218 DMA_BIDIRECTIONAL); 219 buffer->sgt = NULL; 220 } 221 if (buffer->attach) { 222 dma_buf_detach(buffer->imported_dma_buf, buffer->attach); 223 buffer->attach = NULL; 224 } 225 } 226 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
