Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] fix ipath_dma_free_coherent() prototype

method gets u64, not dma_addr_t

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Al Viro and committed by
Linus Torvalds
62577fa3 6df0187e

+1 -1
+1 -1
drivers/infiniband/hw/ipath/ipath_dma.c
··· 167 167 } 168 168 169 169 static void ipath_dma_free_coherent(struct ib_device *dev, size_t size, 170 - void *cpu_addr, dma_addr_t dma_handle) 170 + void *cpu_addr, u64 dma_handle) 171 171 { 172 172 free_pages((unsigned long) cpu_addr, get_order(size)); 173 173 }