[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1459276879-21046-1-git-send-email-abc.zhangliang@huawei.com>
Date: Wed, 30 Mar 2016 02:41:19 +0800
From: z00189512 <abc.zhangliang@...wei.com>
To: <dedekind1@...il.com>, <richard@....at>, <dwmw2@...radead.org>,
<computersforpeace@...il.com>, <abc.zhangliang@...wei.com>
CC: <linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>
Subject: [PATCH] modify wrong comment in ubi_leb_map function.
Signed-off-by: z00189512 <abc.zhangliang@...wei.com>
---
drivers/mtd/ubi/kapi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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;
--
1.9.1
Powered by blists - more mailing lists