Skip to contentSkip to conversation

ubi: fastmap: Fix typo in comments

PATCH In review Zhang Jiaming 2 participants 2 messages Jul 4, 2022 – Jul 8, 2022

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

PATCH 1/1 ubi: fastmap: Fix typo in comments

There are a typo(dont't) in comments.
Fix it.

---
 drivers/mtd/ubi/wl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/ubi/wl.c +1 -1
index 55bae06cf408..ab413a674783 100644
@@ -1464,7 +1464,7 @@ static bool scrub_possible(struct ubi_device *ubi, struct ubi_wl_entry *e)
  * ubi_bitflip_check - Check an eraseblock for bitflips and scrub it if needed.
  * @ubi: UBI device description object
  * @pnum: the physical eraseblock to schedule
- * @force: dont't read the block, assume bitflips happened and take action.
+ * @force: don't read the block, assume bitflips happened and take action.
  *
  * This function reads the given eraseblock and checks if bitflips occured.
  * In case of bitflips, the eraseblock is scheduled for scrubbing.
Signature · 1 line
2.34.1
reviewer Reviewed-by on v1 1/1
#1 lore raw
Quoted 14 lines · Zhang Jiaming

There are a typo(dont't) in comments.
Fix it.

---
  drivers/mtd/ubi/wl.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mtd/ubi/wl.c +0 -0
index 55bae06cf408..ab413a674783 100644

drivers/mtd/ubi/wl.c static bool scrub_possible(struct ubi_device *ubi, struct ubi_wl_entry *e) · line 1470

Quoted 8 lines
drivers/mtd/ubi/wl.c +1 -1
@@ -1464,7 +1464,7 @@ static bool scrub_possible(struct ubi_device *ubi, struct ubi_wl_entry *e)
   * ubi_bitflip_check - Check an eraseblock for bitflips and scrub it if needed.
   * @ubi: UBI device description object
   * @pnum: the physical eraseblock to schedule
- * @force: dont't read the block, assume bitflips happened and take action.
+ * @force: don't read the block, assume bitflips happened and take action.
   *
   * This function reads the given eraseblock and checks if bitflips occured.
   * In case of bitflips, the eraseblock is scheduled for scrubbing.

______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/