mtd: ubi: fix typo "occured" in comment
Subsystems (2)
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
Signed-off-by Hemanth Selam <[email protected]>
--- drivers/mtd/ubi/wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/ubi/wl.c +1 -1
@@ -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
Quoted 10 lines · Hemanth Selam
Correct "occured" to "occurred", reported by
scripts/checkpatch.plusing the misspelling list inscripts/spelling.txt. Only touches comments, no code changes.Assisted-by Cursor:claude-opus-5Signed-off-by Hemanth Selam <[email protected]>--- drivers/mtd/ubi/wl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by Zhihao Cheng <[email protected]>
Quoted 14 lines
drivers/mtd/ubi/wl.c +1
-1@@ -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.