aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2020-11-27 18:35:04 +0530
committerVasant Hegde <hegdevasant@linux.vnet.ibm.com>2020-12-15 13:18:54 +0530
commitf6ea3719782c478e331cefc0c8d368c454a1751b (patch)
treec475d4be3410cd352387c78f002ba7ebc74a783d
parent6236804f35b0c04f3687e7ff39211a2b8f247535 (diff)
downloadskiboot-f6ea3719782c478e331cefc0c8d368c454a1751b.zip
skiboot-f6ea3719782c478e331cefc0c8d368c454a1751b.tar.gz
skiboot-f6ea3719782c478e331cefc0c8d368c454a1751b.tar.bz2
hw/ocmb: Fix log message
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>
-rw-r--r--hw/ocmb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/hw/ocmb.c b/hw/ocmb.c
index 4f76009..bc470d0 100644
--- a/hw/ocmb.c
+++ b/hw/ocmb.c
@@ -150,11 +150,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;
}