All of lore.kernel.org
 help / color / mirror / Atom feed
From: Brian Norris <computersforpeace@gmail.com>
To: Richard Weinberger <richard@nod.at>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [PATCH 3/3] UBI: Fix debug message
Date: Mon, 28 Sep 2015 18:35:26 -0700	[thread overview]
Message-ID: <20150929013526.GW31505@google.com> (raw)
In-Reply-To: <1435912576-27878-3-git-send-email-richard@nod.at>

Digging through some old stuff:

On Fri, Jul 03, 2015 at 10:36:16AM +0200, Richard Weinberger wrote:
> We have to use j instead of i. i is the volume id
> and not the block.
> 
> Reported-by: Alexander.Block@continental-corporation.com
> Signed-off-by: Richard Weinberger <richard@nod.at>

Acked-by: Brian Norris <computersforpeace@gmail.com>

> ---
>  drivers/mtd/ubi/eba.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/mtd/ubi/eba.c b/drivers/mtd/ubi/eba.c
> index b55dc8e..98595c5 100644
> --- a/drivers/mtd/ubi/eba.c
> +++ b/drivers/mtd/ubi/eba.c
> @@ -1409,7 +1409,7 @@ int self_check_eba(struct ubi_device *ubi, struct ubi_attach_info *ai_fastmap,
>  					continue;
>  
>  				ubi_err(ubi, "LEB:%i:%i is PEB:%i instead of %i!",
> -					vol->vol_id, i, fm_eba[i][j],
> +					vol->vol_id, j, fm_eba[i][j],
>  					scan_eba[i][j]);
>  				ubi_assert(0);
>  			}
> -- 
> 1.8.4.5
> 
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

  reply	other threads:[~2015-09-29  1:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-03  8:36 [PATCH 1/3] UBI: Fastmap: Simplify expression Richard Weinberger
2015-07-03  8:36 ` [PATCH 2/3] UBI: Fix typo in comment Richard Weinberger
2015-09-29  1:36   ` Brian Norris
2015-10-03 18:10     ` Richard Weinberger
2015-07-03  8:36 ` [PATCH 3/3] UBI: Fix debug message Richard Weinberger
2015-09-29  1:35   ` Brian Norris [this message]
2015-10-03 18:10     ` Richard Weinberger
2015-09-29  1:35 ` [PATCH 1/3] UBI: Fastmap: Simplify expression Brian Norris
2015-10-03 18:09   ` Richard Weinberger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150929013526.GW31505@google.com \
    --to=computersforpeace@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=richard@nod.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.