[PATCH net] net: lan969x: fix DSM calendar for empty taxis

patchwork-bot+netdevbpf at kernel.org patchwork-bot+netdevbpf at kernel.org
Wed Oct 21 17:30:15 PDT 2026


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba at kernel.org>:

On Tue, 20 Oct 2026 10:58:35 +0200 you wrote:
> lan969x_dsm_calendar_calc() computes the DSM calendar schedule of one
> taxi. sparx5_config_dsm_calendar() calls it for each taxi, reusing the
> same sparx5_calendar_data.
> 
> Before this patch, the schedule is only cleared after the n_devs == 0
> early return. For a taxi with no active ports, the function writes
> SPX5_DSM_CAL_EMPTY only to schedule[0] and leaves the remaining slots
> at whatever they held before. For the first taxi that is zero from
> kzalloc(), so sparx5_dsm_cal_len() returns a bogus length and
> sparx5_dsm_calendar_check() fails, which fails the probe:
> 
> [...]

Here is the summary with links:
  - [net] net: lan969x: fix DSM calendar for empty taxis
    https://git.kernel.org/netdev/net/c/a031ec9ff5a2

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





More information about the linux-arm-kernel mailing list