* Re: [PATCH can-next v9 10/13] can: gs_usb: gs_usb_get_gs_can(): report channel number out of range error
[not found] <20261121-gs_usb-fixes-v9-10-db121d488945@pengutronix.de>
@ 2026-11-23 12:00 ` netdev-bot+sashiko
0 siblings, 0 replies; only message in thread
From: netdev-bot+sashiko @ 2026-11-23 12:00 UTC (permalink / raw)
To: mkl
Cc: mailhol, pfink, eric, max, wg, kernel, linux-can,
shuangpeng.kernel, stable, vadim.fedorenko, kuba
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] Grammar error in the commit message of "can: gs_usb:
gs_usb_get_gs_can(): report channel number out of range error".
--
can: gs_usb: gs_usb_get_gs_can(): report channel number out of range error
When the USB device reports a channel number that is out of range,
gs_usb_get_gs_can() now prints a rate-limited error message. It then
marks the condition as fatal and detaches, as before.
> If the USB device sends an invalid channel, the device should not be
> silently detached; instead, the display an error message before detaching.
[Severity: Low]
This isn't a bug, but there's an extra "the" in the commit message.
"instead, the display an error message" should probably read "instead,
display an error message".
The code change in gs_usb_get_gs_can() matches what the message
describes.
> diff --git a/drivers/net/can/usb/gs_usb.c b/drivers/net/can/usb/gs_usb.c
> index c392cf65d8a6d..aca4f4fdc796a 100644
> --- a/drivers/net/can/usb/gs_usb.c
> +++ b/drivers/net/can/usb/gs_usb.c
[ ... ]
--
Sashiko AI review · https://netdev-ai.bots.linux.dev/sashiko/#/patchset/20261121-gs_usb-fixes-v9-0-db121d488945%40pengutronix.de
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-11-23 12:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20261121-gs_usb-fixes-v9-10-db121d488945@pengutronix.de>
2026-11-23 12:00 ` [PATCH can-next v9 10/13] can: gs_usb: gs_usb_get_gs_can(): report channel number out of range error netdev-bot+sashiko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox