[PATCH] modify wrong comment in ubi_leb_map function.

Richard Weinberger richard at nod.at
Wed Mar 30 00:56:42 PDT 2016


Am 29.03.2016 um 20:41 schrieb z00189512:
> Signed-off-by: z00189512 <abc.zhangliang at 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



More information about the linux-mtd mailing list