summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorZhang Jiaming <jiaming@nfschina.com>2022-07-04 10:13:56 +0800
committerRichard Weinberger <richard@nod.at>2022-09-21 11:32:27 +0200
commitb58b25280003f078f9b861656ca097074267f75a (patch)
tree8f4a78a132a8d24e8c1e79cf8bea985c1d7ada2b /drivers/mtd
parentec1f97f501a746403990515bbefcaecd7562b042 (diff)
downloadlinux-stable-b58b25280003f078f9b861656ca097074267f75a.tar.gz
linux-stable-b58b25280003f078f9b861656ca097074267f75a.tar.bz2
linux-stable-b58b25280003f078f9b861656ca097074267f75a.zip
ubi: fastmap: Fix typo in comments
There are a typo(dont't) in comments. Fix it. Signed-off-by: Zhang Jiaming <jiaming@nfschina.com> Reviewed-by: Zhihao Cheng <chengzhihao1@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/ubi/wl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c
index 0fadd55beee0..68eb0f21b3fe 100644
--- a/drivers/mtd/ubi/wl.c
+++ b/drivers/mtd/ubi/wl.c
@@ -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.