* [PATCH] pstore: lower message priority
@ 2018-02-06 7:32 Sascha Hauer
0 siblings, 0 replies; only message in thread
From: Sascha Hauer @ 2018-02-06 7:32 UTC (permalink / raw)
To: Barebox List
Having no valid data in pstore after a coldstart is pretty much
expected, so do not print a scary error message, but a debug message
instead.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
---
fs/pstore/ram_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/fs/pstore/ram_core.c b/fs/pstore/ram_core.c
index d68d80900b..9de6dc614d 100644
--- a/fs/pstore/ram_core.c
+++ b/fs/pstore/ram_core.c
@@ -219,7 +219,7 @@ static int persistent_ram_init_ecc(struct persistent_ram_zone *prz,
pr_info("error in header, %d\n", numerr);
prz->corrected_bytes += numerr;
} else if (numerr < 0) {
- pr_info("uncorrectable error in header\n");
+ pr_debug("No valid data in block, assuming it is empty\n");
prz->bad_blocks++;
}
--
2.15.1
_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-02-06 7:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-06 7:32 [PATCH] pstore: lower message priority Sascha Hauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox