projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c713e7c
)
powerpc/vio: More fallout from dma_mapping_error API change
author
Stephen Rothwell
<sfr@canb.auug.org.au>
Sun, 27 Jul 2008 16:22:14 +0000
(
02:22
+1000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Mon, 28 Jul 2008 06:30:51 +0000
(16:30 +1000)
arch/powerpc/kernel/vio.c:533: error: too few arguments to function 'dma_mapping_error'
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/vio.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/vio.c
b/arch/powerpc/kernel/vio.c
index 6952384cf89c59d22aebf91235bab16c470e69af..22a3c33fd7513c5288cef156f931f62a1c4f41df 100644
(file)
--- a/
arch/powerpc/kernel/vio.c
+++ b/
arch/powerpc/kernel/vio.c
@@
-530,7
+530,7
@@
static dma_addr_t vio_dma_iommu_map_single(struct device *dev, void *vaddr,
}
ret = dma_iommu_ops.map_single(dev, vaddr, size, direction, attrs);
- if (unlikely(dma_mapping_error(ret))) {
+ if (unlikely(dma_mapping_error(
dev,
ret))) {
vio_cmo_dealloc(viodev, roundup(size, IOMMU_PAGE_SIZE));
atomic_inc(&viodev->cmo.allocs_failed);
}