]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: arm64: Clean up control flow in kvm_s2_fault_map()
authorFuad Tabba <tabba@google.com>
Fri, 6 Mar 2026 14:02:32 +0000 (14:02 +0000)
committerMarc Zyngier <maz@kernel.org>
Sat, 28 Mar 2026 11:29:41 +0000 (11:29 +0000)
commit11f8f1b8a97b63b180f7aa021ec9abdead283025
tree5037842edd8e96fefd4368111c44e4b73ff99fa2
parent84699747aa554197f6d5b4f4c9d1bcb6cb28e21f
KVM: arm64: Clean up control flow in kvm_s2_fault_map()

Clean up the KVM MMU lock retry loop by pre-assigning the error code.
Add clear braces to the THP adjustment integration for readability, and
safely unnest the transparent hugepage logic branches.

Signed-off-by: Fuad Tabba <tabba@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
arch/arm64/kvm/mmu.c