aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorVasant Hegde <hegdevasant@linux.vnet.ibm.com>2019-02-04 11:31:31 +0530
committerStewart Smith <stewart@linux.ibm.com>2019-02-04 01:26:35 -0600
commit7516e3827e5044442b9b79fa44fe118e101207c8 (patch)
tree101f0f2a9225a6c47ff15e4a2862ba487098de01 /core
parent9ef153f6f013b224db8e9b78764ef6cf89c152fa (diff)
downloadskiboot-7516e3827e5044442b9b79fa44fe118e101207c8.zip
skiboot-7516e3827e5044442b9b79fa44fe118e101207c8.tar.gz
skiboot-7516e3827e5044442b9b79fa44fe118e101207c8.tar.bz2
core/ipmi: Improve error message
Useful for debugging. Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'core')
-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);