aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/coldfire/patches/032-Change-some-jffs2-warning-to-debug-info.patch
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux/coldfire/patches/032-Change-some-jffs2-warning-to-debug-info.patch')
-rw-r--r--target/linux/coldfire/patches/032-Change-some-jffs2-warning-to-debug-info.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/target/linux/coldfire/patches/032-Change-some-jffs2-warning-to-debug-info.patch b/target/linux/coldfire/patches/032-Change-some-jffs2-warning-to-debug-info.patch
new file mode 100644
index 000000000..3d1eabc23
--- /dev/null
+++ b/target/linux/coldfire/patches/032-Change-some-jffs2-warning-to-debug-info.patch
@@ -0,0 +1,33 @@
+From 8834b24adf7efc8a50fcbc153910276b355fb4e9 Mon Sep 17 00:00:00 2001
+From: Alison Wang <b18965@freescale.com>
+Date: Thu, 4 Aug 2011 09:59:47 +0800
+Subject: [PATCH 32/52] Change some jffs2 warning to debug info
+
+As the NFC issue, the jffs2 verify buf may fail sometimes.
+This patch move this kind of warning to debug information.
+
+Signed-off-by: Alison Wang <b18965@freescale.com>
+---
+ fs/jffs2/wbuf.c | 8 ++++----
+ 1 files changed, 4 insertions(+), 4 deletions(-)
+
+--- a/fs/jffs2/wbuf.c
++++ b/fs/jffs2/wbuf.c
+@@ -246,13 +246,13 @@ static int jffs2_verify_write(struct jff
+ else
+ eccstr = "OK or unused";
+
+- printk(KERN_WARNING "Write verify error (ECC %s) at %08x. Wrote:\n",
++ printk(KERN_DEBUG "Write verify error (ECC %s) at %08x. Wrote:\n",
+ eccstr, c->wbuf_ofs);
+- print_hex_dump(KERN_WARNING, "", DUMP_PREFIX_OFFSET, 16, 1,
++ print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 16, 1,
+ c->wbuf, c->wbuf_pagesize, 0);
+
+- printk(KERN_WARNING "Read back:\n");
+- print_hex_dump(KERN_WARNING, "", DUMP_PREFIX_OFFSET, 16, 1,
++ printk(KERN_DEBUG "Read back:\n");
++ print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 16, 1,
+ c->wbuf_verify, c->wbuf_pagesize, 0);
+
+ return -EIO;