aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2019-02-04 11:31:31 +0530
committerVasant Hegde <hegdevasant@linux.vnet.ibm.com>2019-02-15 11:44:57 +0530
commit5a157d1e429337148935dd448477565bfa595987 (patch)
treeaf8a7874b58c11990f6083198c0378e1b97bcd6d
parentf23e2102374a571bee456279aada5f731d102aac (diff)
downloadskiboot-5a157d1e429337148935dd448477565bfa595987.zip
skiboot-5a157d1e429337148935dd448477565bfa595987.tar.gz
skiboot-5a157d1e429337148935dd448477565bfa595987.tar.bz2
core/ipmi: Improve error message
[ Upstream commit 7516e3827e5044442b9b79fa44fe118e101207c8 ] Useful for debugging. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
-rw-r--r--core/ipmi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ipmi.c b/core/ipmi.c
index 44623a7..5cdc924 100644
--- a/core/ipmi.c
+++ b/core/ipmi.c
@@ -147,7 +147,8 @@ void ipmi_cmd_done(uint8_t cmd, uint8_t netfn, uint8_t cc, struct ipmi_msg *msg)
msg->netfn = netfn;
if (cc != IPMI_CC_NO_ERROR) {
- prlog(PR_DEBUG, "IPMI: Got error response 0x%02x\n", msg->cc);
+ prlog(PR_DEBUG, "IPMI: Got error response. cmd=0x%x, netfn=0x%x,"
+ " rc=0x%02x\n", msg->cmd, msg->netfn, msg->cc);
assert(msg->error);
msg->error(msg);