Skip to content
Snippets Groups Projects
Commit 62577fa3 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

[PATCH] fix ipath_dma_free_coherent() prototype


method gets u64, not dma_addr_t

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 6df0187e
No related branches found
No related tags found
No related merge requests found
...@@ -167,7 +167,7 @@ static void *ipath_dma_alloc_coherent(struct ib_device *dev, size_t size, ...@@ -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, 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)); free_pages((unsigned long) cpu_addr, get_order(size));
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment