Skip to content

Commit

Permalink
ACPI / IPMI: change warning to debug on timeout
Browse files Browse the repository at this point in the history
Getting timeout message from BMC when trying to read from a non-existent
FRU. This is expected but warning is not.

Let's reduce the warning to debug.

Signed-off-by: Sinan Kaya <[email protected]>
Acked-by: Rafael J. Wysocki <[email protected]>
Signed-off-by: Corey Minyard <[email protected]>
  • Loading branch information
Sinan Kaya authored and cminyard committed Apr 7, 2017
1 parent 50121be commit f513561
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/acpi/acpi_ipmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,7 @@ static void ipmi_msg_handler(struct ipmi_recv_msg *msg, void *user_msg_data)
if (msg->recv_type == IPMI_RESPONSE_RECV_TYPE &&
msg->msg.data_len == 1) {
if (msg->msg.data[0] == IPMI_TIMEOUT_COMPLETION_CODE) {
dev_WARN_ONCE(dev, true,
"Unexpected response (timeout).\n");
dev_dbg_once(dev, "Unexpected response (timeout).\n");
tx_msg->msg_done = ACPI_IPMI_TIMEOUT;
}
goto out_comp;
Expand Down

0 comments on commit f513561

Please sign in to comment.