Skip to contentSkip to conversation

Documentation: DMA-API: fix two typos

PATCH In review Corentin Labbe 2 participants 2 messages Jan 18, 2019 – Jan 21, 2019 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation: DMA-API: fix two typos

This patch fixes two typos, a missing "e" and dma-api/driver_filter was incorrectly typed dma-api/driver-filter.

---
 Documentation/DMA-API.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/DMA-API.txt +2 -2
index 78114ee63057..bd009f3069f8 100644
@@ -531,7 +531,7 @@ that simply cannot make consistent memory.
 		       dma_addr_t dma_handle, unsigned long attrs)
 
 Free memory allocated by the dma_alloc_attrs().  All parameters common
-parameters must identical to those otherwise passed to dma_fre_coherent,
+parameters must identical to those otherwise passed to dma_free_coherent,
 and the attrs argument must be identical to the attrs passed to
 dma_alloc_attrs().
 
@@ -720,7 +720,7 @@ dma-api/num_free_entries	The current number of free dma_debug_entries
 dma-api/nr_total_entries	The total number of dma_debug_entries in the
 				allocator, both free and used.
 
-dma-api/driver-filter		You can write a name of a driver into this file
+dma-api/driver_filter		You can write a name of a driver into this file
 				to limit the debug output to requests from that
 				particular driver. Write an empty string to
 				that file to disable the filter and see
Signature · 1 line
2.19.2
maintainer
#1 lore raw
Quoted 4 lines · On Fri, 18 Jan 2019 13:38:22 +0000 Corentin Labbe <[email protected]> wrote:

This patch fixes two typos, a missing "e" and dma-api/driver_filter was incorrectly typed dma-api/driver-filter.

So I've applied this, but...

Documentation/DMA-API.txt that simply cannot make consistent memory. · line 534

Quoted 13 lines
 Documentation/DMA-API.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
Documentation/DMA-API.txt +1 -1
index 78114ee63057..bd009f3069f8 100644
@@ -531,7 +531,7 @@ that simply cannot make consistent memory.
 		       dma_addr_t dma_handle, unsigned long attrs)
 
 Free memory allocated by the dma_alloc_attrs().  All parameters common
-parameters must identical to those otherwise passed to dma_fre_coherent,
+parameters must identical to those otherwise passed to dma_free_coherent,

That sentence clearly needs a lot more help than just an extra "e"; I took the liberty of fixing it up on the way in.

Thanks,

jon