diff mbox series

dma-buf-map: Fix dot vs comma in example

Message ID 20220111003305.1214667-1-lucas.demarchi@intel.com (mailing list archive)
State New, archived
Headers show
Series dma-buf-map: Fix dot vs comma in example | expand

Commit Message

Lucas De Marchi Jan. 11, 2022, 12:33 a.m. UTC
Fix typo: separate arguments with comma rather than dot.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
---
 include/linux/dma-buf-map.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Thomas Zimmermann Jan. 11, 2022, 8:48 a.m. UTC | #1
Hi

Am 11.01.22 um 01:33 schrieb Lucas De Marchi:
> Fix typo: separate arguments with comma rather than dot.
> 
> Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>

Thank you. It's in drm-misc-next.

Best regards
Thomas

> ---
>   include/linux/dma-buf-map.h | 4 ++--
>   1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/linux/dma-buf-map.h b/include/linux/dma-buf-map.h
> index 278d489e4bdd..19fa0b5ae5ec 100644
> --- a/include/linux/dma-buf-map.h
> +++ b/include/linux/dma-buf-map.h
> @@ -52,13 +52,13 @@
>    *
>    *	struct dma_buf_map map = DMA_BUF_MAP_INIT_VADDR(0xdeadbeaf);
>    *
> - *	dma_buf_map_set_vaddr(&map. 0xdeadbeaf);
> + *	dma_buf_map_set_vaddr(&map, 0xdeadbeaf);
>    *
>    * To set an address in I/O memory, use dma_buf_map_set_vaddr_iomem().
>    *
>    * .. code-block:: c
>    *
> - *	dma_buf_map_set_vaddr_iomem(&map. 0xdeadbeaf);
> + *	dma_buf_map_set_vaddr_iomem(&map, 0xdeadbeaf);
>    *
>    * Instances of struct dma_buf_map do not have to be cleaned up, but
>    * can be cleared to NULL with dma_buf_map_clear(). Cleared mappings
diff mbox series

Patch

diff --git a/include/linux/dma-buf-map.h b/include/linux/dma-buf-map.h
index 278d489e4bdd..19fa0b5ae5ec 100644
--- a/include/linux/dma-buf-map.h
+++ b/include/linux/dma-buf-map.h
@@ -52,13 +52,13 @@ 
  *
  *	struct dma_buf_map map = DMA_BUF_MAP_INIT_VADDR(0xdeadbeaf);
  *
- *	dma_buf_map_set_vaddr(&map. 0xdeadbeaf);
+ *	dma_buf_map_set_vaddr(&map, 0xdeadbeaf);
  *
  * To set an address in I/O memory, use dma_buf_map_set_vaddr_iomem().
  *
  * .. code-block:: c
  *
- *	dma_buf_map_set_vaddr_iomem(&map. 0xdeadbeaf);
+ *	dma_buf_map_set_vaddr_iomem(&map, 0xdeadbeaf);
  *
  * Instances of struct dma_buf_map do not have to be cleaned up, but
  * can be cleared to NULL with dma_buf_map_clear(). Cleared mappings