From: Hemanth Selam <hemanth.selam@gmail.com>
To: Jonathan Corbet <corbet@lwn.net>,
Shuah Khan <skhan@linuxfoundation.org>,
Randy Dunlap <rdunlap@infradead.org>
Cc: linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org
Subject: [PATCH 2/2] tools/lib: fix typos in comments
Date: Fri, 4 Sep 2026 17:02:56 +0530 [thread overview]
Message-ID: <20260904113257.13594-3-hemanth.selam@gmail.com> (raw)
In-Reply-To: <20260904113257.13594-1-hemanth.selam@gmail.com>
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>
---
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.
--
2.48.1
next prev parent reply other threads:[~2026-09-04 11:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20260904113257.13594-1-hemanth.selam@gmail.com>
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 ` Hemanth Selam [this message]
2026-09-04 21:28 ` [PATCH 2/2] tools/lib: fix typos in comments Randy Dunlap
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=20260904113257.13594-3-hemanth.selam@gmail.com \
--to=hemanth.selam@gmail.com \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rdunlap@infradead.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 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.