diff options
author | Liao Yuanhong <liaoyuanhong@vivo.com> | 2025-09-01 16:18:21 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-09-16 22:55:10 +0300 |
commit | 4319fa120f0f42be167d56d84ece94340e11d61e (patch) | |
tree | 869ae72da10638aae9f6ef229b4e4120b02a1f05 /tools/docs/parse-headers.py | |
parent | 06dc910f5e07a3b85ea1a6891596689f492ecc72 (diff) | |
download | linux-4319fa120f0f42be167d56d84ece94340e11d61e.tar.xz |
KVM: x86: Use guard() instead of mutex_lock() to simplify code
Use guard(mutex) instead of mutex_lock/mutex_unlock pair to simplify the
error handling when allocating the APIC access page.
No functional change intended.
Signed-off-by: Liao Yuanhong <liaoyuanhong@vivo.com>
Link: https://lore.kernel.org/r/20250901131822.647802-1-liaoyuanhong@vivo.com
[sean: add blank link to isolate guard(), tweak changelog]
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/docs/parse-headers.py')
0 files changed, 0 insertions, 0 deletions