* [mmotm:master 81/302] drivers/iommu/intel-iommu.c:3214:3: error: implicit declaration of function 'dma_alloc_from_contiguous'
@ 2014-04-25 15:17 Fengguang Wu
0 siblings, 0 replies; only message in thread
From: Fengguang Wu @ 2014-04-25 15:17 UTC (permalink / raw)
To: Akinobu Mita
Cc: kbuild-all, Johannes Weiner, Andrew Morton,
Linux Memory Management List
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@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-25 15:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-25 15:17 [mmotm:master 81/302] drivers/iommu/intel-iommu.c:3214:3: error: implicit declaration of function 'dma_alloc_from_contiguous' Fengguang Wu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).