Re: [PATCH v2] sky2: Make sure there is at least one frag_addr available

From: patchwork-bot+netdevbpf
Date: Mon Oct 02 2023 - 03:10:27 EST


Hello:

This patch was applied to netdev/net.git (main)
by David S. Miller <davem@xxxxxxxxxxxxx>:

On Fri, 22 Sep 2023 09:50:39 -0700 you wrote:
> In the pathological case of building sky2 with 16k PAGE_SIZE, the
> frag_addr[] array would never be used, so the original code was correct
> that size should be 0. But the compiler now gets upset with 0 size arrays
> in places where it hasn't eliminated the code that might access such an
> array (it can't figure out that in this case an rx skb with fragments
> would never be created). To keep the compiler happy, make sure there is
> at least 1 frag_addr in struct rx_ring_info:
>
> [...]

Here is the summary with links:
- [v2] sky2: Make sure there is at least one frag_addr available
https://git.kernel.org/netdev/net/c/6a70e5cbedaf

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