]> Git Repo - qemu.git/commit - hw/ipmi/ipmi_bmc_sim.c
ipmi: add rsp_buffer_set_error() helper
authorCédric Le Goater <[email protected]>
Thu, 10 Mar 2016 14:03:57 +0000 (15:03 +0100)
committerMichael S. Tsirkin <[email protected]>
Fri, 11 Mar 2016 14:59:13 +0000 (16:59 +0200)
commit6acb971a9412819ab2fe4def8739d3f1c0ffe9a1
treea125dc5534eb5ef33808def76ed9d1f6805f1449
parent7f996411ad3c41e064c1f14aaa48afda09242f5e
ipmi: add rsp_buffer_set_error() helper

The third byte in the response buffer of an IPMI command holds the
error code. In many IPMI command handlers, this byte is updated
directly. This patch adds a helper routine to clarify why this byte is
being used.

Signed-off-by: Cédric Le Goater <[email protected]>
Acked-by: Corey Minyard <[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/ipmi/ipmi_bmc_sim.c
This page took 0.024806 seconds and 4 git commands to generate.