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)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 26 Aug 2024 15:38:21 +0000 (17:38 +0200)
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>
drivers/net/wireless/intel/iwlwifi/pcie/ctxt-info-gen3.c

index e63efbf809f02d0b68df9233cf80477cc8d11430..ae93a72542b28199fa985c1a7c075eb586820981 100644 (file)
@@ -89,7 +89,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)