Hi Souptick, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on v4.17-rc1 next-20180413] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Souptick-Joarder/gpu-drm-gma500-Change-return-type-to-vm_fault_t/20180416-155538 base: git://people.freedesktop.org/~airlied/linux.git drm-next config: i386-randconfig-x078-201815 (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=i386 All errors (new ones prefixed by >>): In file included from drivers/gpu/drm/gma500/intel_i2c.c:24:0: >> drivers/gpu/drm/gma500/psb_drv.h:753:8: error: unknown type name 'vm_fault_t' extern vm_fault_t psb_gem_fault(struct vm_fault *vmf); ^~~~~~~~~~ -- In file included from drivers/gpu/drm/gma500/framebuffer.c:37:0: >> drivers/gpu/drm/gma500/psb_drv.h:753:8: error: unknown type name 'vm_fault_t' extern vm_fault_t psb_gem_fault(struct vm_fault *vmf); ^~~~~~~~~~ >> drivers/gpu/drm/gma500/framebuffer.c:114:8: error: unknown type name 'vm_fault_t' static vm_fault_t psbfb_vm_fault(struct vm_fault *vmf) ^~~~~~~~~~ drivers/gpu/drm/gma500/framebuffer.c: In function 'psbfb_vm_fault': >> drivers/gpu/drm/gma500/framebuffer.c:123:2: error: unknown type name 'vm_fault_t'; did you mean 'vm_flags_t'? vm_fault_t ret; ^~~~~~~~~~ vm_flags_t >> drivers/gpu/drm/gma500/framebuffer.c:136:9: error: implicit declaration of function 'vmf_insert_mixed'; did you mean 'vm_insert_mixed'? [-Werror=implicit-function-declaration] ret = vmf_insert_mixed(vma, address, ^~~~~~~~~~~~~~~~ vm_insert_mixed cc1: some warnings being treated as errors -- In file included from drivers/gpu/drm/gma500/gem.c:30:0: >> drivers/gpu/drm/gma500/psb_drv.h:753:8: error: unknown type name 'vm_fault_t' extern vm_fault_t psb_gem_fault(struct vm_fault *vmf); ^~~~~~~~~~ >> drivers/gpu/drm/gma500/gem.c:137:1: error: unknown type name 'vm_fault_t'; did you mean 'vm_flags_t'? vm_fault_t psb_gem_fault(struct vm_fault *vmf) ^~~~~~~~~~ vm_flags_t drivers/gpu/drm/gma500/gem.c: In function 'psb_gem_fault': drivers/gpu/drm/gma500/gem.c:143:2: error: unknown type name 'vm_fault_t'; did you mean 'vm_flags_t'? vm_fault_t ret; ^~~~~~~~~~ vm_flags_t >> drivers/gpu/drm/gma500/gem.c:165:10: error: implicit declaration of function 'vmf_error' [-Werror=implicit-function-declaration] ret = vmf_error(err); ^~~~~~~~~ >> drivers/gpu/drm/gma500/gem.c:180:8: error: implicit declaration of function 'vmf_insert_pfn'; did you mean 'vm_insert_pfn'? [-Werror=implicit-function-declaration] ret = vmf_insert_pfn(vma, vmf->address, pfn); ^~~~~~~~~~~~~~ vm_insert_pfn cc1: some warnings being treated as errors vim +/vm_fault_t +753 drivers/gpu/drm/gma500/psb_drv.h 746 747 /* gem.c */ 748 extern void psb_gem_free_object(struct drm_gem_object *obj); 749 extern int psb_gem_get_aperture(struct drm_device *dev, void *data, 750 struct drm_file *file); 751 extern int psb_gem_dumb_create(struct drm_file *file, struct drm_device *dev, 752 struct drm_mode_create_dumb *args); > 753 extern vm_fault_t psb_gem_fault(struct vm_fault *vmf); 754 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: application/gzip
_______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel