Re: [PATCH can 0/3] can: gs_usb: fix USB bulk in and out callbacks
From: Marc Kleine-Budde
Date: Sun Nov 16 2025 - 11:06:40 EST
On 14.11.2025 09:36:42, Marc Kleine-Budde wrote:
> The bulk-out callback gs_usb_xmit_callback() does not take care of the
> cleanup of failed transfers of URBs. The 1st patch adds the missing
> cleanup.
>
> The bulk-in callback gs_usb_receive_bulk_callback() accesses the buffer of
> the URB without checking how much data has actually been received. The last
> 2 patches fix this problem.
>
> Signed-off-by: Marc Kleine-Budde <mkl@xxxxxxxxxxxxxx>
Applied to linux-can.
regards,
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 |
Attachment:
signature.asc
Description: PGP signature