diff options
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-07-22 15:32:51 -0400 |
---|---|---|
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | 2007-10-14 06:10:20 -0400 |
commit | 8d2d4011f1398d984819c65043abb559c451a3c8 (patch) | |
tree | a563add73b96dd245acffbe8b3e3288441fce7f8 /drivers/mtd/ubi/wl.c | |
parent | 8bc22961966b845aa5f965be30771902146c2fcc (diff) |
UBI: add more prints
I hit those situations and found out lack of print messages. Add more prints
when erase problems occur.
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Diffstat (limited to 'drivers/mtd/ubi/wl.c')
-rw-r--r-- | drivers/mtd/ubi/wl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index a5a9b8d87302..12b25e5b7b81 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c | |||
@@ -1093,6 +1093,7 @@ static int erase_worker(struct ubi_device *ubi, struct ubi_work *wl_wrk, | |||
1093 | return err; | 1093 | return err; |
1094 | } | 1094 | } |
1095 | 1095 | ||
1096 | ubi_err("failed to erase PEB %d, error %d", pnum, err); | ||
1096 | kfree(wl_wrk); | 1097 | kfree(wl_wrk); |
1097 | kmem_cache_free(wl_entries_slab, e); | 1098 | kmem_cache_free(wl_entries_slab, e); |
1098 | 1099 | ||