[PATCH] [MTD] NAND nand_bbt.c: badblock_pattern initialization
Konstantin Baydarov
kbaidarov at dev.rtsoft.ru
Thu Oct 5 07:54:08 EDT 2006
In case of AND chips(NAND_IS_AND) (struct nand_chip
*)chip->badblock_pattern stay uninitialized, see nand_default_bbt().
It seems badblock_pattern is used only in nand_scan_bbt(), but it's
better to initialize badblock_pattern before calling nand_scan_bbt(),
like it's done for other chips.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bbpattern_init.patch
Type: text/x-patch
Size: 628 bytes
Desc: not available
Url : http://lists.infradead.org/pipermail/linux-mtd/attachments/20061005/e3e2a5cd/attachment.bin
More information about the linux-mtd
mailing list