[linux-next:master 5613/5750] drivers/gpu/drm/etnaviv/etnaviv_gem.c:178:5: error: conflicting types for 'etnaviv_gem_fault'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   f37208bc3c9c2f811460ef264909dfbc7f605a60
commit: 25d3db7600b87a41593f31a69b761cb2514dd4cc [5613/5750] mm, fs: reduce fault, page_mkwrite, and pfn_mkwrite to take only vmf
config: arm-allmodconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout 25d3db7600b87a41593f31a69b761cb2514dd4cc
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/armada/armada_gem.c:38:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .fault = armada_gem_vm_fault,
              ^~~~~~~~~~~~~~~~~~~
   drivers/gpu/drm/armada/armada_gem.c:38:11: note: (near initialization for 'armada_gem_vm_ops.fault')
   cc1: some warnings being treated as errors
--
>> drivers/gpu/drm/etnaviv/etnaviv_drv.c:472:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .fault = etnaviv_gem_fault,
              ^~~~~~~~~~~~~~~~~
   drivers/gpu/drm/etnaviv/etnaviv_drv.c:472:11: note: (near initialization for 'vm_ops.fault')
   cc1: some warnings being treated as errors
--
>> drivers/gpu/drm/etnaviv/etnaviv_gem.c:178:5: error: conflicting types for 'etnaviv_gem_fault'
    int etnaviv_gem_fault(struct vm_fault *vmf)
        ^~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/etnaviv/etnaviv_gem.c:20:0:
   drivers/gpu/drm/etnaviv/etnaviv_drv.h:76:5: note: previous declaration of 'etnaviv_gem_fault' was here
    int etnaviv_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf);
        ^~~~~~~~~~~~~~~~~
--
>> drivers/gpu/drm/omapdrm/omap_drv.c:789:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .fault = omap_gem_fault,
              ^~~~~~~~~~~~~~
   drivers/gpu/drm/omapdrm/omap_drv.c:789:11: note: (near initialization for 'omap_gem_vm_ops.fault')
   cc1: some warnings being treated as errors
--
>> drivers/gpu/drm/omapdrm/omap_gem.c:531:5: error: conflicting types for 'omap_gem_fault'
    int omap_gem_fault(struct vm_fault *vmf)
        ^~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/omapdrm/omap_gem.c:27:0:
   drivers/gpu/drm/omapdrm/omap_drv.h:207:5: note: previous declaration of 'omap_gem_fault' was here
    int omap_gem_fault(struct vm_area_struct *vma, struct vm_fault *vmf);
        ^~~~~~~~~~~~~~
--
>> drivers/hsi/clients/cmt_speech.c:1114:11: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types]
     .fault = cs_char_vma_fault,
              ^~~~~~~~~~~~~~~~~
   drivers/hsi/clients/cmt_speech.c:1114:11: note: (near initialization for 'cs_char_vm_ops.fault')
   cc1: some warnings being treated as errors

vim +/etnaviv_gem_fault +178 drivers/gpu/drm/etnaviv/etnaviv_gem.c

   172		}
   173	
   174		obj = to_etnaviv_bo(vma->vm_private_data);
   175		return obj->ops->mmap(obj, vma);
   176	}
   177	
 > 178	int etnaviv_gem_fault(struct vm_fault *vmf)
   179	{
   180		struct vm_area_struct *vma = vmf->vma;
   181		struct drm_gem_object *obj = vma->vm_private_data;

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]
  Powered by Linux