summaryrefslogtreecommitdiffstats
path: root/Documentation/nfc
diff options
context:
space:
mode:
authorShuah Khan <shuah.khan@hp.com>2012-10-18 14:00:58 -0600
committerJoerg Roedel <joerg.roedel@amd.com>2012-10-24 17:07:43 +0200
commit8d7f62e6a7aa0bfd7163d3c4a5fb59280f6a6eb5 (patch)
treecafab6820ac262f0c718e498f92fb08ce8033271 /Documentation/nfc
parent6c9c6d6301287e369a754d628230fa6e50cdb74b (diff)
downloadlinux-8d7f62e6a7aa0bfd7163d3c4a5fb59280f6a6eb5.tar.gz
linux-8d7f62e6a7aa0bfd7163d3c4a5fb59280f6a6eb5.tar.bz2
linux-8d7f62e6a7aa0bfd7163d3c4a5fb59280f6a6eb5.zip
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 <shuah.khan@hp.com> Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'Documentation/nfc')
0 files changed, 0 insertions, 0 deletions