aboutsummaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2017-06-13 16:10:54 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-06-14 14:30:31 +1000
commit740d00b1036188c6e248418fb0a13faf14723e7a (patch)
tree813086edbd8ea01eba4d6e3d0963df066c74f400 /hw
parent5ed7f51c53fdaea01151d6de18d7b96a9cddee12 (diff)
downloadskiboot-740d00b1036188c6e248418fb0a13faf14723e7a.zip
skiboot-740d00b1036188c6e248418fb0a13faf14723e7a.tar.gz
skiboot-740d00b1036188c6e248418fb0a13faf14723e7a.tar.bz2
FSP/CHIPTOD: Return false in error path
CC: Mahesh Salgaonkar <mahesh@linux.vnet.ibm.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/fsp/fsp-chiptod.c1
1 files changed, 1 insertions, 0 deletions
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: