Commit 80b8ce43 authored by Rusty Russell's avatar Rusty Russell Committed by Linus Torvalds

[PATCH] DMA-mapping.txt typo fix

Roger Luethi <rl@hellgate.ch>: DMA-mapping.txt: sg_dma_length() -> sg_dma_len():
parent 435cb0af
...@@ -484,7 +484,7 @@ limited number of scatter-gather entries) and returns the actual number ...@@ -484,7 +484,7 @@ limited number of scatter-gather entries) and returns the actual number
of sg entries it mapped them to. of sg entries it mapped them to.
Then you should loop count times (note: this can be less than nents times) Then you should loop count times (note: this can be less than nents times)
and use sg_dma_address() and sg_dma_length() macros where you previously and use sg_dma_address() and sg_dma_len() macros where you previously
accessed sg->address and sg->length as shown above. accessed sg->address and sg->length as shown above.
To unmap a scatterlist, just call: To unmap a scatterlist, just call:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment