summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2006-12-15 22:57:26 +0100
committerRoland Dreier <rolandd@cisco.com>2006-12-15 22:57:26 +0100
commitc59a3da1342ff456e5123361739bc331446cda21 (patch)
treea75aa1d937a774f53e1875849082d28683c859ec /drivers/infiniband
parent[PATCH] ib_verbs: Use explicit if-else statements to avoid errors with do-whi... (diff)
downloadlinux-c59a3da1342ff456e5123361739bc331446cda21.tar.xz
linux-c59a3da1342ff456e5123361739bc331446cda21.zip
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 <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband')
0 files changed, 0 insertions, 0 deletions