diff options
author | Sean Christopherson <seanjc@google.com> | 2025-02-27 04:25:38 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2025-03-03 18:34:53 +0300 |
commit | 46332437e1c546e2ade4fedab2715c66bce573cc (patch) | |
tree | 161cb74da252f689d99ba04e991e735b99b23b4b /tools/perf/scripts/python/task-analyzer.py | |
parent | c6e129fb2ad2c60f22890c0ebe29deffb8cd61f7 (diff) | |
download | linux-46332437e1c546e2ade4fedab2715c66bce573cc.tar.xz |
KVM: SVM: Use guard(mutex) to simplify SNP AP Creation error handling
Use guard(mutex) in sev_snp_ap_creation() and modify the error paths to
return directly instead of jumping to a common exit point.
No functional change intended.
Reviewed-by: Tom Lendacky <thomas.lendacky@amd.com>
Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com>
Link: https://lore.kernel.org/r/20250227012541.3234589-8-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions