diff options
author | Richard Weinberger <richard@nod.at> | 2015-07-03 10:36:16 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2015-10-03 20:09:55 +0200 |
commit | 5347417e56b68354faf315ca42c99cfb0c02f1dd (patch) | |
tree | e02ca550ed002732368c68d7816ef978b37dd835 /drivers | |
parent | 4ebb4c9dcbe88a683b083f03176612ee8e87befb (diff) | |
download | op-kernel-dev-5347417e56b68354faf315ca42c99cfb0c02f1dd.zip op-kernel-dev-5347417e56b68354faf315ca42c99cfb0c02f1dd.tar.gz |
UBI: Fix debug message
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mtd/ubi/eba.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c index 51bca03..5b9834c 100644 --- 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); } |