From: Sinan Kaya Date: Thu, 23 Mar 2017 15:32:29 +0000 (-0400) Subject: ACPI / IPMI: change warning to debug on timeout X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f513561455c31ffc4b1ba32a96b18fa72056cf1a;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ACPI / IPMI: change warning to debug on timeout 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 Acked-by: Rafael J. Wysocki Signed-off-by: Corey Minyard --- diff --git a/drivers/acpi/acpi_ipmi.c b/drivers/acpi/acpi_ipmi.c index 747c2ba98534..1b64419e2fec 100644 --- a/drivers/acpi/acpi_ipmi.c +++ b/drivers/acpi/acpi_ipmi.c @@ -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;