All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] docs: dma-api: Fix description of the sync_sg API
@ 2023-11-03 16:21 Brian Johannesmeyer
  2023-11-17 15:52 ` Jonathan Corbet
  0 siblings, 1 reply; 2+ messages in thread
From: Brian Johannesmeyer @ 2023-11-03 16:21 UTC (permalink / raw)
  To: Jonathan Corbet, linux-doc, Brian Johannesmeyer

Fix the description of the parameters to dma_sync_sg*. They should be the
same as the parameters to dma_map_sg(), not dma_map_single().

Signed-off-by: Brian Johannesmeyer <bjohannesmeyer@gmail.com>
---
 Documentation/core-api/dma-api.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Documentation/core-api/dma-api.rst b/Documentation/core-api/dma-api.rst
index 829f20a193ca..8e3cce3d0a23 100644
--- a/Documentation/core-api/dma-api.rst
+++ b/Documentation/core-api/dma-api.rst
@@ -448,7 +448,7 @@ DMA address entries returned.
 
 Synchronise a single contiguous or scatter/gather mapping for the CPU
 and device. With the sync_sg API, all the parameters must be the same
-as those passed into the single mapping API. With the sync_single API,
+as those passed into the sg mapping API. With the sync_single API,
 you can use dma_handle and size parameters that aren't identical to
 those passed into the single mapping API to do a partial sync.
 
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-11-17 15:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-03 16:21 [PATCH] docs: dma-api: Fix description of the sync_sg API Brian Johannesmeyer
2023-11-17 15:52 ` Jonathan Corbet

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.