commit | 8d2d4011f1398d984819c65043abb559c451a3c8 | [log] [tgz] |
---|---|---|
author | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Sun Jul 22 22:32:51 2007 +0300 |
committer | Artem Bityutskiy <Artem.Bityutskiy@nokia.com> | Sun Oct 14 13:10:20 2007 +0300 |
tree | a563add73b96dd245acffbe8b3e3288441fce7f8 | |
parent | 8bc22961966b845aa5f965be30771902146c2fcc [diff] [blame] |
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>
diff --git a/drivers/mtd/ubi/wl.c b/drivers/mtd/ubi/wl.c index a5a9b8d..12b25e5 100644 --- a/drivers/mtd/ubi/wl.c +++ b/drivers/mtd/ubi/wl.c
@@ -1093,6 +1093,7 @@ return err; } + ubi_err("failed to erase PEB %d, error %d", pnum, err); kfree(wl_wrk); kmem_cache_free(wl_entries_slab, e);