Hi "Thomas, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [cannot apply to v5.4-rc1 next-20191002] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW, we also suggest to use '--base' option to specify the base tree in git format-patch, please see https://stackoverflow.com/a/37406982] url: https://github.com/0day-ci/linux/commits/Thomas-Hellstr-m-VMware/Emulated-coherent-graphics-memory-take-2/20191003-022615 config: x86_64-randconfig-s0-201939 (attached as .config) compiler: gcc-5 (Ubuntu 5.5.0-12ubuntu1) 5.5.0 20171010 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 If you fix the issue, kindly add following tag Reported-by: kbuild test robot All errors (new ones prefixed by >>): drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c: In function 'vmw_mmap': >> drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c:36:11: error: 'ttm_bo_vm_open' undeclared (first use in this function) .open = ttm_bo_vm_open, ^ drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c:36:11: note: each undeclared identifier is reported only once for each function it appears in >> drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c:37:12: error: 'ttm_bo_vm_close' undeclared (first use in this function) .close = ttm_bo_vm_close ^ -- drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c: In function 'vmw_bo_vm_mkwrite': >> drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c:360:8: error: implicit declaration of function 'ttm_bo_vm_reserve' [-Werror=implicit-function-declaration] ret = ttm_bo_vm_reserve(bo, vmf); ^ drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c: In function 'vmw_bo_vm_fault': >> drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c:410:3: error: 'TTM_BO_VM_NUM_PREFAULT' undeclared (first use in this function) TTM_BO_VM_NUM_PREFAULT; ^ drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c:410:3: note: each undeclared identifier is reported only once for each function it appears in >> drivers/gpu/drm/vmwgfx/vmwgfx_page_dirty.c:411:8: error: implicit declaration of function 'ttm_bo_vm_fault_reserved' [-Werror=implicit-function-declaration] ret = ttm_bo_vm_fault_reserved(vmf, prot, num_prefault); ^ cc1: some warnings being treated as errors vim +/ttm_bo_vm_open +36 drivers/gpu/drm/vmwgfx/vmwgfx_ttm_glue.c 29 30 int vmw_mmap(struct file *filp, struct vm_area_struct *vma) 31 { 32 static const struct vm_operations_struct vmw_vm_ops = { 33 .pfn_mkwrite = vmw_bo_vm_mkwrite, 34 .page_mkwrite = vmw_bo_vm_mkwrite, 35 .fault = vmw_bo_vm_fault, > 36 .open = ttm_bo_vm_open, > 37 .close = ttm_bo_vm_close 38 }; 39 struct drm_file *file_priv = filp->private_data; 40 struct vmw_private *dev_priv = vmw_priv(file_priv->minor->dev); 41 int ret = ttm_bo_mmap(filp, vma, &dev_priv->bdev); 42 43 if (ret) 44 return ret; 45 46 vma->vm_ops = &vmw_vm_ops; 47 48 return 0; 49 } 50 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation