projects/linux·commit 62577fa3

[PATCH] fix ipath_dma_free_coherent() prototype

62577fa3 · Al Viro <[email protected]> · 2007-03-14 09:16:04 +00:00

method gets u64, not dma_addr_t

Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
62577fa324991146ded3d16e7ef08e7a99d2ec7e
Parents
6df0187e

Changes

1 files changed · +1 −1

FileStatusAddDelContent
drivers/infiniband/hw/ipath/ipath_dma.cmodified+1−1View file

drivers/infiniband/hw/ipath/ipath_dma.c

View file
diff --git a/drivers/infiniband/hw/ipath/ipath_dma.c b/drivers/infiniband/hw/ipath/ipath_dma.c
index f6f9490..f87f003 100644
--- a/drivers/infiniband/hw/ipath/ipath_dma.c
+++ b/drivers/infiniband/hw/ipath/ipath_dma.c
@@ -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));
}