Re: [PATCH net-next v2] ptp: Return -EINVAL on ptp_clock_register if required ops are NULL
From: patchwork-bot+netdevbpf
Date: Wed Nov 05 2025 - 21:00:59 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Tue, 4 Nov 2025 14:59:15 -0800 you wrote:
> ptp_clock should never be registered unless it stubs one of gettimex64()
> or gettime64() and settime64(). WARN_ON_ONCE and error out if either set
> of function pointers is null.
>
> For consistency, n_alarm validation is also folded into the
> WARN_ON_ONCE.
>
> [...]
Here is the summary with links:
- [net-next,v2] ptp: Return -EINVAL on ptp_clock_register if required ops are NULL
https://git.kernel.org/netdev/net-next/c/dfb073d32cac
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html