[mmotm:master 81/302] drivers/iommu/intel-iommu.c:3214:3: error: implicit declaration of function 'dma_alloc_from_contiguous'

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

 



tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   25153c2ef8124ecd930de79236e7fe25ad2507cb
commit: f57578494f69571fa12bae97cc67884c3522e7c6 [81/302] intel-iommu: integrate DMA CMA
config: make ARCH=ia64 allmodconfig

All error/warnings:

   drivers/iommu/intel-iommu.c: In function 'intel_alloc_coherent':
>> drivers/iommu/intel-iommu.c:3214:3: error: implicit declaration of function 'dma_alloc_from_contiguous' [-Werror=implicit-function-declaration]
>> drivers/iommu/intel-iommu.c:3214:8: warning: assignment makes pointer from integer without a cast [enabled by default]
>> drivers/iommu/intel-iommu.c:3217:4: error: implicit declaration of function 'dma_release_from_contiguous' [-Werror=implicit-function-declaration]
   cc1: some warnings being treated as errors

vim +/dma_alloc_from_contiguous +3214 drivers/iommu/intel-iommu.c

e8bb910d drivers/pci/intel-iommu.c   Alex Williamson       2009-11-04  3208  			flags |= GFP_DMA32;
e8bb910d drivers/pci/intel-iommu.c   Alex Williamson       2009-11-04  3209  	}
ba395927 drivers/pci/intel-iommu.c   Keshavamurthy, Anil S 2007-10-21  3210  
f5757849 drivers/iommu/intel-iommu.c Akinobu Mita          2014-04-24  3211  	if (flags & __GFP_WAIT) {
f5757849 drivers/iommu/intel-iommu.c Akinobu Mita          2014-04-24  3212  		unsigned int count = size >> PAGE_SHIFT;
f5757849 drivers/iommu/intel-iommu.c Akinobu Mita          2014-04-24  3213  
f5757849 drivers/iommu/intel-iommu.c Akinobu Mita          2014-04-24 @3214  		page = dma_alloc_from_contiguous(dev, count, order);
f5757849 drivers/iommu/intel-iommu.c Akinobu Mita          2014-04-24  3215  		if (page && iommu_no_mapping(dev) &&
f5757849 drivers/iommu/intel-iommu.c Akinobu Mita          2014-04-24  3216  		    page_to_phys(page) + size > dev->coherent_dma_mask) {
f5757849 drivers/iommu/intel-iommu.c Akinobu Mita          2014-04-24 @3217  			dma_release_from_contiguous(dev, page, count);
f5757849 drivers/iommu/intel-iommu.c Akinobu Mita          2014-04-24  3218  			page = NULL;
f5757849 drivers/iommu/intel-iommu.c Akinobu Mita          2014-04-24  3219  		}
f5757849 drivers/iommu/intel-iommu.c Akinobu Mita          2014-04-24  3220  	}

---
0-DAY kernel build testing backend              Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild                 Intel Corporation

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>




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