summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.demarchi@intel.com>2022-06-10 16:21:30 -0700
committerLucas De Marchi <lucas.demarchi@intel.com>2022-06-16 16:44:34 -0700
commite4a8864f74e9e9e4a7eb93952a4cfa35c165c930 (patch)
tree1116486cb47b7d68ef8e95e413d9564819932b9d
parent8ee53c702f23d511b7f635a4eabbb85384149f8c (diff)
iosys-map: Fix typo in documentationdrm-misc-next-2022-06-17
It's one argument, vaddr_iomem, not 2 (vaddr and _iomem). Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com> Reviewed-by: Christian König <christian.koenig@amd.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220610232130.2865479-3-lucas.demarchi@intel.com
-rw-r--r--include/linux/iosys-map.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/iosys-map.h b/include/linux/iosys-map.h
index e69a002d5aa4..4b8406ee8bc4 100644
--- a/include/linux/iosys-map.h
+++ b/include/linux/iosys-map.h
@@ -23,7 +23,7 @@
* memcpy(vaddr, src, len);
*
* void *vaddr_iomem = ...; // pointer to I/O memory
- * memcpy_toio(vaddr, _iomem, src, len);
+ * memcpy_toio(vaddr_iomem, src, len);
*
* The user of such pointer may not have information about the mapping of that
* region or may want to have a single code path to handle operations on that