From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 601842F531B; Sat, 12 Sep 2026 12:20:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789215611; cv=none; b=ncFQ/N66j1qwsdpRBc3MwOM8rKVkqWAJxGwKW2WNXznbT0zwtqPReGTaf+caXNFbYqIYPW24e3xJBw5YIGKGEyTjvZvhjk4NcocMMWyAWwqgnPpsbs9uSDX0L3NPGdBk+CAQ9pjtEeKhf0zDHlQMZwAQifmwBjyh5J4Eaf6DB0U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789215611; c=relaxed/simple; bh=44xbNpGG/oJAvF9zy2sqz//AfhrUVyfLvtOVSGUGJxM=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cCLzu/+AyP+h+HRdp0Id93g8G5IM20Z3qF2ARDF7XCZRSPjxqylkocTb0iwyj1I4fDuMwN9p2vHktWoSqbV6wAVTr80ZmrKhRHuXE+MPOGry9yVMPPxl9bih2ArxSJNNtP3Uf8flOFd973lOtjoVb3WX4QTCbyfF8fUojiJxNHU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Fu1BPVmA; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Fu1BPVmA" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 673FB1F000FF; Sat, 12 Sep 2026 12:20:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789215610; bh=OfbTQjwo2R1BrjDdo+Z3rbXzFxh24N8ZoLfCo+9TLwM=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Fu1BPVmAuRmMlflGYBwAgOSHdTeGUb5iFiDYG2mRyZOLwWcXdwVEHYfBqaQRmfPyC Z8lyBOwoV4S9inhIMcHLg7yZKVSKIIr2M7OgxwZ2Q9K5qZIculgiFyKw0TbUAA2pc6 YiwNAM39be3YTTk7hkGLzsT7asaH0oDc11UAU0AM= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Avraham Stern , Miri Korenblit , Sasha Levin Subject: [PATCH 6.12 0568/1376] wifi: iwlwifi: mei: pass correct argument to function Date: Sat, 12 Sep 2026 08:49:54 +0200 Message-ID: <20260912065620.190915975@linuxfoundation.org> X-Mailer: git-send-email 2.55.0 In-Reply-To: <20260912065607.535295758@linuxfoundation.org> References: <20260912065607.535295758@linuxfoundation.org> User-Agent: quilt/0.69 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: patches@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.12-stable review patch. If anyone has any objections, please let me know. ------------------ From: Avraham Stern [ Upstream commit 905f57aefde4f4092a411c8a55856182fb1c7598 ] The first argument to iwl_mei_write_cyclic_buf() should be the cldev but the q_head pointer is passed instead. Fix it. Fixes: 652291601459 ("iwlwifi: mei: don't rely on the size from the shared area") Signed-off-by: Avraham Stern Signed-off-by: Miri Korenblit Link: https://patch.msgid.link/20260715220243.24cea60c6428.I42301010c31487b1458faa967b22c8320b0cfd23@changeid Signed-off-by: Sasha Levin --- drivers/net/wireless/intel/iwlwifi/mei/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/wireless/intel/iwlwifi/mei/main.c b/drivers/net/wireless/intel/iwlwifi/mei/main.c index c083af5240593..1486702d37e75 100644 --- a/drivers/net/wireless/intel/iwlwifi/mei/main.c +++ b/drivers/net/wireless/intel/iwlwifi/mei/main.c @@ -458,7 +458,7 @@ static int iwl_mei_send_sap_msg_payload(struct mei_cl_device *cldev, notif_q = &dir->q_ctrl_blk[SAP_QUEUE_IDX_NOTIF]; q_head = mei->shared_mem.q_head[SAP_DIRECTION_HOST_TO_ME][SAP_QUEUE_IDX_NOTIF]; q_sz = mei->shared_mem.q_size[SAP_DIRECTION_HOST_TO_ME][SAP_QUEUE_IDX_NOTIF]; - ret = iwl_mei_write_cyclic_buf(q_head, notif_q, q_head, hdr, q_sz); + ret = iwl_mei_write_cyclic_buf(cldev, notif_q, q_head, hdr, q_sz); if (ret < 0) return ret; -- 2.53.0