From: Drew Fustini <dfustini@baylibre.com>
To: Andrew Morton <akpm@linux-foundation.org>,
Randy Dunlap <rdunlap@infradead.org>,
Colin Ian King <colin.i.king@gmail.com>,
Diederik de Haas <didi.debian@cknow.org>,
Ian Rogers <irogers@google.com>, SeongJae Park <sj@kernel.org>,
Drew Fustini <dfustini@baylibre.com>,
Luca Ceresoli <luca.ceresoli@bootlin.com>,
linux-kernel@vger.kernel.org
Cc: Conor Dooley <conor@kernel.org>, Guo Ren <guoren@kernel.org>,
Jisheng Zhang <jszhang@kernel.org>
Subject: [PATCH] scripts/spelling.txt: remove 'thead' as a typo
Date: Sat, 22 Jul 2023 18:03:30 -0700 [thread overview]
Message-ID: <20230723010329.674186-1-dfustini@baylibre.com> (raw)
T-Head is a vendor of processor core IP, and they have recently
introduced the RISC-V TH1520 SoC. Remove 'thead' as a typo of 'thread'
to avoid checkpatch incorrectly warning that 'thead' is typo in patches
that add support for T-Head designs in the kernel.
Cc: Conor Dooley <conor@kernel.org>
Cc: Guo Ren <guoren@kernel.org>
Cc: Jisheng Zhang <jszhang@kernel.org>
Link: https://www.t-head.cn/
Signed-off-by: Drew Fustini <dfustini@baylibre.com>
---
scripts/spelling.txt | 1 -
1 file changed, 1 deletion(-)
For example, checkpatch prints the following warnings for 89b0186ab532
("dt-bindings: riscv: Add T-HEAD TH1520 board compatibles"):
$ ./scripts/checkpatch.pl --strict -g 89b0186ab532
WARNING: added, moved or deleted file(s), does MAINTAINERS need updating?
new file mode 100644
WARNING: 'thead' may be misspelled - perhaps 'thread'?
+$id: http://devicetree.org/schemas/riscv/thead.yaml#
^^^^^
WARNING: 'thead' may be misspelled - perhaps 'thread'?
+ - const: thead,th1520
^^^^^
total: 0 errors, 3 warnings, 0 checks, 29 lines checked
The 'thead' typo false positive adds noise to automation like the
linux-riscv patchwork bot:
https://patchwork.kernel.org/project/linux-riscv/patch/20230722-upstream-beaglev-ahead-dts-v1-2-ccda511357f4@baylibre.com/
diff --git a/scripts/spelling.txt b/scripts/spelling.txt
index fc7ba95e86a0..855c4863124b 100644
--- a/scripts/spelling.txt
+++ b/scripts/spelling.txt
@@ -1541,7 +1541,6 @@ temeprature||temperature
temorary||temporary
temproarily||temporarily
temperture||temperature
-thead||thread
theads||threads
therfore||therefore
thier||their
--
2.34.1
next reply other threads:[~2023-07-23 1:08 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-23 1:03 Drew Fustini [this message]
2023-07-23 14:50 ` Guo Ren
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=20230723010329.674186-1-dfustini@baylibre.com \
--to=dfustini@baylibre.com \
--cc=akpm@linux-foundation.org \
--cc=colin.i.king@gmail.com \
--cc=conor@kernel.org \
--cc=didi.debian@cknow.org \
--cc=guoren@kernel.org \
--cc=irogers@google.com \
--cc=jszhang@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=luca.ceresoli@bootlin.com \
--cc=rdunlap@infradead.org \
--cc=sj@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
all inboxes | Powered by JetHome®