diff options
author | David Woodhouse <dwmw2@infradead.org> | 2006-11-29 00:03:10 +0000 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2006-11-29 00:03:10 +0000 |
commit | 103e40f6330306753ba11548d53ff25144216236 (patch) | |
tree | daf0e38e82ccc8fabbc314adcddd6ed93602ade9 /drivers/mtd/onenand/onenand_bbt.c | |
parent | 95b93a0cd46682c6d9e8eea803fda510cb6b863a (diff) | |
parent | f4f91ac3c833abbd7181ff2122c6b48a653b4e55 (diff) | |
download | kernel_samsung_tuna-103e40f6330306753ba11548d53ff25144216236.zip kernel_samsung_tuna-103e40f6330306753ba11548d53ff25144216236.tar.gz kernel_samsung_tuna-103e40f6330306753ba11548d53ff25144216236.tar.bz2 |
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 e3822c1..6cceeca 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; } } |