From: Randy Dunlap <rdunlap@infradead.org>
To: Hemanth Selam <hemanth.selam@gmail.com>,
Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: Re: [PATCH 2/2] tools/lib: fix typos in comments
Date: Fri, 4 Sep 2026 14:28:19 -0700 [thread overview]
Message-ID: <682a99b4-a370-448f-85fd-a6dac5a2c558@infradead.org> (raw)
In-Reply-To: <20260904113257.13594-3-hemanth.selam@gmail.com>
On 9/4/26 4:32 AM, Hemanth Selam wrote:
> Fix typos in comments, reported by scripts/checkpatch.pl using the
> misspelling list in scripts/spelling.txt. Only touches comments, no code
> changes.
>
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Thanks.
> ---
> tools/lib/python/kdoc/c_lex.py | 2 +-
> tools/lib/python/kdoc/xforms_lists.py | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/lib/python/kdoc/c_lex.py b/tools/lib/python/kdoc/c_lex.py
> index cb95f5172448..efbc23c01abd 100644
> --- a/tools/lib/python/kdoc/c_lex.py
> +++ b/tools/lib/python/kdoc/c_lex.py
> @@ -68,7 +68,7 @@ class CToken():
>
> MISMATCH = 255 #: an error indicator: should never happen in practice.
>
> - # Dict to convert from an enum interger into a string.
> + # Dict to convert from an enum integer into a string.
> _name_by_val = {v: k for k, v in dict(vars()).items() if isinstance(v, int)}
>
> # Dict to convert from string to an enum-like integer value.
> diff --git a/tools/lib/python/kdoc/xforms_lists.py b/tools/lib/python/kdoc/xforms_lists.py
> index e3dda2fe8a53..423e2bab7667 100644
> --- a/tools/lib/python/kdoc/xforms_lists.py
> +++ b/tools/lib/python/kdoc/xforms_lists.py
> @@ -53,7 +53,7 @@ class CTransforms:
> (CMatch("__attribute__"), ""),
>
> #
> - # Macro __struct_group() creates an union with an anonymous
> + # Macro __struct_group() creates a union with an anonymous
> # and a non-anonymous struct, depending on the parameters. We only
> # need one of those at kernel-doc, as we won't be documenting the same
> # members twice.
--
~Randy
prev parent reply other threads:[~2026-09-04 21:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 11:32 [PATCH 0/2] Documentation/core-api: " Hemanth Selam
2026-09-04 11:32 ` [PATCH 1/2] Documentation/core-api: fix typo "maintainance" in comment Hemanth Selam
2026-09-04 21:27 ` Randy Dunlap
2026-09-07 16:39 ` Jonathan Corbet
2026-09-04 11:32 ` [PATCH 2/2] tools/lib: fix typos in comments Hemanth Selam
2026-09-04 21:28 ` Randy Dunlap [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=682a99b4-a370-448f-85fd-a6dac5a2c558@infradead.org \
--to=rdunlap@infradead.org \
--cc=corbet@lwn.net \
--cc=hemanth.selam@gmail.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=skhan@linuxfoundation.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
all inboxes | Powered by JetHome®