From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796154749; b=xhJB41A+Ynhrwv/qen+vjEXFgu0D1MV+n/62NKTCi/RdOw6izaEobztgnMXpi8SP7s2Z nQV+FDlO5Gfl/on+vbpGHrmf/AJf48GPmk+/dHLMhots6q9Rsx9zid3b6M97u5Fk9ItR4 G8Ddc8s/9AW97MbsFUn2P0h7MgJCExAjBS9c8j3EgC0X63bKkFcHDwFpjtgYrvdt2bv83 MeM649VUWd8QAXNzS0yUZc5fVnaraDME8wWAH/8PQ1xa4tLvCROjDaKITefOdYefMAuAZ 9EAavo/HyGQBifF3mvsR1hkp93KkuiP0luJtzROIH1fW+9Qh+RnahS0vw2e7Fdr3Urg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796154749; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To:Cc: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=Y6n8YaqKnCEdaKg168tRkScK8IYXrxIUwtcX5x+prNU=; b=CeXISZZUX80pk+EvW9huLXAujZ2rYY3M2B7plQGd91F6MYkY2jolUcw8FWb3/7XUqRAh SwISkTfRt8B/2pMlLb5QMKYo1gWH4wjPbqk3qJ/hznUCUi778jaGbMgqIdC+jk3poWfek QJT9xQRP+/yAaWFIV8JNXc4Nt64o9v3W3nSFQLChMQqKbK6K150oJANxL4wDJXHNA5Hp9 LtQRKp1kk2s528Sbhx9tagBVsfTB6wcwXzZNfqJ26qVpkzMHabAjNFhqx47WcDtASEq72 CJ0+by4ko4eEMUO9MOlLnlE8RlDCuemr8Epf0bhFHZ1Rbjk68cnxPej+d0O4+2M0/5Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Qb80MOVz; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 5EEA7606A325 for ; Tue, 1 Dec 2026 19:52:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Qb80MOVz Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1DA5F1F00899; Tue, 1 Dec 2026 19:52:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796154749; bh=Y6n8YaqKnCEdaKg168tRkScK8IYXrxIUwtcX5x+prNU=; h=From:Subject:Reply-To:To:Cc:In-Reply-To:References:Date; b=Qb80MOVzysQ8Mv9oO9cjFOhkJC9JkzwyzU3ThsSodSwB+eDOzjnJ9n0fd9f2j4bvo PS+4qtt6ASrpDcKrCWxl5Raqe7C92FzCJREvSl/P8d2cKbYE/CYZjHsxky5B4Xnsvt pKWHtFWUJSTHI1TNmUEjWYsrpNhIU9ux1Zg3/D/HyLTGUFA31Ws13eMPQXDFsW3Zyr xqAlANS1FHkE9flgLL5lVUsh23I/su1n7TcWEAQrACAuaYHqgMI5CojuJvZAIY6mOE rxzqhYfWr5OKgh3En4qVRsd0a7ZkloOL7ccTpCADloVvFe8/75CPPU13/ISb4k0M/a 2WZ6GRIlou/9Q== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH 5/7] usb: xhci: clear EP_GETTING_NO_STREAMS when freeing streams fails Reply-To: sashiko-reviews@lists.linux.dev To: "Niklas Neronin" Cc: linux-usb@vger.kernel.org In-Reply-To: <20261201194134.265480-6-niklas.neronin@linux.intel.com> References: <20261201194134.265480-1-niklas.neronin@linux.intel.com> <20261201194134.265480-6-niklas.neronin@linux.intel.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Tue, 01 Dec 2026 19:52:28 +0000 X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list Thank you for your contribution! Sashiko AI review found 1 potential issue to consider: - [Low] usb: xhci: missing Fixes trailer for xhci_free_streams() error cleanup -- commit c360eaefc8b0f4f038713f3a4fb3c4d97cf53b19 Author: Niklas Neronin > usb: xhci: clear EP_GETTING_NO_STREAMS when freeing streams fails > > xhci_free_streams() sets EP_GETTING_NO_STREAMS on each endpoint before > issuing the Configure Endpoint command that removes the streams. The > flag is only cleared on success. If the command fails, either because > it can't be queued or because the xHC rejects it, the function returns > with the flag still set. > > xhci_urb_enqueue() rejects URBs for endpoints that have > EP_GETTING_NO_STREAMS set, so after a failed free_streams call the > endpoint can't be used until the device is reconfigured or reset. > > Clear EP_GETTING_NO_STREAMS on the error path. The streams rings and > EP_HAS_STREAMS are left untouched, so the endpoint stays in its > previous streams state and the caller can retry. > > Signed-off-by: Niklas Neronin [Severity: Low] This fixes an error-handling omission from the original xhci_free_streams() implementation. Should this include: Fixes: 8df75f42f8e6 ("USB: xhci: Add memory allocation for USB3 bulk stre= ams.") --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261201194134.2654= 80-1-niklas.neronin@linux.intel.com?part=3D5