From: Roland Dreier Date: Fri, 15 Dec 2006 21:57:26 +0000 (-0800) Subject: IB: Fix ib_dma_alloc_coherent() wrapper X-Git-Tag: v2.6.20-rc2~122^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c59a3da1342ff456e5123361739bc331446cda21;p=pandora-kernel.git IB: Fix ib_dma_alloc_coherent() wrapper The ib_dma_alloc_coherent() wrapper uses a u64* for the dma_handle parameter, unlike dma_alloc_coherent, which uses dma_addr_t*. This means that we need a temporary variable to handle the case when ib_dma_alloc_coherent() just falls through directly to dma_alloc_coherent() on architectures where sizeof u64 != sizeof dma_addr_t. Signed-off-by: Roland Dreier --- Reading git-diff-tree failed