Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'linux-can-fixes-for-6.19-20260109' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can

Marc Kleine-Budde says:

====================
pull-request: can 2026-01-09

The first patch is by Szymon Wilczek and fixes a potential memory leak
in the etas_es58x driver.

The 2nd patch is by me, targets the gs_usb driver and fixes an URB
memory leak.

Ondrej Ille's patch fixes the transceiver delay compensation in the
ctucanfd driver, which is needed for bit rates higher than 1 Mbit/s.

* tag 'linux-can-fixes-for-6.19-20260109' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can:
can: ctucanfd: fix SSP_SRC in cases when bit-rate is higher than 1 MBit.
can: gs_usb: gs_usb_receive_bulk_callback(): fix URB memory leak
can: etas_es58x: allow partial RX URB allocation to succeed
====================

Link: https://patch.msgid.link/20260109135311.576033-1-mkl@pengutronix.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

+4 -2
+1 -1
drivers/net/can/ctucanfd/ctucanfd_base.c
··· 310 310 } 311 311 312 312 ssp_cfg = FIELD_PREP(REG_TRV_DELAY_SSP_OFFSET, ssp_offset); 313 - ssp_cfg |= FIELD_PREP(REG_TRV_DELAY_SSP_SRC, 0x1); 313 + ssp_cfg |= FIELD_PREP(REG_TRV_DELAY_SSP_SRC, 0x0); 314 314 } 315 315 316 316 ctucan_write32(priv, CTUCANFD_TRV_DELAY, ssp_cfg);
+1 -1
drivers/net/can/usb/etas_es58x/es58x_core.c
··· 1736 1736 dev_dbg(dev, "%s: Allocated %d rx URBs each of size %u\n", 1737 1737 __func__, i, rx_buf_len); 1738 1738 1739 - return ret; 1739 + return 0; 1740 1740 } 1741 1741 1742 1742 /**
+2
drivers/net/can/usb/gs_usb.c
··· 751 751 hf, parent->hf_size_rx, 752 752 gs_usb_receive_bulk_callback, parent); 753 753 754 + usb_anchor_urb(urb, &parent->rx_submitted); 755 + 754 756 rc = usb_submit_urb(urb, GFP_ATOMIC); 755 757 756 758 /* USB failure take down all interfaces */