[mtd-utils] nanddump: print ecc.stat info after reading
Mike Frysinger
vapier at gentoo.org
Fri May 10 15:01:24 EDT 2013
On Friday 10 May 2013 04:32:50 Gupta, Pekon wrote:
> One more request..
> Shouldn't the following ecc.stat info moved after actual mtd_read() ?
>
> fprintf(stderr, "ECC failed: %d\n", stat1.failed);
> fprintf(stderr, "ECC corrected: %d\n", stat1.corrected);
> fprintf(stderr, "Number of bad blocks: %d\n", stat1.badblocks);
> fprintf(stderr, "Number of bbt blocks: %d\n", stat1.bbtblocks);
>
> Currently this info is printed, before the actual reads happen on
> MTD device. I'm not sure if this was intended for some other purpose?
i think the idea is that header/device info is shown first before we dump each
page. so all that info should come first.
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20130510/d2426019/attachment.sig>
More information about the linux-mtd
mailing list