projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e4a008
)
UBI: print reserved_peb when it is too large
author
Deepak Saxena
<dsaxena@plexity.net>
Wed, 8 Oct 2008 19:56:24 +0000
(12:56 -0700)
committer
Artem Bityutskiy
<Artem.Bityutskiy@nokia.com>
Thu, 9 Oct 2008 13:19:04 +0000
(16:19 +0300)
This patch makes debugging a missconfigured UBI a bit easier
by providing the needed information in the boot log.
Signed-off-by: Deepak Saxena <dsaxena@laptop.org>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
drivers/mtd/ubi/vtbl.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/ubi/vtbl.c
b/drivers/mtd/ubi/vtbl.c
index 217d0e111b2a4652212f563cb9baf5255f2bbdca..333c8941552fbe3067be1a9a40fd3c0f704386ad 100644
(file)
--- a/
drivers/mtd/ubi/vtbl.c
+++ b/
drivers/mtd/ubi/vtbl.c
@@
-244,8
+244,8
@@
static int vtbl_check(const struct ubi_device *ubi,
}
if (reserved_pebs > ubi->good_peb_count) {
- dbg_err("too large reserved_pebs, good PEBs %d",
- ubi->good_peb_count);
+ dbg_err("too large reserved_pebs
%d
, good PEBs %d",
+
reserved_pebs,
ubi->good_peb_count);
err = 9;
goto bad;
}