Re: [PATCH 1/4] Documentation/arch: fix typo "initalised" in comment
From: Randy Dunlap
Date: Mon Sep 07 2026 - 01:27:11 EST
Hi,
On 9/6/26 9:39 PM, Hemanth Selam wrote:
> Thanks for the pointer, and you are right to raise it - I checked and this
> patch does fall foul of that rule.
>
> The word in Documentation/arch/arm64/booting.rst is "zero-initalised", and
> I changed it to "zero-initialized", which quietly moves the file from
> British to American spelling. The minimal fix is "zero-initialised".
>
> I followed checkpatch here, and checkpatch is following the dictionary:
>
> scripts/spelling.txt:875:initalised||initialized
> scripts/spelling.txt:874:initalise||initialize
>
> Those are the only two entries in the file that map a British form to an
> American one, and by the rule you quoted they should read
>
> initalise||initialise
> initalised||initialised
>
> so that the misspelling is corrected without changing the variety of
> English in the file. arch/arm64 currently has 58 uses of "initialised"
> against 132 of "initialized", so both spellings are clearly in use there.
>
> I will send a v2 that uses "zero-initialised". Would a separate patch
> fixing those two spelling.txt entries be welcome, or is that better left
> alone?
IMO the 2 entries in spelling.txt should be corrected.
thanks.
--
~Randy