From: Jonathan Corbet <corbet@lwn.net>
To: Brian Johannesmeyer <bjohannesmeyer@gmail.com>,
linux-doc@vger.kernel.org,
Brian Johannesmeyer <bjohannesmeyer@gmail.com>
Subject: Re: [PATCH] docs: dma-api: Fix description of the sync_sg API
Date: Fri, 17 Nov 2023 08:52:24 -0700 [thread overview]
Message-ID: <87a5rcxtqf.fsf@meer.lwn.net> (raw)
In-Reply-To: <20231103162120.3474026-1-bjohannesmeyer@gmail.com>
Brian Johannesmeyer <bjohannesmeyer@gmail.com> writes:
> 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
Applied, thanks.
jon
prev parent reply other threads:[~2023-11-17 15:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a5rcxtqf.fsf@meer.lwn.net \
--to=corbet@lwn.net \
--cc=bjohannesmeyer@gmail.com \
--cc=linux-doc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.