Skip to contentSkip to conversation

mtd: ubi: fix typo "occured" in comment

PATCH In review Hemanth Selam 2 participants 2 messages Sep 7

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mtd: ubi: fix typo "occured" in comment

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
---
 drivers/mtd/ubi/wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/ubi/wl.c +1 -1
index 5a0db928a90e..44237de52250 100644
@@ -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.
Signature · 1 line
2.48.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 10 lines · 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
---
  drivers/mtd/ubi/wl.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 14 lines
drivers/mtd/ubi/wl.c +1 -1
index 5a0db928a90e..44237de52250 100644
@@ -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.