dma-buf-map: Fix dot vs comma in example
PATCH 1/1 dma-buf-map: Fix dot vs comma in example
Fix typo: separate arguments with comma rather than dot.
Signed-off-by Lucas De Marchi <[email protected]>
--- include/linux/dma-buf-map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
include/linux/dma-buf-map.h +2 -2
@@ -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
Signature · 1 line
2.34.1
Hi
Am 11.01.22 um 01:33 schrieb Lucas De Marchi:
Quoted 3 lines
Fix typo: separate arguments with comma rather than dot.
Signed-off-by Lucas De Marchi <[email protected]>
Thank you. It's in drm-misc-next.
Best regards
Thomas
Quoted 24 lines
--- include/linux/dma-buf-map.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)include/linux/dma-buf-map.h +2
-2@@ -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
Signature · 6 lines
Thomas Zimmermann Graphics Driver Developer SUSE Software Solutions Germany GmbH Maxfeldstr. 5, 90409 Nürnberg, Germany (HRB 36809, AG Nürnberg) Geschäftsführer: Ivo Totev