diff options
author | Vasant Hegde <hegdevasant@linux.vnet.ibm.com> | 2017-06-01 10:04:58 +0530 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-06-08 16:02:06 +1000 |
commit | 50c4c89c5dc0ae2a9adf0fc4cebbacb5cddac334 (patch) | |
tree | f442dee0811eee40729a12f483d416550d3b01c2 /hw/fsp | |
parent | b3b8f2672425510a4a70fc008030177b024dc38c (diff) | |
download | skiboot-50c4c89c5dc0ae2a9adf0fc4cebbacb5cddac334.zip skiboot-50c4c89c5dc0ae2a9adf0fc4cebbacb5cddac334.tar.gz skiboot-50c4c89c5dc0ae2a9adf0fc4cebbacb5cddac334.tar.bz2 |
FSP/CONSOLE: Do not free fsp_msg in error path
.. as we reuse same msg to send next output message.
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/fsp')
-rw-r--r-- | hw/fsp/fsp-console.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/fsp/fsp-console.c b/hw/fsp/fsp-console.c index 69c603a..8eaf7b8 100644 --- a/hw/fsp/fsp-console.c +++ b/hw/fsp/fsp-console.c @@ -145,7 +145,6 @@ static void fsp_pokemsg_reclaim(struct fsp_msg *msg) if (fs->out_poke) { if (fsp_queue_msg(fs->poke_msg, fsp_pokemsg_reclaim)) { prerror("FSPCON: failed to queue poke msg\n"); - fsp_freemsg(msg); } else { fs->out_poke = false; } |