* [PATCH] [MTD] UBI: fix typos in wl.c
@ 2007-03-21 15:07 Alexander Schmidt
2007-03-21 15:19 ` Artem Bityutskiy
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Schmidt @ 2007-03-21 15:07 UTC (permalink / raw)
To: Artem.Bityutskiy, linux-mtd@lists.infradead.org
Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
---
drivers/mtd/ubi/wl.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
--- dedekind-ubi-2.6.orig/drivers/mtd/ubi/wl.c
+++ dedekind-ubi-2.6/drivers/mtd/ubi/wl.c
@@ -811,7 +811,7 @@ static int schedule_erase(struct ubi_dev
* @wrk: the work object
* @cancel: non-zero if the worker has to free memory and exit
*
- * This function copies a less worn out physical eraseblock to a more worn out
+ * This function copies a more worn out physical eraseblock to a less worn out
* one. Returns zero in case of success and a negative error code in case of
* failure.
*/
@@ -891,7 +891,7 @@ static int wear_leveling_worker(struct u
ubi_assert(!ubi->move_from && !ubi->move_to);
ubi_assert(!ubi->move_to_put && !ubi->move_from_put);
ubi->move_from = e1;
- ubi->move_to = e1;
+ ubi->move_to = e2;
spin_unlock(&ubi->wl_lock);
/*
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] [MTD] UBI: fix typos in wl.c
2007-03-21 15:07 [PATCH] [MTD] UBI: fix typos in wl.c Alexander Schmidt
@ 2007-03-21 15:19 ` Artem Bityutskiy
0 siblings, 0 replies; 2+ messages in thread
From: Artem Bityutskiy @ 2007-03-21 15:19 UTC (permalink / raw)
To: Alexander Schmidt; +Cc: Artem.Bityutskiy, linux-mtd@lists.infradead.org
On Wed, 2007-03-21 at 16:07 +0100, Alexander Schmidt wrote:
> Signed-off-by: Alexander Schmidt <alexs@linux.vnet.ibm.com>
> ---
> drivers/mtd/ubi/wl.c | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
Well spotted, committed, kiitos :)
--
Best regards,
Artem Bityutskiy (Битюцкий Артём)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-21 15:20 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-21 15:07 [PATCH] [MTD] UBI: fix typos in wl.c Alexander Schmidt
2007-03-21 15:19 ` Artem Bityutskiy
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox