Skip to contentSkip to conversation

fix ipath_dma_free_coherent() prototype

PATCH NAK Al Viro 1 participant 1 message Mar 14, 2007 InfiniBand

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 7/13 fix ipath_dma_free_coherent() prototype

method gets u64, not dma_addr_t

---
 drivers/infiniband/hw/ipath/ipath_dma.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/infiniband/hw/ipath/ipath_dma.c +1 -1
index f6f9490..f87f003 100644
@@ -167,7 +167,7 @@ static void *ipath_dma_alloc_coherent(struct ib_device *dev, size_t size,
 }
 
 static void ipath_dma_free_coherent(struct ib_device *dev, size_t size,
-				    void *cpu_addr, dma_addr_t dma_handle)
+				    void *cpu_addr, u64 dma_handle)
 {
 	free_pages((unsigned long) cpu_addr, get_order(size));
 }
Signature · 1 line
1.5.0-rc2.GIT