From patchwork Thu Mar 23 15:32:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sinan Kaya X-Patchwork-Id: 9641505 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id ECD9160328 for ; Thu, 23 Mar 2017 15:33:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id DEF5920453 for ; Thu, 23 Mar 2017 15:33:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D390A27D29; Thu, 23 Mar 2017 15:33:26 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 534FD27D16 for ; Thu, 23 Mar 2017 15:33:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965128AbdCWPcz (ORCPT ); Thu, 23 Mar 2017 11:32:55 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:44364 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753202AbdCWPcx (ORCPT ); Thu, 23 Mar 2017 11:32:53 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 5D36F6089A; Thu, 23 Mar 2017 15:32:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1490283157; bh=otPzOp8+VQyNPDtboPf0DbfS4H4HJGFk2TMG2Vwwc+U=; h=From:To:Cc:Subject:Date:From; b=coCDFRTu5rBv0FaayIpgL85tempJFItmxHjyYDvCCBXiSbcVyc9Hey936LA+Zw02Z 0TUyayNJ54c4ZgcEwnn5aBGR3XFu50r+EERyxWAgTLnybmooCcNJ+CRKijcEPkvbb0 Gqak101ObSc9jwDORZh3y3e552CrGC+xeQH0g9og= Received: from drakthul.qualcomm.com (global_nat1_iad_fw.qualcomm.com [129.46.232.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: okaya@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id A609E60779; Thu, 23 Mar 2017 15:32:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1490283155; bh=otPzOp8+VQyNPDtboPf0DbfS4H4HJGFk2TMG2Vwwc+U=; h=From:To:Cc:Subject:Date:From; b=hM2ZGVbwv8JqFnHAMuOluH3cEkxODdsaK8E9PTH4EKhV/R4LEzcnljk6iInRRFklv 9e7JsQwQBCXZIl9aRLafHHB/oFT5UBxt75SPV9w2VC2LDzkuLcfwsXb0A7B/aHqJD1 85VB5qk7lQdMjAZWDaXwhW8OGcnI+A9JkvUPdqkU= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A609E60779 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=okaya@codeaurora.org From: Sinan Kaya To: linux-acpi@vger.kernel.org, timur@codeaurora.org Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Sinan Kaya , "Rafael J. Wysocki" , Len Brown , linux-kernel@vger.kernel.org Subject: [PATCH] ACPI / IPMI: change warning to debug on timeout Date: Thu, 23 Mar 2017 11:32:29 -0400 Message-Id: <1490283150-24000-1-git-send-email-okaya@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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: Corey Minyard --- drivers/acpi/acpi_ipmi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/acpi/acpi_ipmi.c b/drivers/acpi/acpi_ipmi.c index 747c2ba..1b64419 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;