switch to 2.6.38
[openwrt/staging/chunkeey.git] / target / linux / coldfire / patches / 032-Change-some-jffs2-warning-to-debug-info.patch
1 From 8834b24adf7efc8a50fcbc153910276b355fb4e9 Mon Sep 17 00:00:00 2001
2 From: Alison Wang <b18965@freescale.com>
3 Date: Thu, 4 Aug 2011 09:59:47 +0800
4 Subject: [PATCH 32/52] Change some jffs2 warning to debug info
5
6 As the NFC issue, the jffs2 verify buf may fail sometimes.
7 This patch move this kind of warning to debug information.
8
9 Signed-off-by: Alison Wang <b18965@freescale.com>
10 ---
11 fs/jffs2/wbuf.c | 8 ++++----
12 1 files changed, 4 insertions(+), 4 deletions(-)
13
14 --- a/fs/jffs2/wbuf.c
15 +++ b/fs/jffs2/wbuf.c
16 @@ -246,13 +246,13 @@ static int jffs2_verify_write(struct jff
17 else
18 eccstr = "OK or unused";
19
20 - printk(KERN_WARNING "Write verify error (ECC %s) at %08x. Wrote:\n",
21 + printk(KERN_DEBUG "Write verify error (ECC %s) at %08x. Wrote:\n",
22 eccstr, c->wbuf_ofs);
23 - print_hex_dump(KERN_WARNING, "", DUMP_PREFIX_OFFSET, 16, 1,
24 + print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 16, 1,
25 c->wbuf, c->wbuf_pagesize, 0);
26
27 - printk(KERN_WARNING "Read back:\n");
28 - print_hex_dump(KERN_WARNING, "", DUMP_PREFIX_OFFSET, 16, 1,
29 + printk(KERN_DEBUG "Read back:\n");
30 + print_hex_dump(KERN_DEBUG, "", DUMP_PREFIX_OFFSET, 16, 1,
31 c->wbuf_verify, c->wbuf_pagesize, 0);
32
33 return -EIO;