[Skiboot] [PATCH 2/9] blocklevel: smart_write: Terminate line for debug output in no-change case

Andrew Jeffery andrew at aj.id.au
Thu Oct 3 15:53:35 AEST 2019


Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
 libflash/blocklevel.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libflash/blocklevel.c b/libflash/blocklevel.c
index 614711210577..91cd4258bd73 100644
--- a/libflash/blocklevel.c
+++ b/libflash/blocklevel.c
@@ -588,6 +588,8 @@ int blocklevel_smart_write(struct blocklevel_device *bl, uint64_t pos, const voi
 			rc = bl->write(bl, erase_block, erase_buf, erase_size);
 			if (rc)
 				goto out;
+		} else {
+			FL_DBG("clean\n");
 		}
 		len -= size;
 		pos += size;
-- 
2.20.1



More information about the Skiboot mailing list