linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] modify wrong comment in ubi_leb_map function.
@ 2016-03-29 18:41 z00189512
  2016-03-30  7:56 ` Richard Weinberger
  0 siblings, 1 reply; 2+ messages in thread
From: z00189512 @ 2016-03-29 18:41 UTC (permalink / raw)
  To: dedekind1, richard, dwmw2, computersforpeace, abc.zhangliang
  Cc: linux-mtd, linux-kernel

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] modify wrong comment in ubi_leb_map function.
  2016-03-29 18:41 [PATCH] modify wrong comment in ubi_leb_map function z00189512
@ 2016-03-30  7:56 ` Richard Weinberger
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Weinberger @ 2016-03-30  7:56 UTC (permalink / raw)
  To: z00189512, dedekind1, dwmw2, computersforpeace; +Cc: linux-mtd, linux-kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-03-30  7:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-03-29 18:41 [PATCH] modify wrong comment in ubi_leb_map function z00189512
2016-03-30  7:56 ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).