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=1796158406; b=DnYq6fS6s0JSJvdZxjxWq4ecwrtFPwml12RGV85wWPPBcto8g4oXzTBP9/t0fUaa0+6f 54hMkmDovdfjnQPl/NsiY0BkRvC/+LOR60RzB+ol7TcG23TiLzHLcrMsZyHkONfMkaUBB XD4nePgpQovPsQJr9PNEf0BPag+Qx6JGiujdjox6CVbcEE958MmPOP3GfRH0dkEOImswJ FedFSRLDKg1aXKL2bwqK0WO4M7v42Ha5Qvi9Z8VYkHjFWeNQgi37Thw2TIT4UspSJJcTT taruFGjJZ5cjJNrJOqi6Y8aZ+aXBjwsKer1LKxLGpUpe0sL9JStOIuPNWBEkrrJ3VEQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796158406; h=Received:DKIM-Signature:Subject:From:To:Cc:Date:Message-ID: In-Reply-To:References:X-sashiko-severity:Content-Type: Content-Transfer-Encoding:MIME-Version; bh=k29eN5rp68D2BFAjQSsZKs4UH9dtEXYrRx0IKEWDFGk=; b=lReP7jXPdNs7bAHFAFSssvb5QH9NaMKW7xmowHYcDq8HCD+QoMfCNy36u7rqfsu9Cj5S KyCtYZGptQz+q7fP0/NFpZVijUWvSeZman68NzUXuvwDUabRwLhl2beGqj0FDtS4HQKxI 1ZUjGwlVm86KAfAdXqr45c6KoKr893Pn+p+HTApxB/+2tGEDhyV9E+mL6YUU9zE+4JhqH i6EKtskMLmw2EFifDceZ7Atw3NWpB9zjFeO1EiEchBqEaQl67QljnsC9HOl7Sxa6Y329y jCcL6VoJD4MumSs20WxCxeQuL6GqoNdXBWG47R/B9wuciJl6XOE0wulcZQYBypHq1MA== 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=oRijDMSZ; 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 99551606A322; Tue, 1 Dec 2026 20:53:26 +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=oRijDMSZ Received: by smtp.kernel.org (Postfix) with ESMTPSA id BDB321F000C1; Tue, 1 Dec 2026 20:53:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796158406; bh=k29eN5rp68D2BFAjQSsZKs4UH9dtEXYrRx0IKEWDFGk=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=oRijDMSZNNb9SH8yHMWjNkYJhtxsua23GpayFxQrY2mrslXv2AWbMXBUj/Ph4Q2hW OrplStSF6uCJKCpNK8lyYMPIkQCe+k9ARiJksDuR2kfPWMHLcoIjIrFV7248LmSnbb MhzwGv7jRk3TowVqsqGjlR8F5GYXkbLVGudo/E6Gdn1Stya3W7dYCd9b93xVc1dobh GLh6feuH3+eXnsx5gl/0bSm5/078M8QduekIMKgYPHB5yAF6PIB2FXwy7jWMdFdilg IRp2kC3qQF3i5tLmEX/rcYSp7KsinhhVWxowqdQRRvwhK6x4Qf9B7h/lpvt6LGN1QH okOOPEExWiCQg== Subject: Re: [PATCH can-next v11 8/9] can: gs_usb: gs_usb_receive_bulk_callback(): use dev_info_ratelimited() to print re-submit info messages From: netdev-bot+sashiko@kernel.org To: mkl@pengutronix.de Cc: mailhol@kernel.org, pfink@christ-es.de, eric@evenchick.com, max@schneidersoft.net, wg@grandegger.com, kernel@pengutronix.de, linux-can@vger.kernel.org, stable@vger.kernel.org, kuba@kernel.org Date: Tue, 01 Dec 2026 20:53:25 +0000 Message-ID: <179615840536.3142.4794708287960279739@kernel.org> In-Reply-To: <20261130-gs_usb-fixes-v11-8-3f052bb620d4@pengutronix.de> References: <20261130-gs_usb-fixes-v11-8-3f052bb620d4@pengutronix.de> X-sashiko-severity: Low Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Mailing-List: linux-can@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Thank you for your contribution! Sashiko AI review found more severe issue(s) in other patches of this series. This mail is only an FYI, in case you want to address the nit picks below when you respin. Low priority / nit picks for your consideration: - [Low] This patch fixes a defect that came from specific earlier commits, but it has no Fixes: tag. -- can: gs_usb: gs_usb_receive_bulk_callback(): use dev_info_ratelimited() to print re-submit info messages When the IN URB resubmit in gs_usb_receive_bulk_callback() fails, this commit logs the message against the USB device with dev_info_ratelimited(). Previously it used net_ratelimit() and netdev_info(). The message now names the affected device even when the resubmit happens before netdev is assigned, and the NULL initialization of netdev is dropped. Closes: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260729102802.505168-1-mkl@pengutronix.de > Reported-by: Sashiko > Closes: https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20260729102802.505168-1-mkl@pengutronix.de > Signed-off-by: Marc Kleine-Budde [Severity: Low] Should this patch have a Fixes: tag? The message being changed was added by commit 79a6d1bfe114 ("can: gs_usb: gs_usb_receive_bulk_callback(): unanchor URL on usb_submit_urb() error"). In gs_usb_receive_bulk_callback(), the early short read path jumps to resubmit_urb before netdev is assigned: minimum_length = sizeof(hf->header); if (urb->actual_length < minimum_length) { ... goto resubmit_urb; } If usb_submit_urb() then fails with an error other than -ENODEV or -ESHUTDOWN, the old code passed netdev to netdev_info(). Commit 494fc029f662 ("can: gs_usb: gs_usb_receive_bulk_callback(): fix error message") set netdev to NULL on that path. After that change the message printed "(NULL net_device): failed to re-submit IN URB: ..." without saying which device failed. This patch finishes that fix and removes the NULL initialization that 494fc029f662 added. Would a tag like this help here? Fixes: 494fc029f662 ("can: gs_usb: gs_usb_receive_bulk_callback(): fix error message") Without it, stable trees that took 494fc029f662 have no way to find this follow-up automatically. The other bug fixes earlier in this series appear to carry Fixes: tags. -- Sashiko AI review ยท https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261130-gs_usb-fixes-v11-0-3f052bb620d4%40pengutronix.de