scripts/spelling.txt: remove 'thead' as a typo
PATCH 1/1 scripts/spelling.txt: remove 'thead' as a typo
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.
--- 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/
scripts/spelling.txt +0 -1
@@ -1541,7 +1541,6 @@ temeprature||temperature temorary||temporary temproarily||temporarily temperture||temperature -thead||thread theads||threads therfore||therefore thier||their
Signature · 1 line
2.34.1
Good catch, thank you very much.
Quoted 50 lines · Drew Fustini
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 <[email protected]>Cc Guo Ren <[email protected]>Cc Jisheng Zhang <[email protected]>Signed-off-by Drew Fustini <[email protected]>--- 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 100644WARNING: '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/scripts/spelling.txt +0
-2@@ -1541,7 +1541,6 @@ temeprature||temperature temorary||temporary temproarily||temporarily temperture||temperature -thead||thread theads||threads therfore||therefore thier||their --2.34.1
Signature · 2 lines
Best Regards Guo Ren