Hi Lucas,

[auto build test ERROR on drm/drm-next]
[also build test ERROR on v4.14-rc2 next-20170929]
[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/Lucas-Stach/drm-etnaviv-remove-iommu-fault-handler/20170930-080416
base:   git://people.freedesktop.org/~airlied/linux.git drm-next
config: arm-allyesconfig (attached as .config)
compiler: arm-linux-gnueabi-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
        wget 
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O 
~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        make.cross ARCH=arm 

Note: the 
linux-review/Lucas-Stach/drm-etnaviv-remove-iommu-fault-handler/20170930-080416 
HEAD bd98331a05ea789da46e9c1428ebffe31ca58b67 builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> drivers/gpu/drm/etnaviv/etnaviv_mmu.c:117:6: error: conflicting types for 
>> 'etnaviv_iommu_unmap'
    void etnaviv_iommu_unmap(struct etnaviv_iommu *iommu, u32 iova,
         ^~~~~~~~~~~~~~~~~~~
   In file included from drivers/gpu/drm/etnaviv/etnaviv_mmu.c:23:0:
   drivers/gpu/drm/etnaviv/etnaviv_mmu.h:56:5: note: previous declaration of 
'etnaviv_iommu_unmap' was here
    int etnaviv_iommu_unmap(struct etnaviv_iommu *iommu, u32 iova,
        ^~~~~~~~~~~~~~~~~~~

vim +/etnaviv_iommu_unmap +117 drivers/gpu/drm/etnaviv/etnaviv_mmu.c

   116  
 > 117  void etnaviv_iommu_unmap(struct etnaviv_iommu *iommu, u32 iova,
   118                           struct sg_table *sgt, unsigned len)
   119  {
   120          struct iommu_domain *domain = iommu->domain;
   121          struct scatterlist *sg;
   122          unsigned int da = iova;
   123          int i;
   124  
   125          for_each_sg(sgt->sgl, sg, sgt->nents, i) {
   126                  size_t bytes = sg_dma_len(sg) + sg->offset;
   127  
   128                  etnaviv_domain_unmap(domain, da, bytes);
   129  
   130                  VERB("unmap[%d]: %08x(%zx)", i, iova, bytes);
   131  
   132                  BUG_ON(!PAGE_ALIGNED(bytes));
   133  
   134                  da += bytes;
   135          }
   136  }
   137  

---
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@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

Reply via email to