Re: [PATCH][next] nfp: Use static_assert() to check struct sizes

From: patchwork-bot+netdevbpf
Date: Mon Aug 12 2024 - 22:11:17 EST


Hello:

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

On Thu, 8 Aug 2024 16:08:35 -0600 you wrote:
> Commit d88cabfd9abc ("nfp: Avoid -Wflex-array-member-not-at-end
> warnings") introduced tagged `struct nfp_dump_tl_hdr`. We want
> to ensure that when new members need to be added to the flexible
> structure, they are always included within this tagged struct.
>
> So, we use `static_assert()` to ensure that the memory layout for
> both the flexible structure and the tagged struct is the same after
> any changes.
>
> [...]

Here is the summary with links:
- [next] nfp: Use static_assert() to check struct sizes
https://git.kernel.org/netdev/net-next/c/46dd90fe51f3

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