[Skiboot] [PATCH] libflash/blocklevel: Add missing newline to debug messages

Pridhiviraj Paidipeddi ppaidipe at linux.vnet.ibm.com
Thu Apr 12 16:27:44 AEST 2018


Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe at linux.vnet.ibm.com>
---
 libflash/blocklevel.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libflash/blocklevel.c b/libflash/blocklevel.c
index 0076683..f3fad69 100644
--- a/libflash/blocklevel.c
+++ b/libflash/blocklevel.c
@@ -127,7 +127,7 @@ int blocklevel_read(struct blocklevel_device *bl, uint64_t pos, void *buf, uint6
 
 	ecc_protection = ecc_protected(bl, pos, len, &ecc_start);
 
-	FL_DBG("%s: 0x%" PRIx64 " for 0x%" PRIx64 " ecc=%s",
+	FL_DBG("%s: 0x%" PRIx64 " for 0x%" PRIx64 " ecc=%s\n",
 		__func__, pos, len, ecc_protection ?
 		(ecc_protection == -1 ? "partial" : "yes") : "no");
 
@@ -216,7 +216,7 @@ int blocklevel_write(struct blocklevel_device *bl, uint64_t pos, const void *buf
 
 	ecc_protection = ecc_protected(bl, pos, len, &ecc_start);
 
-	FL_DBG("%s: 0x%" PRIx64 " for 0x%" PRIx64 " ecc=%s",
+	FL_DBG("%s: 0x%" PRIx64 " for 0x%" PRIx64 " ecc=%s\n",
 		__func__, pos, len, ecc_protection ?
 		(ecc_protection == -1 ? "partial" : "yes") : "no");
 
-- 
2.7.4



More information about the Skiboot mailing list