[Skiboot] [PATCH] fsp/surv: Improve log message
Vasant Hegde
hegdevasant at linux.vnet.ibm.com
Thu Sep 6 22:42:25 AEST 2018
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
hw/fsp/fsp-surveillance.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/hw/fsp/fsp-surveillance.c b/hw/fsp/fsp-surveillance.c
index 54e77cfa7..d5f234046 100644
--- a/hw/fsp/fsp-surveillance.c
+++ b/hw/fsp/fsp-surveillance.c
@@ -153,9 +153,11 @@ static void fsp_surv_got_param(uint32_t param_id __unused, int err_len,
return;
}
- printf("SURV: Status from FSP: %d\n", surv_state_param);
- if (!(surv_state_param & 0x01))
+ if (!(surv_state_param & 0x01)) {
+ prlog(PR_NOTICE, "SURV: Status from FSP: disabled\n");
return;
+ }
+ prlog(PR_NOTICE, "SURV: Status from FSP: enabled\n");
lock(&surv_lock);
fsp_surv_state = true;
--
2.14.3
More information about the Skiboot
mailing list