linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: Eder Zulian <ezulian@redhat.com>
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] docs/core-api: swiotlb: fix typos
Date: Thu, 17 Oct 2024 09:38:01 -0600	[thread overview]
Message-ID: <87bjzi3fl2.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20241014224026.1838525-1-ezulian@redhat.com>

Eder Zulian <ezulian@redhat.com> writes:

> Correct references to swiotlb_tbl_map_single() and
> swiotlb_tbl_unmap_single() in the documentation for swiotlb.
>
> Fix two small typos that went unnoticed in commit c93f261dfc39
> ("Documentation/core-api: add swiotlb documentation"):
> swiotlb_tlb_map_single --> swiotlb_tbl_map_single
> swiotbl_tlb_unmap_single --> swiotlb_tbl_unmap_single
>
> Signed-off-by: Eder Zulian <ezulian@redhat.com>
> ---
>  Documentation/core-api/swiotlb.rst | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/Documentation/core-api/swiotlb.rst b/Documentation/core-api/swiotlb.rst
> index cf06bae44ff8..9e0fe027dd3b 100644
> --- a/Documentation/core-api/swiotlb.rst
> +++ b/Documentation/core-api/swiotlb.rst
> @@ -295,9 +295,9 @@ slot set.
>  
>  Fourth, the io_tlb_slot array keeps track of any "padding slots" allocated to
>  meet alloc_align_mask requirements described above. When
> -swiotlb_tlb_map_single() allocates bounce buffer space to meet alloc_align_mask
> +swiotlb_tbl_map_single() allocates bounce buffer space to meet alloc_align_mask
>  requirements, it may allocate pre-padding space across zero or more slots. But
> -when swiotbl_tlb_unmap_single() is called with the bounce buffer address, the
> +when swiotlb_tbl_unmap_single() is called with the bounce buffer address, the

Wow ... that seems like the kind of function naming that is just
designed to cause errors of this type.  Applied, thanks.

jon

      reply	other threads:[~2024-10-17 15:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-10-14 22:40 [PATCH] docs/core-api: swiotlb: fix typos Eder Zulian
2024-10-17 15:38 ` 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=87bjzi3fl2.fsf@trenco.lwn.net \
    --to=corbet@lwn.net \
    --cc=ezulian@redhat.com \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).