Re: [net-next v2] net/ethtool: drop duplicate TSCONFIG HWTSTAMP BUILD_BUG_ON from SET handler
From: patchwork-bot+netdevbpf
Date: Tue May 19 2026 - 09:29:23 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:
On Fri, 15 May 2026 11:25:50 +0800 you wrote:
> BUILD_BUG_ON() is evaluated at compile time. The same three checks
> for __HWTSTAMP_TX_CNT, __HWTSTAMP_FILTER_CNT and __HWTSTAMP_FLAG_CNT
> are already present earlier in this file (tsconfig_reply_size()).
> Repeating them at the start of ethnl_set_tsconfig() does not
> strengthen the guarantee; remove the redundant block there and
> keep a single occurrence.
>
> [...]
Here is the summary with links:
- [net-next,v2] net/ethtool: drop duplicate TSCONFIG HWTSTAMP BUILD_BUG_ON from SET handler
https://git.kernel.org/netdev/net-next/c/794cd1c77f53
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html