[Skiboot] [PATCH 1/2] hw/ocmb: Fix log message
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Sat Nov 28 00:05:04 AEDT 2020
Fix log message and convert perror to prlog.
Also reduce message severity as its informational message, not error.
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
hw/ocmb.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
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;
}
--
2.26.2
More information about the Skiboot
mailing list