]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
irqbypass: Use guard(mutex) in lieu of manual lock+unlock
authorSean Christopherson <seanjc@google.com>
Fri, 16 May 2025 23:07:32 +0000 (16:07 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 20 Jun 2025 20:52:40 +0000 (13:52 -0700)
commit46a4bfd0ae480cabbacc56fe0d8f91cbe229c7ce
tree8b2def723ea6bf2446dcfc4690170ceb27cbff7b
parent5d7dbdce388b43cf3a9bc50c4132493de26aeba4
irqbypass: Use guard(mutex) in lieu of manual lock+unlock

Use guard(mutex) to clean up irqbypass's error handling.

Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Link: https://lore.kernel.org/r/20250516230734.2564775-7-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
virt/lib/irqbypass.c