diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2014-06-08 23:49:34 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-11 00:45:29 -0700 |
commit | 581d9baa21dbd69b5b02cd654d858d064c400769 (patch) | |
tree | 512c8c36b9d5735553817e7aae5d4c80d9dd9be4 /net/rose/rose_route.c | |
parent | 7e1a61b6c14e7b0816b800038781b9572d5154d4 (diff) | |
download | linux-581d9baa21dbd69b5b02cd654d858d064c400769.tar.bz2 |
farsync: Fix confusion about DMA address and buffer offset types
Use dma_addr_t for DMA address parameters and u32 for shared memory
offset parameters.
Do not assume that dma_addr_t is the same as unsigned long; it will
not be in PAE configurations. Truncate DMA addresses to 32 bits when
printing them. This is OK because the DMA mask for this device is
32-bit (per default).
Also rename the DMA address parameters from 'skb' to 'dma'.
Compile-tested only.
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rose/rose_route.c')
0 files changed, 0 insertions, 0 deletions