scripts/spelling.txt: keep British spelling for "initalise"
PATCH 1/1 scripts/spelling.txt: keep British spelling for "initalise"
These are the only two entries in the file that map a British spelling to an American one:
initalised||initialized
initalise||initialize
doc-guide/checkpatch.rst asks that British and American spellings be left alone, so correcting the missing "i" should not also change the variety of English. Following checkpatch here silently rewrites "initalised" to "initialized" in files that otherwise use British forms; arch/arm64 alone has 58 uses of "initialised" against 132 of "initialized", so both are clearly in use.
Map them to the British forms instead, so the misspelling is still caught while the spelling variety is left to the author.
--- scripts/spelling.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/spelling.txt +2 -2
@@ -872,8 +872,8 @@ infromation||information ingore||ignore inheritence||inheritance inital||initial -initalised||initialized -initalise||initialize +initalised||initialised +initalise||initialise initalized||initialized initalize||initialize initation||initiation
Quoted 13 lines · Hemanth Selam
These are the only two entries in the file that map a British spelling to an American one:
initalised||initialized
initalise||initialize
doc-guide/checkpatch.rstasks that British and American spellings be left alone, so correcting the missing "i" should not also change the variety of English. Following checkpatch here silently rewrites "initalised" to "initialized" in files that otherwise use British forms;arch/arm64alone has 58 uses of "initialised" against 132 of "initialized", so both are clearly in use.
Quoted 6 lines
Map them to the British forms instead, so the misspelling is still caught while the spelling variety is left to the author.
Suggested-by Randy Dunlap <[email protected]>Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>
Thanks.
Quoted 19 lines
--- scripts/spelling.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)scripts/spelling.txt +2
-2@@ -872,8 +872,8 @@ infromation||information ingore||ignore inheritence||inheritance inital||initial -initalised||initialized -initalise||initialize +initalised||initialised +initalise||initialise initalized||initialized initalize||initialize initation||initiation
Signature · 1 line
~Randy