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: 10703901 X-Patchwork-Delegate: kvalo@adurom.com 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 6BDB813BF for ; Thu, 29 Nov 2018 04:25:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5FACA2B45A for ; Thu, 29 Nov 2018 04:25:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 53AFE2B699; Thu, 29 Nov 2018 04:25:31 +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=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI 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 EFF0F2B45A for ; Thu, 29 Nov 2018 04:25:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727590AbeK2P32 (ORCPT ); Thu, 29 Nov 2018 10:29:28 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:41084 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727359AbeK2P32 (ORCPT ); Thu, 29 Nov 2018 10:29:28 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id F352C60B26; 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=1543465529; bh=z8RL8MfzKBdyBKvEXSMkXTnaGCxjqar3UsvqEc8Mwyc=; h=From:To:Cc:Subject:Date:From; b=oecDjT10jOeX36rJXGIgWInICnU+kNv9aBjEKzmUgIxcZ76RmZGqbCcVzo84AEHqc ixpvtxPqtICSI7081pGT7dCVd3uZhFWz5rW2kRshwkbkw/3rIXTqNWVTGvmwVvVT8m hMV3k6DGNRN16bVaSf581CtfxWbVEHM6io9l+TU8= 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 Cc: linux-wireless@vger.kernel.org, Govind Singh 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 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.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; }