[PATCH] KVM: Remove subtle "struct kvm_stats_desc" pseudo-overlay
patchwork-bot+linux-riscv at kernel.org
patchwork-bot+linux-riscv at kernel.org
Tue Mar 24 17:07:28 AEDT 2026
Hello:
This patch was applied to riscv/linux.git (for-next)
by Sean Christopherson <seanjc at google.com>:
On Fri, 5 Dec 2025 15:26:55 -0800 you wrote:
> Remove KVM's internal pseudo-overlay of kvm_stats_desc, which subtly
> aliases the flexible name[] in the uAPI definition with a fixed-size array
> of the same name. The unusual embedded structure results in compiler
> warnings due to -Wflex-array-member-not-at-end, and also necessitates an
> extra level of dereferencing in KVM. To avoid the "overlay", define the
> uAPI structure to have a fixed-size name when building for the kernel.
>
> [...]
Here is the summary with links:
- KVM: Remove subtle "struct kvm_stats_desc" pseudo-overlay
https://git.kernel.org/riscv/c/da142f3d373a
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
More information about the Linuxppc-dev
mailing list