Skip to content

Commit

Permalink
mtd: nand: Eliminate noisey "uncorrectable error" messages
Browse files Browse the repository at this point in the history
Other layers of the stack give more informative messages when __nand_correct_data() fails

Signed-off-by: Steve Sakoman <steve@sakoman.com>
  • Loading branch information
sakoman committed Aug 6, 2012
1 parent 416e5fd commit ffa683e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mtd/nand/nand_ecc.c
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ int __nand_correct_data(unsigned char *buf,
if ((bitsperbyte[b0] + bitsperbyte[b1] + bitsperbyte[b2]) == 1)
return 1; /* error in ECC data; no action needed */

printk(KERN_ERR "uncorrectable error : ");
// printk(KERN_ERR "uncorrectable error : ");
return -1;
}
EXPORT_SYMBOL(__nand_correct_data);
Expand Down

0 comments on commit ffa683e

Please sign in to comment.