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

Alexey, Korolev
2006-03-20T14:07:02Z

[-- Attachment #1: Type: text/plain, Size: 361 bytes --]

Hello Thomas,

I appologize for delay. I was away on vacation.

I your point of view regarding BB mabnagement is clear.
Fixup of badblockpos is rather suitable.

There was another very small fix for a missprint in nand_base.c. I think
it shouldn't raise many objections.
If you don't have any would you please check in the patch below ?

Thanks,
Alexey

[-- Attachment #2: miss_print_fixup.diff --]
[-- Type: text/plain, Size: 355 bytes --]

diff -aur b/drivers/mtd/nand/nand_base.c c/drivers/mtd/nand/nand_base.c
--- b/drivers/mtd/nand/nand_base.c 2006-02-09 20:05:28.447558688 +0300
+++ c/drivers/mtd/nand/nand_base.c 2006-02-09 20:14:58.182945744 +0300
@@ -1700,7 +1710,7 @@
len += num;
fsbuf += num;
}
- ofs += mtd->oobavail;
+ ofs += mtd->oobsize;
}
return this->oob_buf;
}