diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2017-06-13 16:10:54 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-08-18 13:30:38 +1000 |
commit | 90ec0aed8625efa3b792d97e15d9632738663f31 (patch) | |
tree | df52e8ca1c96f1698f23113c96e6684404dfbba7 | |
parent | bd7fd246048144e0e415407fa3894b461d0c6811 (diff) | |
download | skiboot-90ec0aed8625efa3b792d97e15d9632738663f31.zip skiboot-90ec0aed8625efa3b792d97e15d9632738663f31.tar.gz skiboot-90ec0aed8625efa3b792d97e15d9632738663f31.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>
(cherry picked from commit 740d00b1036188c6e248418fb0a13faf14723e7a)
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r-- | hw/fsp/fsp-chiptod.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/fsp/fsp-chiptod.c b/hw/fsp/fsp-chiptod.c index 148bfaa..3726790 100644 --- a/hw/fsp/fsp-chiptod.c +++ b/hw/fsp/fsp-chiptod.c @@ -55,6 +55,8 @@ static bool fsp_chiptod_update_topology(uint32_t cmd_sub_mod, if (fsp_queue_msg(resp, fsp_freemsg)) { fsp_freemsg(resp); prerror("CHIPTOD: Failed to queue response msg\n"); + prerror("Failed to queue response msg\n"); + return false; } return true; default: |