[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20260123-daft-attractive-bandicoot-f7bd6d-mkl@pengutronix.de>
Date: Fri, 23 Jan 2026 18:34:34 +0100
From: Marc Kleine-Budde <mkl@...gutronix.de>
To: Vincent Mailhol <mailhol@...nel.org>
Cc: linux-can@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel@...gutronix.de, Jakub Kicinski <kuba@...nel.org>
Subject: Re: [PATCH] can: gs_usb: gs_usb_receive_bulk_callback(): fix error
message
On 20.01.2026 13:52:30, Marc Kleine-Budde wrote:
> Sinc commit 79a6d1bfe114 ("can: gs_usb: gs_usb_receive_bulk_callback():
> unanchor URL on usb_submit_urb() error") a failing resubmit URB will print
> an info message.
>
> In the case of a short read where netdev has not yet been assigned,
> initialize as NULL to avoid dereferencing an undefined value. Also report
> the error value of the failed resubmit.
>
> Fixes: 79a6d1bfe114 ("can: gs_usb: gs_usb_receive_bulk_callback(): unanchor URL on usb_submit_urb() error")
> Reported-by: Jakub Kicinski <kuba@...nel.org>
> Closes: https://lore.kernel.org/all/20260119181904.1209979-1-kuba@kernel.org/
> Signed-off-by: Marc Kleine-Budde <mkl@...gutronix.de>
Added to linux-can.
Thanks,
Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Embedded Linux | https://www.pengutronix.de |
Vertretung Nürnberg | Phone: +49-5121-206917-129 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-9 |
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists