[Skiboot] [PATCH 2/2] libstb/tpm_chip: Add missing new line to print messages.

Pridhiviraj Paidipeddi ppaidipe at linux.vnet.ibm.com
Thu Feb 8 05:31:14 AEDT 2018


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

diff --git a/libstb/tpm_chip.c b/libstb/tpm_chip.c
index e3d220a..2858caf 100644
--- a/libstb/tpm_chip.c
+++ b/libstb/tpm_chip.c
@@ -145,7 +145,7 @@ int tpm_register_chip(struct dt_node *node, struct tpm_dev *dev,
 		 * TpmLogMgr code (or friends) has been updated, the changes
 		 * need to be applied to skiboot as well.
 		 */
-		prlog(PR_ERR, "eventlog init failed: tpm%d rc=%d",
+		prlog(PR_ERR, "eventlog init failed: tpm%d rc=%d\n",
 		      tpm->id, rc);
 		goto disable;
 	}
@@ -181,7 +181,7 @@ int tpm_init(void)
 	tpm_i2c_nuvoton_probe();
 
 	if (list_empty(&tpm_list)) {
-		prlog(PR_INFO, "no compatible tpm device found!");
+		prlog(PR_INFO, "no compatible tpm device found!\n");
 		return -1;
 	}
 	return 0;
-- 
2.7.4



More information about the Skiboot mailing list