tree:   https://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git x86/amd
head:   a2c9b667b1c0e78d39f339a90fd6a2bd4a6ff8d8
commit: 0b1c8fa308906ad01928609ac04e486d34894052 [19/23] iommu/amd: Optimize 
map_sg and unmap_sg
config: x86_64-randconfig-s4-07140059 (attached as .config)
compiler: gcc-6 (Debian 6.1.1-1) 6.1.1 20160430
reproduce:
        git checkout 0b1c8fa308906ad01928609ac04e486d34894052
        # save the attached .config to linux build tree
        make ARCH=x86_64 

Note: the iommu/x86/amd HEAD a2c9b667b1c0e78d39f339a90fd6a2bd4a6ff8d8 builds 
fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   drivers/iommu/amd_iommu.c: In function 'unmap_sg':
>> drivers/iommu/amd_iommu.c:2523:2: error: 'dma_dom' undeclared (first use in 
>> this function)
     dma_dom   = domain->priv;
     ^~~~~~~
   drivers/iommu/amd_iommu.c:2523:2: note: each undeclared identifier is 
reported only once for each function it appears in

vim +/dma_dom +2523 drivers/iommu/amd_iommu.c

  2517  
  2518          domain = get_domain(dev);
  2519          if (IS_ERR(domain))
  2520                  return;
  2521  
  2522          startaddr = sg_dma_address(sglist) & PAGE_MASK;
> 2523          dma_dom   = domain->priv;
  2524          npages    = sg_num_pages(dev, sglist, nelems);
  2525  
  2526          __unmap_single(domain->priv, startaddr, npages << PAGE_SHIFT, 
dir);

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

Attachment: .config.gz
Description: Binary data

_______________________________________________
iommu mailing list
iommu@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/iommu

Reply via email to