Re: [PATCH] KVM: x86: hyper-v: Use guard() instead of mutex_lock() to simplify code

From: Sean Christopherson

Date: Tue Sep 16 2025 - 16:02:03 EST


On Mon, Sep 15, 2025, Sean Christopherson wrote:
> On Mon, 01 Sep 2025 21:16:04 +0800, Liao Yuanhong wrote:
> > Using guard(mutex) instead of mutex_lock/mutex_unlock pair. Simplifies the
> > error handling to just return in case of error. No need for the
> > 'out_unlock' label anymore so remove it.
>
> Applied to kvm-x86 misc, thanks!
>
> [1/1] KVM: x86: hyper-v: Use guard() instead of mutex_lock() to simplify code
> https://github.com/kvm-x86/linux/commit/864384e97981

This one also got affected by the force push for an unrelated commit, new hash:

https://github.com/kvm-x86/linux/commit/cbd860293d13