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

Thomas Gleixner tglx at linutronix.de
Mon Feb 20 06:00:44 EST 2006


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






More information about the linux-mtd mailing list