2019-01-18 13:41:06

by Corentin LABBE

[permalink] [raw]
Subject: [PATCH] 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.

Signed-off-by: Corentin Labbe <[email protected]>
---
Documentation/DMA-API.txt | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/DMA-API.txt b/Documentation/DMA-API.txt
index 78114ee63057..bd009f3069f8 100644
--- a/Documentation/DMA-API.txt
+++ b/Documentation/DMA-API.txt
@@ -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
--
2.19.2



2019-01-21 08:16:21

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH] Documentation: DMA-API: fix two typos

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.
>
> Signed-off-by: Corentin Labbe <[email protected]>

So I've applied this, but...

> Documentation/DMA-API.txt | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/DMA-API.txt b/Documentation/DMA-API.txt
> index 78114ee63057..bd009f3069f8 100644
> --- a/Documentation/DMA-API.txt
> +++ b/Documentation/DMA-API.txt
> @@ -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