summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorHemanth Selam <hemanth.selam@gmail.com>2026-09-04 17:02:56 +0530
committerJonathan Corbet <corbet@lwn.net>2026-09-07 10:37:58 -0600
commit09c12a4e05c6437a52433812518930a9fc0bd94a (patch)
tree841fb78178f003eb304553282bae372ec0db9c1e /tools/lib/python
parent14ddd53ecf4f8951d86b74970b9a3242d7dba58a (diff)
downloadlinux-next-09c12a4e05c6437a52433812518930a9fc0bd94a.tar.gz
linux-next-09c12a4e05c6437a52433812518930a9fc0bd94a.zip
tools/lib: fix typos in comments
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> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Message-ID: <20260904113257.13594-3-hemanth.selam@gmail.com>
Diffstat (limited to 'tools/lib/python')
-rw-r--r--tools/lib/python/kdoc/c_lex.py2
-rw-r--r--tools/lib/python/kdoc/xforms_lists.py2
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.