Hi, kernel test robot noticed the following build errors:
[auto build test ERROR on drm-misc/drm-misc-next] [also build test ERROR on drm/drm-next daeinki-drm-exynos/exynos-drm-next drm-i915/for-linux-next drm-i915/for-linux-next-fixes drm-tip/drm-tip linus/master v6.19-rc4 next-20260109] [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/dongwon-kim-intel-com/drm-virtio-Freeze-and-restore-hooks-to-support-suspend-and-resume/20260108-024124 base: https://gitlab.freedesktop.org/drm/misc/kernel.git drm-misc-next patch link: https://lore.kernel.org/r/20260107182745.229481-3-dongwon.kim%40intel.com patch subject: [PATCH v7 2/3] drm/virtio: Add support for saving and restoring virtio_gpu_objects config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20260112/[email protected]/config) compiler: m68k-linux-gcc (GCC) 15.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260112/[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/gpu/drm/virtio/virtgpu_prime.c: In function 'virtgpu_dma_buf_obj_resubmit': >> drivers/gpu/drm/virtio/virtgpu_prime.c:291:17: error: implicit declaration >> of function 'DRM_ERROR'; did you mean 'DRM_IOR'? >> [-Wimplicit-function-declaration] 291 | DRM_ERROR("no sgt bound to virtio_gpu_object\n"); | ^~~~~~~~~ | DRM_IOR vim +291 drivers/gpu/drm/virtio/virtgpu_prime.c 282 283 int virtgpu_dma_buf_obj_resubmit(struct virtio_gpu_device *vgdev, 284 struct virtio_gpu_object *bo) 285 { 286 struct virtio_gpu_mem_entry *ents; 287 struct scatterlist *sl; 288 int i; 289 290 if (!bo->sgt) { > 291 DRM_ERROR("no sgt bound to virtio_gpu_object\n"); 292 return -ENOMEM; 293 } 294 295 ents = kvmalloc_array(bo->sgt->nents, 296 sizeof(struct virtio_gpu_mem_entry), 297 GFP_KERNEL); 298 if (!ents) { 299 DRM_ERROR("failed to allocate ent list\n"); 300 return -ENOMEM; 301 } 302 303 for_each_sgtable_dma_sg(bo->sgt, sl, i) { 304 ents[i].addr = cpu_to_le64(sg_dma_address(sl)); 305 ents[i].length = cpu_to_le32(sg_dma_len(sl)); 306 ents[i].padding = 0; 307 } 308 309 virtio_gpu_cmd_resource_create_blob(vgdev, bo, &bo->params, 310 ents, bo->sgt->nents); 311 312 return 0; 313 } 314 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki
