[PATCH] KVM: arm64: Don't use FIELD_PREP() in initialisers
Oliver Upton
oupton at kernel.org
Tue Nov 25 13:25:55 PST 2025
On Tue, 25 Nov 2025 20:17:15 +0000, Marc Zyngier wrote:
> Nathan reports that compiling with CONFIG_PTDUMP_STAGE2_DEBUGFS
> results in a compilation failure, with the compiler moaning about
> "braced-group within expression allowed only inside a function"...
>
> Replace FIELD_PREP() with its shifting primitive, which does the
> trick here.
>
> [...]
Applied to next, thanks!
[1/1] KVM: arm64: Don't use FIELD_PREP() in initialisers
https://git.kernel.org/kvmarm/kvmarm/c/5742f3650013
--
Best,
Oliver
More information about the linux-arm-kernel
mailing list