From patchwork Wed May 17 15:01:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ben Greear X-Patchwork-Id: 684281 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 796F1C77B7A for ; Wed, 17 May 2023 15:10:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231235AbjEQPKN (ORCPT ); Wed, 17 May 2023 11:10:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229529AbjEQPKM (ORCPT ); Wed, 17 May 2023 11:10:12 -0400 Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [148.163.129.48]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D0FE93DE for ; Wed, 17 May 2023 08:09:52 -0700 (PDT) Received: from dispatch1-us1.ppe-hosted.com (ip6-localhost [127.0.0.1]) by dispatch1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 9685628A9C1 for ; Wed, 17 May 2023 15:02:16 +0000 (UTC) X-Virus-Scanned: Proofpoint Essentials engine Received: from mail3.candelatech.com (mail2.candelatech.com [208.74.158.173]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 673B6A8006A for ; Wed, 17 May 2023 15:02:04 +0000 (UTC) Received: from ben-dt5.candelatech.com (50-251-239-81-static.hfc.comcastbusiness.net [50.251.239.81]) by mail3.candelatech.com (Postfix) with ESMTP id A93C813C2B0; Wed, 17 May 2023 08:02:03 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com A93C813C2B0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1684335723; bh=5xenKZzF8MdCMD3xz7KwUrtWcUIhn9xCSLVeMmEntIA=; h=From:To:Cc:Subject:Date:From; b=cYCXzLLrarXUOD+5ognGMhEifZCtL2O+Y7ZDxl/jMUYftAIw3dGVRLUfBUl/qn9/y fJrCdJo7FYrHnTsAUm164eZhLsh81XcXJ4TL5cAaMhDJbEsxZM09J1bFPRxCCh36iA j4BEexoTUGBc5aw3Hdb/Xr4s1hCov4UUum0Llghg= From: greearb@candelatech.com To: linux-wireless@vger.kernel.org Cc: Ben Greear Subject: [PATCH] iwlwifi: Make warnings unique to aid debugging. Date: Wed, 17 May 2023 08:01:57 -0700 Message-Id: <20230517150157.930760-1-greearb@candelatech.com> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 X-MDID: 1684335725-F9iLa1Pixew4 X-MDID-O: us5; ut7; 1684335725; F9iLa1Pixew4; ; f7146c1849a4b08a52804beb1c1cdf45 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Ben Greear So we can be certain what code is generating kernel error messages. Signed-off-by: Ben Greear --- drivers/net/wireless/intel/iwlwifi/mvm/fw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c b/drivers/net/wireless/intel/iwlwifi/mvm/fw.c index c93f3b9501de..ca55bb4e3bd3 100644 --- a/drivers/net/wireless/intel/iwlwifi/mvm/fw.c +++ b/drivers/net/wireless/intel/iwlwifi/mvm/fw.c @@ -701,7 +701,7 @@ static int iwl_run_unified_mvm_ucode(struct iwl_mvm *mvm) /* Will also start the device */ ret = iwl_mvm_load_ucode_wait_alive(mvm, IWL_UCODE_REGULAR); if (ret) { - IWL_ERR(mvm, "Failed to start RT ucode: %d\n", ret); + IWL_ERR(mvm, "run-mvm-ucode: Failed to start RT ucode: %d\n", ret); goto error; } iwl_dbg_tlv_time_point(&mvm->fwrt, IWL_FW_INI_TIME_POINT_AFTER_ALIVE, @@ -1663,7 +1663,7 @@ int iwl_mvm_up(struct iwl_mvm *mvm) ret = iwl_mvm_load_rt_fw(mvm); if (ret) { - IWL_ERR(mvm, "Failed to start RT ucode: %d\n", ret); + IWL_ERR(mvm, "mvm-up: Failed to start RT ucode: %d\n", ret); if (ret != -ERFKILL && !mvm->pldr_sync) iwl_fw_dbg_error_collect(&mvm->fwrt, FW_DBG_TRIGGER_DRIVER);