[Skiboot] [trivial PATCH] FSP/RTC: Improve error log

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Wed Jun 7 15:16:58 AEST 2017


.. it makes easy to differentiate errors.

Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 hw/fsp/fsp-rtc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/fsp/fsp-rtc.c b/hw/fsp/fsp-rtc.c
index 2c8e663..24565c2 100644
--- a/hw/fsp/fsp-rtc.c
+++ b/hw/fsp/fsp-rtc.c
@@ -134,7 +134,7 @@ static void fsp_tpo_req_complete(struct fsp_msg *read_resp)
 		break;
 	case FSP_STATUS_INVALID_DATA:
 		log_simple_error(&e_info(OPAL_RC_RTC_TOD),
-			"RTC TPO in permanent error state\n");
+			"RTC TPO: Invalid data\n");
 		rc = OPAL_PARAMETER;
 		break;
 	case FSP_STATUS_SUCCESS:
-- 
2.9.3



More information about the Skiboot mailing list