diff mbox series

[1/2] hw/ocmb: Fix log message

Message ID 20201127130505.724814-1-hegdevasant@linux.vnet.ibm.com
State Accepted
Headers show
Series [1/2] hw/ocmb: Fix log message | expand

Checks

Context Check Description
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot success Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (b825589e085e23add8d0c58cfde7c8ed1f0b2dfd)

Commit Message

Vasant Hegde Nov. 27, 2020, 1:05 p.m. UTC
Fix log message and convert perror to prlog.
Also reduce message severity as its informational message, not error.

Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
---
 hw/ocmb.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
diff mbox series

Patch

diff --git a/hw/ocmb.c b/hw/ocmb.c
index 19b15dd68..30a5ad726 100644
--- a/hw/ocmb.c
+++ b/hw/ocmb.c
@@ -149,11 +149,10 @@  static bool ocmb_probe_one(struct dt_node *ocmb_node)
 	}
 
 	if (scom_register(&ocmb->scom))
-		prerror("error registienr fake socm\n");
+		prerror("Error registering fake scom\n");
 
 	dt_add_property(ocmb_node, "scom-controller", NULL, 0);
-
-	prerror("XXX: Added scom controller for %s\n", ocmb_node->name);
+	prlog(PR_NOTICE, "Added scom controller for %s\n", ocmb_node->name);
 
 	return true;
 }