aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/coldfire/patches/032-Change-some-jffs2-warning-to-debug-info.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2012-05-01 07:00:17 +0000
committerImre Kaloz <kaloz@openwrt.org>2012-05-01 07:00:17 +0000
commit9d2b3add2a5d7fce77952c77332101b53640a3a4 (patch)
tree7e3c3b52269e3c7564c6a88d67dc4ea6219b041c /target/linux/coldfire/patches/032-Change-some-jffs2-warning-to-debug-info.patch
parent280b7f6d6bcf49ee883d766e666e49394148beb1 (diff)
downloadupstream-9d2b3add2a5d7fce77952c77332101b53640a3a4.tar.gz
upstream-9d2b3add2a5d7fce77952c77332101b53640a3a4.tar.bz2
upstream-9d2b3add2a5d7fce77952c77332101b53640a3a4.zip
[coldfire]: switch to 2.6.38
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31546 3c298f89-4303-0410-b956-a3cf2f4a3e73
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 0000000000..3d1eabc239
--- /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;