Re: [PATCH net v2] net: dsa: sja1105: round up PTP perout pin duration

From: patchwork-bot+netdevbpf

Date: Tue Jun 23 2026 - 17:50:43 EST


Hello:

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

On Thu, 18 Jun 2026 14:05:08 +0300 you wrote:
> pin_duration is converted from the user-provided period to SJA1105
> clock ticks and is later passed as the cycle_time argument to
> future_base_time().
>
> Very small period values may become zero after the conversion,
> which can lead to a division by zero in future_base_time().
>
> [...]

Here is the summary with links:
- [net,v2] net: dsa: sja1105: round up PTP perout pin duration
https://git.kernel.org/netdev/net/c/aee5836273b0

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