Re: [PATCH] Fixup in NAND bad block management + fix of misspring .(nand_base.c)

Thomas Gleixner
2006-02-20T11:00:12Z

On Mon, 2006-02-20 at 13:53 +0300, Alexey, Korolev wrote:
> + /* If pattern is given use offset from badblock_pattern structure
> + else use badblockpos which take default values */
> + if (this->badblock_pattern)
> + badblockpos=this->badblock_pattern->offs;
> + else
> + badblockpos=this->badblockpos;

I still do not get why you need all this magic instead of fixing up
this->badblockpos in the first place.

tglx