]> Gentwo Git Trees - linux/.git/commit
Merge patch series "can: gs_usb: fix USB bulk in and out callbacks"
authorMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 17 Nov 2025 16:22:04 +0000 (17:22 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Mon, 17 Nov 2025 16:22:04 +0000 (17:22 +0100)
commit6d5479953270f60ac064d154a76cb7ba64fb81f8
treeb3ccb4905061ec211aac62a11073f71eee4129bd
parent30db4451c7f6aabcada029b15859a76962ec0cf8
parent395d988f93861101ec89d0dd9e3b876ae9392a5b
Merge patch series "can: gs_usb: fix USB bulk in and out callbacks"

Marc Kleine-Budde <mkl@pengutronix.de> says:

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.

Link: https://patch.msgid.link/20251114-gs_usb-fix-usb-callbacks-v1-0-a29b42eacada@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>