projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mtd: replace DEBUG() with pr_debug()
[deliverable/linux.git]
/
drivers
/
mtd
/
nand
/
nand_bch.c
diff --git
a/drivers/mtd/nand/nand_bch.c
b/drivers/mtd/nand/nand_bch.c
index 0f931e757116fa73b904c2783e46c29cc5a1312b..16cca9b990521b7fe1e8d1f879efe7d55f4b19ba 100644
(file)
--- a/
drivers/mtd/nand/nand_bch.c
+++ b/
drivers/mtd/nand/nand_bch.c
@@
-93,7
+93,7
@@
int nand_bch_correct_data(struct mtd_info *mtd, unsigned char *buf,
buf[errloc[i] >> 3] ^= (1 << (errloc[i] & 7));
/* else error in ecc, no action needed */
-
DEBUG(MTD_DEBUG_LEVEL0,
"%s: corrected bitflip %u\n",
+
pr_debug(
"%s: corrected bitflip %u\n",
__func__, errloc[i]);
}
} else if (count < 0) {
This page took
0.025735 seconds
and
5
git commands to generate.