[PATCH] KVM: arm64: Add break to default case in kvm_pgtable_stage2_pte_prot()
Oliver Upton
oupton at kernel.org
Tue Nov 25 13:25:56 PST 2025
On Tue, 25 Nov 2025 10:59:15 -0700, Nathan Chancellor wrote:
> Clang warns (or errors with CONFIG_WERROR=y / W=e):
>
> arch/arm64/kvm/hyp/pgtable.c:757:2: error: label at end of compound statement is a C23 extension [-Werror,-Wc23-extensions]
> 757 | }
> | ^
>
> With older versions of clang (15 and older) and GCC (at least the minimum
> supported, 8.1), this is an unconditional hard error:
>
> [...]
Applied to next, thanks!
[1/1] KVM: arm64: Add break to default case in kvm_pgtable_stage2_pte_prot()
https://git.kernel.org/kvmarm/kvmarm/c/621e0a641f64
--
Best,
Oliver
More information about the linux-arm-kernel
mailing list