Re: [PATCH net v2] eth: fbnic: Avoid rounding zero ring sizes

From: patchwork-bot+netdevbpf

Date: Tue Sep 22 2026 - 22:01:41 EST


Hello:

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

On Fri, 18 Sep 2026 13:46:40 +0200 you wrote:
> roundup_pow_of_two() is undefined for zero. ethtool permits a zero ring
> size to reach the driver, where the minimum-size check should reject it.
>
> Leave zero unchanged while rounding nonzero ring sizes. The minimum-size
> check then rejects zero deterministically without changing the established
> behavior for other values.
>
> [...]

Here is the summary with links:
- [net,v2] eth: fbnic: Avoid rounding zero ring sizes
https://git.kernel.org/netdev/net/c/0160953d8eec

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