From 59e0bf6c0586143e60d3bf7f50c64c1c28d2fb6a Mon Sep 17 00:00:00 2001 From: Shuah Khan Date: Fri, 9 Nov 2012 14:05:01 +1100 Subject: [PATCH] Documentation/DMA-API-HOWTO.txt: minor grammar corrections Signed-off-by: Shuah Khan Signed-off-by: Andrew Morton --- Documentation/DMA-API-HOWTO.txt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Documentation/DMA-API-HOWTO.txt b/Documentation/DMA-API-HOWTO.txt index 4a4fb295ceef..65470cae471d 100644 --- a/Documentation/DMA-API-HOWTO.txt +++ b/Documentation/DMA-API-HOWTO.txt @@ -488,9 +488,10 @@ will invoke the generic mapping error check interface. Doing so will ensure that the mapping code will work correctly on all dma implementations without any dependency on the specifics of the underlying implementation. Using the returned address without checking for errors could result in failures ranging -from panics to silent data corruption. Couple of example of incorrect ways to -check for errors that make assumptions about the underlying dma implementation -are as follows and these are applicable to dma_map_page() as well. +from panics to silent data corruption. A couple of examples of incorrect ways +to check for errors that make assumptions about the underlying dma +implementation are as follows and these are applicable to dma_map_page() as +well. Incorrect example 1: dma_addr_t dma_handle; -- 2.39.5