aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi/scan.c
diff options
context:
space:
mode:
authorShinya Kuribayashi <shinya.kuribayashi.px@renesas.com>2010-05-06 06:21:47 -0400
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>2010-05-07 01:33:10 -0400
commit3f5026222e8a16daaa830eec4d72c6745b74407e (patch)
treea3274b82c86184e8b6e39795dbf11ad5d243f4c3 /drivers/mtd/ubi/scan.c
parentaf7ad7a0a6c0c1d8497a25b6b8b3b2ce9f52ff04 (diff)
UBI: fix s/then/than/ typos
Signed-off-by: Shinya Kuribayashi <shinya.kuribayashi.px@renesas.com> Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
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);