Re: [PATCH] tools/testing: fix typo "occuring" in comment
From: Alison Schofield
Date: Fri Sep 04 2026 - 13:09:32 EST
On Fri, Sep 04, 2026 at 04:10:12PM +0530, Hemanth Selam wrote:
> Correct "occuring" to "occurring", reported by scripts/checkpatch.pl using
> the misspelling list in scripts/spelling.txt. Only touches comments, no
> code changes.
Hi Hemanth,
Spelling corrections to code comments, which are not user facing,
are too trivial to be worth the churn. Sometimes folks make a spelling
correction like this while they are doing 'something else' in that
code.
For for CXL subsystem, the better place to point your tool is at the
mailing list where you are welcome to review patches and reply with
spelling issues in any patch commit messaging, user facing messaging,
and code comments - before the patch merges.
-- Alison
>
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@xxxxxxxxx>
> ---
> tools/testing/cxl/test/mem.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/testing/cxl/test/mem.c b/tools/testing/cxl/test/mem.c
> index 7b756000a1a6..3d8a6d2b69d7 100644
> --- a/tools/testing/cxl/test/mem.c
> +++ b/tools/testing/cxl/test/mem.c
> @@ -246,7 +246,7 @@ static void mes_add_event(struct mock_event_store *mes,
> }
>
> /*
> - * Vary the number of events returned to simulate events occuring while the
> + * Vary the number of events returned to simulate events occurring while the
> * logs are being read.
> */
> static atomic_t event_counter = ATOMIC_INIT(0);
> --
> 2.48.1
>