diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-11-29 01:03:10 +0100 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-11-29 01:03:10 +0100 |
commit | 103e40f6330306753ba11548d53ff25144216236 (patch) | |
tree | daf0e38e82ccc8fabbc314adcddd6ed93602ade9 /drivers/mtd/onenand/onenand_bbt.c | |
parent | [MTD] replace kmalloc+memset with kzalloc (diff) | |
parent | [MTD] OneNAND: Single bit error detection (diff) | |
download | linux-103e40f6330306753ba11548d53ff25144216236.tar.xz linux-103e40f6330306753ba11548d53ff25144216236.zip |
Merge git://git.infradead.org/~kmpark/onenand-mtd-2.6
Diffstat (limited to 'drivers/mtd/onenand/onenand_bbt.c')
-rw-r--r-- | drivers/mtd/onenand/onenand_bbt.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/onenand/onenand_bbt.c b/drivers/mtd/onenand/onenand_bbt.c index e3822c1cdb8d..6cceeca40567 100644 --- a/drivers/mtd/onenand/onenand_bbt.c +++ b/drivers/mtd/onenand/onenand_bbt.c @@ -100,6 +100,7 @@ static int create_bbt(struct mtd_info *mtd, uint8_t *buf, struct nand_bbt_descr bbm->bbt[i >> 3] |= 0x03 << (i & 0x6); printk(KERN_WARNING "Bad eraseblock %d at 0x%08x\n", i >> 1, (unsigned int) from); + mtd->ecc_stats.badblocks++; break; } } |