[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <aPZaeU1PGQFkUSHE@google.com>
Date: Mon, 20 Oct 2025 08:51:21 -0700
From: Sean Christopherson <seanjc@...gle.com>
To: Paolo Bonzini <pbonzini@...hat.com>
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] KVM: guest_memfd: Drop a superfluous local var in kvm_gmem_fault_user_mapping()
On Wed, Oct 15, 2025, Sean Christopherson wrote:
> 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
FYI, I rebased this onto 6.18-rc2 to avoid a silly merge. New hash:
[1/1] KVM: guest_memfd: Drop a superfluous local var in kvm_gmem_fault_user_mapping()
https://github.com/kvm-x86/linux/commit/5f3e10797ab8
Powered by blists - more mailing lists