aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/scan.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd/ubi/scan.c')
-rw-r--r--drivers/mtd/ubi/scan.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/ubi/scan.c b/drivers/mtd/ubi/scan.c
index dc5f688699da..aed19f33b8f3 100644
--- a/drivers/mtd/ubi/scan.c
+++ b/drivers/mtd/ubi/scan.c
@@ -231,7 +231,7 @@ static struct ubi_scan_volume *add_volume(struct ubi_scan_info *si, int vol_id,
231 * case of success this function returns a positive value, in case of failure, a 231 * case of success this function returns a positive value, in case of failure, a
232 * negative error code is returned. The success return codes use the following 232 * negative error code is returned. The success return codes use the following
233 * bits: 233 * bits:
234 * o bit 0 is cleared: the first PEB (described by @seb) is newer then the 234 * o bit 0 is cleared: the first PEB (described by @seb) is newer than the
235 * second PEB (described by @pnum and @vid_hdr); 235 * second PEB (described by @pnum and @vid_hdr);
236 * o bit 0 is set: the second PEB is newer; 236 * o bit 0 is set: the second PEB is newer;
237 * o bit 1 is cleared: no bit-flips were detected in the newer LEB; 237 * o bit 1 is cleared: no bit-flips were detected in the newer LEB;
@@ -452,7 +452,7 @@ int ubi_scan_add_used(struct ubi_device *ubi, struct ubi_scan_info *si,
452 452
453 if (cmp_res & 1) { 453 if (cmp_res & 1) {
454 /* 454 /*
455 * This logical eraseblock is newer then the one 455 * This logical eraseblock is newer than the one
456 * found earlier. 456 * found earlier.
457 */ 457 */
458 err = validate_vid_hdr(vid_hdr, sv, pnum); 458 err = validate_vid_hdr(vid_hdr, sv, pnum);