[PATCH] nanddump: fix initialization of bad blocks oob data buffer

Mike Frysinger vapier.adi at gmail.com
Mon Oct 11 13:07:03 EDT 2010


On Mon, Oct 11, 2010 at 05:19, Baruch Siach wrote:
> When dumping oob data of a bad block, initialize oobbuf with 0xff, instead of
> readbuf.  This avoids bogus oob data on output.
>
> Signed-off-by: Baruch Siach <baruch at tkos.co.il>

Acked-by: Mike Frysinger <vapier at gentoo.org>
-mike



More information about the linux-mtd mailing list