From 740d00b1036188c6e248418fb0a13faf14723e7a Mon Sep 17 00:00:00 2001 From: Vasant Hegde Date: Tue, 13 Jun 2017 16:10:54 +0530 Subject: FSP/CHIPTOD: Return false in error path CC: Mahesh Salgaonkar Signed-off-by: Vasant Hegde Signed-off-by: Stewart Smith --- 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: -- cgit v1.1