Thread (12 messages) 12 messages, 2 authors, 2025-10-16

Re: [PATCH net 01/10] can: gs_usb: increase max interface to U8_MAX

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-10-16 01:20:35
Also in: linux-can, stable

Hello:

This series was applied to netdev/net.git (main)
by Marc Kleine-Budde [off-list ref]:

On Tue, 14 Oct 2025 14:17:48 +0200 you wrote:
From: Celeste Liu <redacted>

This issue was found by Runcheng Lu when develop HSCanT USB to CAN FD
converter[1]. The original developers may have only 3 interfaces
device to test so they write 3 here and wait for future change.

During the HSCanT development, we actually used 4 interfaces, so the
limitation of 3 is not enough now. But just increase one is not
future-proofed. Since the channel index type in gs_host_frame is u8,
just make canch[] become a flexible array with a u8 index, so it
naturally constraint by U8_MAX and avoid statically allocate 256
pointer for every gs_usb device.

[...]
Here is the summary with links:
  - [net,01/10] can: gs_usb: increase max interface to U8_MAX
    https://git.kernel.org/netdev/net/c/2a27f6a8fb57
  - [net,02/10] can: gs_usb: gs_make_candev(): populate net_device->dev_port
    https://git.kernel.org/netdev/net/c/a12f0bc764da
  - [net,03/10] can: m_can: m_can_plat_remove(): add missing pm_runtime_disable()
    https://git.kernel.org/netdev/net/c/ba569fb07a7e
  - [net,04/10] can: m_can: m_can_handle_state_errors(): fix CAN state transition to Error Active
    https://git.kernel.org/netdev/net/c/3d9db29b45f9
  - [net,05/10] can: m_can: m_can_chip_config(): bring up interface in correct state
    https://git.kernel.org/netdev/net/c/4942c42fe184
  - [net,06/10] can: m_can: fix CAN state in system PM
    https://git.kernel.org/netdev/net/c/a9e30a22d6f2
  - [net,07/10] can: m_can: replace Dong Aisheng's old email address
    https://git.kernel.org/netdev/net/c/49836ff2f37d
  - [net,08/10] can: remove false statement about 1:1 mapping between DLC and length
    https://git.kernel.org/netdev/net/c/c282993ccd97
  - [net,09/10] can: add Transmitter Delay Compensation (TDC) documentation
    https://git.kernel.org/netdev/net/c/b5746b3e8ea4
  - [net,10/10] can: j1939: add missing calls in NETDEV_UNREGISTER notification handler
    https://git.kernel.org/netdev/net/c/93a27b5891b8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help