mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] mtd: ubi: fix typo "occured" in comment
@ 2026-09-07  6:31 Hemanth Selam
  2026-09-07  6:47 ` Zhihao Cheng
  0 siblings, 1 reply; 2+ messages in thread
From: Hemanth Selam @ 2026-09-07  6:31 UTC (permalink / raw)
  To: Richard Weinberger, Zhihao Cheng, Miquel Raynal, Vignesh Raghavendra
  Cc: linux-mtd, linux-kernel

Correct "occured" to "occurred", reported by scripts/checkpatch.pl using
the misspelling list in scripts/spelling.txt.  Only touches comments, no
code changes.

Assisted-by: Cursor:claude-opus-5
Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
---
 drivers/mtd/ubi/wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c
index 5a0db928a90e..44237de52250 100644
--- a/drivers/mtd/ubi/wl.c
+++ b/drivers/mtd/ubi/wl.c
@@ -1486,7 +1486,7 @@ static bool scrub_possible(struct ubi_device *ubi, struct ubi_wl_entry *e)
  * @pnum: the physical eraseblock to schedule
  * @force: don't read the block, assume bitflips happened and take action.
  *
- * This function reads the given eraseblock and checks if bitflips occured.
+ * This function reads the given eraseblock and checks if bitflips occurred.
  * In case of bitflips, the eraseblock is scheduled for scrubbing.
  * If scrubbing is forced with @force, the eraseblock is not read,
  * but scheduled for scrubbing right away.
-- 
2.48.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] mtd: ubi: fix typo "occured" in comment
  2026-09-07  6:31 [PATCH] mtd: ubi: fix typo "occured" in comment Hemanth Selam
@ 2026-09-07  6:47 ` Zhihao Cheng
  0 siblings, 0 replies; 2+ messages in thread
From: Zhihao Cheng @ 2026-09-07  6:47 UTC (permalink / raw)
  To: Hemanth Selam, Richard Weinberger, Miquel Raynal, Vignesh Raghavendra
  Cc: linux-mtd, linux-kernel

在 2026/9/7 14:31, Hemanth Selam 写道:
> Correct "occured" to "occurred", reported by scripts/checkpatch.pl using
> the misspelling list in scripts/spelling.txt.  Only touches comments, no
> code changes.
> 
> Assisted-by: Cursor:claude-opus-5
> Signed-off-by: Hemanth Selam <hemanth.selam@gmail.com>
> ---
>   drivers/mtd/ubi/wl.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 

Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com>
> diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c
> index 5a0db928a90e..44237de52250 100644
> --- a/drivers/mtd/ubi/wl.c
> +++ b/drivers/mtd/ubi/wl.c
> @@ -1486,7 +1486,7 @@ static bool scrub_possible(struct ubi_device *ubi, struct ubi_wl_entry *e)
>    * @pnum: the physical eraseblock to schedule
>    * @force: don't read the block, assume bitflips happened and take action.
>    *
> - * This function reads the given eraseblock and checks if bitflips occured.
> + * This function reads the given eraseblock and checks if bitflips occurred.
>    * In case of bitflips, the eraseblock is scheduled for scrubbing.
>    * If scrubbing is forced with @force, the eraseblock is not read,
>    * but scheduled for scrubbing right away.
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-07  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-07  6:31 [PATCH] mtd: ubi: fix typo "occured" in comment Hemanth Selam
2026-09-07  6:47 ` Zhihao Cheng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®