From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dispatch1-us1.ppe-hosted.com (dispatch1-us1.ppe-hosted.com [67.231.154.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 32F9E3A16B6 for ; Wed, 11 Mar 2026 23:07:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=67.231.154.183 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773270470; cv=none; b=bj4px+Q5yH6+02Oeo0q9+irwyf2qjM/UByilXCbkJhaYjiNzKtHgeaLLDNC7KpM7t/bJRz1n8XeQCPrMjVxWpF+QuPieRDmUuVJQKXw0b+YJ0Nh2EiwD4wAljqwVw1dYlgMQD7QJl+nBqC5DVJAuW2ELP4r51E9O876Hj7BE0u8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1773270470; c=relaxed/simple; bh=lR+gxuvJkoFGHPxnwd75D5Pg8X4FlLDMb+OXL5R6TJA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Qazma4r88bDDLXeJsRa7wdEoNtH1HUU1I2DM2ZoIxLa6mfE+CUpsKJI/P6gtD7lARMUbIttLyQ/0yaMkWUl0rLlnphFv8TY1VFFg+BTrQ1EibS12LIrQR7ct+fqBIjld+iBrW3GjAu2YWgoebGiEKMDV+U+JdCThvUQ3gm9Vj7E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=candelatech.com; spf=pass smtp.mailfrom=candelatech.com; dkim=pass (1024-bit key) header.d=candelatech.com header.i=@candelatech.com header.b=aqIOES+B; arc=none smtp.client-ip=67.231.154.183 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=candelatech.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=candelatech.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=candelatech.com header.i=@candelatech.com header.b="aqIOES+B" X-Virus-Scanned: Proofpoint Essentials engine Received: from mail3.candelatech.com (mail.candelatech.com [208.74.158.173]) by mx1-us1.ppe-hosted.com (PPE Hosted ESMTP Server) with ESMTP id 77ADF440095 for ; Wed, 11 Mar 2026 23:07:42 +0000 (UTC) Received: from ben-dt5.candelatech.com (firewall.candelatech.com [50.251.239.81]) by mail3.candelatech.com (Postfix) with ESMTP id 3539D13C2B5; Wed, 11 Mar 2026 16:07:40 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 mail3.candelatech.com 3539D13C2B5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=candelatech.com; s=default; t=1773270460; bh=lR+gxuvJkoFGHPxnwd75D5Pg8X4FlLDMb+OXL5R6TJA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aqIOES+B18+t+S0cU026tvPPuCXr+plsbpxaCHEVyrb7x83lPMPnKsociR5G3CyUa i6DWPpqGnRRSKxDWJl79xnHTrdc4hiUH6vECvhMTl5Rf9iZ+r5W340K8rrzqzhAD28 KKvYDJmyBbaKB3Zul+P51UU1lP8/dTqPybJNlkig= From: greearb@candelatech.com To: linux-wireless@vger.kernel.org Cc: Ben Greear Subject: [PATCH wireless-next 17/28] wifi: iwlwifi: mld: use warn-on-once in error path. Date: Wed, 11 Mar 2026 16:07:19 -0700 Message-ID: <20260311230730.163348-18-greearb@candelatech.com> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20260311230730.163348-1-greearb@candelatech.com> References: <20260311230730.163348-1-greearb@candelatech.com> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-MDID: 1773270463-5RgaoUbbqhl3 X-PPE-STACK: {"stack":"us5"} X-MDID-O: us5;at1;1773270463;5RgaoUbbqhl3;;f7146c1849a4b08a52804beb1c1cdf45 X-PPE-TRUSTED: V=1;DIR=OUT; From: Ben Greear Just splat a WARNING once, and add debug output to indicate a bit about why it is hitting the warn path. Signed-off-by: Ben Greear --- drivers/net/wireless/intel/iwlwifi/mld/agg.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mld/agg.c b/drivers/net/wireless/intel/iwlwifi/mld/agg.c index 23d55374ef8a..413a8688e4eb 100644 --- a/drivers/net/wireless/intel/iwlwifi/mld/agg.c +++ b/drivers/net/wireless/intel/iwlwifi/mld/agg.c @@ -496,7 +496,9 @@ static void iwl_mld_free_reorder_buffer(struct iwl_mld *mld, * sync internal DELBA notification should trigger a release * of all frames in the reorder buffer. */ - WARN_ON(1); + WARN_ON_ONCE(1); + IWL_ERR(mld, "free-reorder-buffer problem, rxq: %d num-stored: %d, will purge frames\n", + i, reorder_buf->num_stored); for (int j = 0; j < data->buf_size; j++) __skb_queue_purge(&entries[j].frames); -- 2.42.0