mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-05 06:25:20 +02:00
34 lines
1.2 KiB
Diff
34 lines
1.2 KiB
Diff
|
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;
|