Re: [PATCH] KVM: guest_memfd: Drop a superfluous local var in kvm_gmem_fault_user_mapping()
From: Sean Christopherson
Date: Wed Oct 15 2025 - 14:05:41 EST
On Tue, 07 Oct 2025 15:27:33 -0700, Sean Christopherson wrote:
> Drop the local "int err" that's buried in the middle guest_memfd's user
> fault handler to avoid the potential for variable shadowing, e.g. if an
> "err" variable were also declared at function scope.
>
> No functional change intended.
>
>
> [...]
Applied to kvm-x86 gmem, thanks!
[1/1] KVM: guest_memfd: Drop a superfluous local var in kvm_gmem_fault_user_mapping()
https://github.com/kvm-x86/linux/commit/c1168f24b444
--
https://github.com/kvm-x86/linux/tree/next