From patchwork Thu Nov 29 04:25:22 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Govind Singh X-Patchwork-Id: 10703903 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3D9B21057 for ; Thu, 29 Nov 2018 04:25:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 316052B3E1 for ; Thu, 29 Nov 2018 04:25:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2572B2B469; Thu, 29 Nov 2018 04:25:51 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B4D4E2B3E1 for ; Thu, 29 Nov 2018 04:25:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=KeU7kZf6WurMHLneBeiQdsfStfMuSwEdPU7RqIo9FH4=; b=dDN5Wsi4FGIb00 IGDp7koJifcC0jUNilKzUXYprTm6dj0FrF9Pb3g6oo5archRw9jbgLsMQuRP6wSlsnJTtlRzs9fPl NvdqwQahwHn7LIPoOO73ka+/AxnhEsQH40bsm/Gi4ZapgGXDBb2BaNFnVLtlASCh+YgmQp7cWIBJr dKqplYuab8PAPFrBtdlV09YomDvDmhfPFlQI+7szrjIZJI3bj8EZKSpsgJxJmo0ec7iaDbTHYXqtD knstsxfB/X2uhvvqASDxCFszh+9UxSS2EjKbq7Njdb0Es8HIV8m7r08BCtaThJIiMO1J1XrCqjWKw Xl5EYdJ92q4lQTgWIePQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gSDtX-0006Lr-BB; Thu, 29 Nov 2018 04:25:43 +0000 Received: from smtp.codeaurora.org ([198.145.29.96]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gSDtT-0006LK-Lx for ath10k@lists.infradead.org; Thu, 29 Nov 2018 04:25:41 +0000 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C53BD60B1E; Thu, 29 Nov 2018 04:25:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543465528; bh=z8RL8MfzKBdyBKvEXSMkXTnaGCxjqar3UsvqEc8Mwyc=; h=From:To:Cc:Subject:Date:From; b=lbE/bGilvcyp6EHLo1/LWzS7LzporAClXF1rHs301PHn/cx/s5ycE/DdgEbgeOckr nP2ZExaxvK4hNA45wwh2Dla3Z/BCum8DIpqE27nZ9i5BFzEcqhR7uQXSgha3dehCqU IAjbYhZSiwAuWaEj8JOiTgb8a97SkCv0R5ACHJyQ= Received: from govinds-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: govinds@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 193D6606DC; Thu, 29 Nov 2018 04:25:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1543465528; bh=z8RL8MfzKBdyBKvEXSMkXTnaGCxjqar3UsvqEc8Mwyc=; h=From:To:Cc:Subject:Date:From; b=lbE/bGilvcyp6EHLo1/LWzS7LzporAClXF1rHs301PHn/cx/s5ycE/DdgEbgeOckr nP2ZExaxvK4hNA45wwh2Dla3Z/BCum8DIpqE27nZ9i5BFzEcqhR7uQXSgha3dehCqU IAjbYhZSiwAuWaEj8JOiTgb8a97SkCv0R5ACHJyQ= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 193D6606DC 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=govinds@codeaurora.org From: Govind Singh To: ath10k@lists.infradead.org Subject: [PATCH] ath10k: Move non-fatal warn logs to dbg level Date: Thu, 29 Nov 2018 09:55:22 +0530 Message-Id: <20181129042522.11767-1-govinds@codeaurora.org> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181128_202539_739850_BB78A19A X-CRM114-Status: GOOD ( 11.11 ) X-BeenThere: ath10k@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Govind Singh , linux-wireless@vger.kernel.org Sender: "ath10k" Errors-To: ath10k-bounces+patchwork-ath10k=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP During driver load below warn logs are printed in the console. Since driver may not implement all wmi events sent by fw and all of them are non-fatal, move this log to debug level to remove un-necessary warn message on console. [ 361.887230] ath10k_snoc a000000.wifi: Unknown eventid: 16393 [ 361.907037] ath10k_snoc a000000.wifi: Unknown eventid: 237569 Signed-off-by: Govind Singh --- drivers/net/wireless/ath/ath10k/wmi-tlv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/ath/ath10k/wmi-tlv.c b/drivers/net/wireless/ath/ath10k/wmi-tlv.c index ad4114a88170..892bd8c30dd9 100644 --- a/drivers/net/wireless/ath/ath10k/wmi-tlv.c +++ b/drivers/net/wireless/ath/ath10k/wmi-tlv.c @@ -621,7 +621,7 @@ static void ath10k_wmi_tlv_op_rx(struct ath10k *ar, struct sk_buff *skb) ath10k_wmi_event_mgmt_tx_compl(ar, skb); break; default: - ath10k_warn(ar, "Unknown eventid: %d\n", id); + ath10k_dbg(ar, ATH10K_DBG_WMI, "Unknown eventid: %d\n", id); break; }