Thread (2 messages) flat view 2 messages, 2 authors, 2014-06-11

Re: [PATCH v2 net-next] farsync: Fix confusion about DMA address and buffer offset types

From: David Miller <davem@davemloft.net>
Date: 2014-06-11 07:45:54

From: Ben Hutchings <redacted>
Date: Sun, 08 Jun 2014 23:49:34 +0100
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 <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help