projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ebb4c9
)
UBI: Fix debug message
author
Richard Weinberger
<richard@nod.at>
Fri, 3 Jul 2015 08:36:16 +0000
(10:36 +0200)
committer
Richard Weinberger
<richard@nod.at>
Sat, 3 Oct 2015 18:09:55 +0000
(20:09 +0200)
We have to use j instead of i. i is the volume id
and not the block.
Reported-by: Alexander.Block@continental-corporation.com
Signed-off-by: Richard Weinberger <richard@nod.at>
Acked-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/ubi/eba.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/ubi/eba.c
b/drivers/mtd/ubi/eba.c
index 51bca035cd83c5b60d8912d22f358984f13abe1f..5b9834cf2820f184577345b74993868149bdc985 100644
(file)
--- a/
drivers/mtd/ubi/eba.c
+++ b/
drivers/mtd/ubi/eba.c
@@
-1358,7
+1358,7
@@
int self_check_eba(struct ubi_device *ubi, struct ubi_attach_info *ai_fastmap,
continue;
ubi_err(ubi, "LEB:%i:%i is PEB:%i instead of %i!",
- vol->vol_id,
i
, fm_eba[i][j],
+ vol->vol_id,
j
, fm_eba[i][j],
scan_eba[i][j]);
ubi_assert(0);
}