Re: [PATCH net] net: enetc: fix build warning when PAGE_SIZE is greater than 128K

From: patchwork-bot+netdevbpf
Date: Thu Jan 08 2026 - 12:44:33 EST


Hello:

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

On Wed, 7 Jan 2026 17:12:04 +0800 you wrote:
> The max buffer size of ENETC RX BD is 0xFFFF bytes, so if the PAGE_SIZE
> is greater than 128K, ENETC_RXB_DMA_SIZE and ENETC_RXB_DMA_SIZE_XDP will
> be greater than 0xFFFF, thus causing a build warning.
>
> This will not cause any practical issues because ENETC is currently only
> used on the ARM64 platform, and the max PAGE_SIZE is 64K. So this patch
> is only for fixing the build warning that occurs when compiling ENETC
> drivers for other platforms.
>
> [...]

Here is the summary with links:
- [net] net: enetc: fix build warning when PAGE_SIZE is greater than 128K
https://git.kernel.org/netdev/net/c/4b5bdabb5449

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