From: Ben Hutchings Date: Tue, 27 Jan 2015 00:50:24 +0000 (+0000) Subject: sh_eth: Fix DMA-API usage for RX buffers X-Git-Tag: fixes-v4.0-rc1~235^2~5^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=52b9fa3696c44151a2f1d361a00be7c5513db026;p=pandora-kernel.git sh_eth: Fix DMA-API usage for RX buffers - Use the return value of dma_map_single(), rather than calling virt_to_page() separately - Check for mapping failue - Call dma_unmap_single() rather than dma_sync_single_for_cpu() Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller --- Reading git-diff-tree failed