summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorz00189512 <abc.zhangliang@huawei.com>2016-03-29 21:41:19 +0300
committerRichard Weinberger <richard@nod.at>2016-05-24 16:24:20 +0300
commit960b35d06b6d6b377fd47a8a44e41a96f35ce485 (patch)
tree72960f19004f030a2d055f04f763e346e418e5a2 /drivers/mtd
parent1e0a74f10d76021988ecd9e34e6c0c65d1c5403e (diff)
downloadlinux-960b35d06b6d6b377fd47a8a44e41a96f35ce485.tar.xz
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')
-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 e844887732fb..cc6fa0115c9a 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;