Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation/DMA-API-HOWTO.txt: minor grammar corrections

Signed-off-by: Shuah Khan <shuah.khan@hp.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Shuah Khan and committed by
Linus Torvalds
be62bc41 b88a1058

+4 -3
+4 -3
Documentation/DMA-API-HOWTO.txt
··· 488 488 that the mapping code will work correctly on all dma implementations without 489 489 any dependency on the specifics of the underlying implementation. Using the 490 490 returned address without checking for errors could result in failures ranging 491 - from panics to silent data corruption. Couple of example of incorrect ways to 492 - check for errors that make assumptions about the underlying dma implementation 493 - are as follows and these are applicable to dma_map_page() as well. 491 + from panics to silent data corruption. A couple of examples of incorrect ways 492 + to check for errors that make assumptions about the underlying dma 493 + implementation are as follows and these are applicable to dma_map_page() as 494 + well. 494 495 495 496 Incorrect example 1: 496 497 dma_addr_t dma_handle;