diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-02-06 08:29:10 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-02-06 08:30:52 +0100 |
commit | 1d8f7f3403366831b37f29361dba8da0e43d82e1 (patch) | |
tree | 6fd60cad71265aa5abc50c0069730ffd61cb8e9f /fs | |
parent | 87aa4832f7f3587a65ee92ffa24f528652684c1b (diff) | |
download | barebox-1d8f7f3403366831b37f29361dba8da0e43d82e1.tar.gz barebox-1d8f7f3403366831b37f29361dba8da0e43d82e1.tar.xz |
pstore: lower message priority
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>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/pstore/ram_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
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++; } |