Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be62bc41 authored by Shuah Khan's avatar Shuah Khan Committed by Linus Torvalds
Browse files

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

parent b88a1058
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -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;