Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1366916 > unrolled thread
| Started by | z00189512 <abc.zhangliang@huawei.com> |
|---|---|
| First post | 2016-03-30 08:50 +0200 |
| Last post | 2016-03-30 10:00 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] modify wrong comment in ubi_leb_map function. z00189512 <abc.zhangliang@huawei.com> - 2016-03-30 08:50 +0200
Re: [PATCH] modify wrong comment in ubi_leb_map function. Richard Weinberger <richard@nod.at> - 2016-03-30 10:00 +0200
| From | z00189512 <abc.zhangliang@huawei.com> |
|---|---|
| Date | 2016-03-30 08:50 +0200 |
| Subject | [PATCH] modify wrong comment in ubi_leb_map function. |
| Message-ID | <rii70-1t9-5@gated-at.bofh.it> |
Signed-off-by: z00189512 <abc.zhangliang@huawei.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
[toc] | [next] | [standalone]
| From | Richard Weinberger <richard@nod.at> |
|---|---|
| Date | 2016-03-30 10:00 +0200 |
| Message-ID | <rijcJ-2aT-13@gated-at.bofh.it> |
| In reply to | #1366916 |
Am 29.03.2016 um 20:41 schrieb z00189512:
> Signed-off-by: z00189512 <abc.zhangliang@huawei.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);
Good catch!
Thanks,
//richard
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web