summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUlrich Ölmann <u.oelmann@pengutronix.de>2018-12-18 14:57:42 +0100
committerRoland Hieber <rhi@pengutronix.de>2019-01-07 12:26:50 +0100
commit780566c5337c35101cabe071748216073b399d40 (patch)
treeffaf4bc09b2adddd5ec341d1d59bcfcabf53d60f
parentf1ae2364a21432237c779e4cc04822eabb76e955 (diff)
downloaddt-utils-780566c5337c35101cabe071748216073b399d40.tar.gz
dt-utils-780566c5337c35101cabe071748216073b399d40.tar.xz
state: backend_bucket_circular: promote old state debug message to info
This ports the following barebox commit: | commit 0f5ecafbe3b3f999dc187d49ebeda6167967e995 | Author: Philipp Zabel <p.zabel@pengutronix.de> | Date: Tue Jul 18 15:15:23 2017 +0200 | | state: backend_bucket_circular: promote old state debug message to info | | A report about the changed on-storage state format might be interesting | to the user. | | Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> | Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de> Signed-off-by: Roland Hieber <rhi@pengutronix.de>
-rw-r--r--src/barebox-state/backend_bucket_circular.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/barebox-state/backend_bucket_circular.c b/src/barebox-state/backend_bucket_circular.c
index dd609aa..fd5654c 100644
--- a/src/barebox-state/backend_bucket_circular.c
+++ b/src/barebox-state/backend_bucket_circular.c
@@ -247,7 +247,7 @@ static int state_backend_bucket_circular_read(struct state_backend_storage_bucke
read_len = min(circ->write_area, (off_t)(circ->max_size -
sizeof(struct state_backend_storage_bucket_circular_meta)));
circ->write_area = 0;
- dev_dbg(circ->dev, "Detected old on-storage format\n");
+ dev_info(circ->dev, "Detected old on-storage format\n");
} else if (circ->last_written_length > circ->write_area
|| !IS_ALIGNED(circ->last_written_length, circ->writesize)) {
circ->write_area = 0;