From: Ben Hutchings Date: Sun, 8 Jun 2014 22:49:34 +0000 (+0100) Subject: farsync: Fix confusion about DMA address and buffer offset types X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=581d9baa21dbd69b5b02cd654d858d064c400769;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed