summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/ubi
diff options
context:
space:
mode:
authorz00189512 <abc.zhangliang@huawei.com>2016-03-30 02:41:19 +0800
committerRichard Weinberger <richard@nod.at>2016-05-24 15:24:20 +0200
commit960b35d06b6d6b377fd47a8a44e41a96f35ce485 (patch)
tree72960f19004f030a2d055f04f763e346e418e5a2 /drivers/mtd/ubi
parent1e0a74f10d76021988ecd9e34e6c0c65d1c5403e (diff)
downloadop-kernel-dev-960b35d06b6d6b377fd47a8a44e41a96f35ce485.zip
op-kernel-dev-960b35d06b6d6b377fd47a8a44e41a96f35ce485.tar.gz
UBI: Modify wrong comment in ubi_leb_map function.
Signed-off-by: z00189512 <abc.zhangliang@huawei.com> Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'drivers/mtd/ubi')
-rw-r--r--drivers/mtd/ubi/kapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/ubi/kapi.c b/drivers/mtd/ubi/kapi.c
index e844887..cc6fa01 100644
--- a/drivers/mtd/ubi/kapi.c
+++ b/drivers/mtd/ubi/kapi.c
@@ -708,7 +708,7 @@ int ubi_leb_map(struct ubi_volume_desc *desc, int lnum)
struct ubi_volume *vol = desc->vol;
struct ubi_device *ubi = vol->ubi;
- dbg_gen("unmap LEB %d:%d", vol->vol_id, lnum);
+ dbg_gen("map LEB %d:%d", vol->vol_id, lnum);
if (desc->mode == UBI_READONLY || vol->vol_type == UBI_STATIC_VOLUME)
return -EROFS;
OpenPOWER on IntegriCloud