From: Shuah Khan Date: Thu, 18 Oct 2012 20:00:58 +0000 (-0600) Subject: Documentation DMA-API-HOWTO.txt Add dma mapping error check usage examples X-Git-Tag: v3.8-rc1~25^2^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d7f62e6a7aa0bfd7163d3c4a5fb59280f6a6eb5;p=pandora-kernel.git Documentation DMA-API-HOWTO.txt Add dma mapping error check usage examples Enhance the document to discuss the importance of dma mapping error checks after dma_map_single() and dma_map_page() calls. Also added usage examples that include unmap examples in error paths when dma mapping error is returned. Includes correct and incorrect usages to high light some common mistakes in error paths especially when dma mapping fails when more than one dma mapping call is made. Signed-off-by: Shuah Khan Reviewed-by: Konrad Rzeszutek Wilk Signed-off-by: Joerg Roedel --- Reading git-diff-tree failed