[PATCH] [MTD] [NAND]: nand_default_mark_blockbad() doesn't work when flash-based bbt not enabled

Artem Bityutskiy dedekind at infradead.org
Fri Oct 20 11:51:18 EDT 2006


On Fri, 2006-10-20 at 17:36 +0200, Ricard Wanderlof wrote:
>   		ofs += mtd->oobsize;
> -		chip->ops.len = 2;
> +		chip->ops.ooblen = 2;
>   		chip->ops.datbuf = NULL;
>   		chip->ops.oobbuf = buf;
>   		chip->ops.ooboffs = chip->badblockpos & ~0x01;

What is len and ooblen? Who initializes len then? I see len is used
later on.

-- 
Best regards,
Artem Bityutskiy (Битюцкий Артём)





More information about the linux-mtd mailing list