[Skiboot] [trivial PATCH] FSP/CHIPTOD: Return false in error path

Vasant Hegde hegdevasant at linux.vnet.ibm.com
Tue Jun 13 20:40:54 AEST 2017


CC: Mahesh Salgaonkar <mahesh at linux.vnet.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
---
 hw/fsp/fsp-chiptod.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/fsp/fsp-chiptod.c b/hw/fsp/fsp-chiptod.c
index 567f5df..7efad1b 100644
--- a/hw/fsp/fsp-chiptod.c
+++ b/hw/fsp/fsp-chiptod.c
@@ -57,6 +57,7 @@ static bool fsp_chiptod_update_topology(uint32_t cmd_sub_mod,
 		if (fsp_queue_msg(resp, fsp_freemsg)) {
 			fsp_freemsg(resp);
 			prerror("Failed to queue response msg\n");
+			return false;
 		}
 		return true;
 	default:
-- 
2.9.3



More information about the Skiboot mailing list