Skip to contentSkip to conversation

scripts/spelling.txt: keep British spelling for "initalise"

PATCH Applied Hemanth Selam 2 participants 2 messages Sep 7

lore
Share & tools
lore
#0 lore raw

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.

Assisted-by Cursor:claude-opus-5
---
 scripts/spelling.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/spelling.txt +2 -2
index 3372873cd7bb..9ec2529bc584 100644
@@ -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
Acked-by on v1 1/1
#1 lore raw
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.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.

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.

Assisted-by Cursor:claude-opus-5

Thanks.

Quoted 19 lines
---
 scripts/spelling.txt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
scripts/spelling.txt +2 -2
index 3372873cd7bb..9ec2529bc584 100644
@@ -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