]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
wifi: iwlwifi: lower message level for FW buffer destination
authorBenjamin Berg <benjamin.berg@intel.com>
Sun, 25 Aug 2024 16:17:13 +0000 (19:17 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Oct 2024 13:07:35 +0000 (15:07 +0200)
[ Upstream commit f8a129c1e10256c785164ed5efa5d17d45fbd81b ]

An invalid buffer destination is not a problem for the driver and it
does not make sense to report it with the KERN_ERR message level. As
such, change the message to use IWL_DEBUG_FW.

Reported-by: Len Brown <lenb@kernel.org>
Closes: https://lore.kernel.org/r/CAJvTdKkcxJss=DM2sxgv_MR5BeZ4_OC-3ad6tA40TYH2yqHCWw@mail.gmail.com
Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
Signed-off-by: Miri Korenblit <miriam.rachel.korenblit@intel.com>
Link: https://patch.msgid.link/20240825191257.20abf78f05bc.Ifbcecc2ae9fb40b9698302507dcba8b922c8d856@changeid
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c

index 56f63f5f5dd34156b1cd07eedddf08c933e40fee..2afa5c91bc76b175ea38f1a7687b33e861a9c5e3 100644 (file)
@@ -111,7 +111,8 @@ iwl_pcie_ctxt_info_dbg_enable(struct iwl_trans *trans,
                }
                break;
        default:
-               IWL_ERR(trans, "WRT: Invalid buffer destination\n");
+               IWL_DEBUG_FW(trans, "WRT: Invalid buffer destination (%d)\n",
+                            le32_to_cpu(fw_mon_cfg->buf_location));
        }
 out:
        if (dbg_flags)