From ae5eeb06ed37914d6a47a1f414a9165763ac5677 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Tue, 23 Jul 2013 16:01:00 +0200 Subject: [PATCH] mtd: Turn 'bad block at' message into pr_debug As bad blocks get more and more on modern nand flashes this message starts getting annoying. Signed-off-by: Sascha Hauer --- drivers/mtd/nand/nand_bbt.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/mtd/nand/nand_bbt.c b/drivers/mtd/nand/nand_bbt.c index 11f7a8b73..b0548a3e9 100644 --- a/drivers/mtd/nand/nand_bbt.c +++ b/drivers/mtd/nand/nand_bbt.c @@ -218,11 +218,7 @@ static int read_bbt(struct mtd_info *mtd, uint8_t *buf, int page, int num, mtd->ecc_stats.bbtblocks++; continue; } - /* - * Leave it for now, if it's matured we can - * move this message to pr_debug. - */ - pr_info("nand_read_bbt: bad block at 0x%012llx\n", + pr_debug("nand_read_bbt: bad block at 0x%012llx\n", (loff_t)((offs << 2) + (act >> 1)) << this->bbt_erase_shift); /* Factory marked bad or worn out? */ if (tmp == 0)