[Skiboot] [PATCH 07/51] test-ipmi-hiomap: Ensure the completion code is set
Andrew Jeffery
andrew at aj.id.au
Fri Feb 15 17:56:24 AEDT 2019
Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
libflash/test/test-ipmi-hiomap.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libflash/test/test-ipmi-hiomap.c b/libflash/test/test-ipmi-hiomap.c
index e2330fe85486..738352cc89f1 100644
--- a/libflash/test/test-ipmi-hiomap.c
+++ b/libflash/test/test-ipmi-hiomap.c
@@ -164,6 +164,8 @@ void ipmi_queue_msg_sync(struct ipmi_msg *msg)
}
assert(false);
}
+
+ msg->cc = cmd->cc;
memcpy(msg->data, &cmd->resp, msg->resp_size);
msg->complete(msg);
--
2.19.1
More information about the Skiboot
mailing list