summaryrefslogtreecommitdiff
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-02-26 17:25:38 -0800
committerSean Christopherson <seanjc@google.com>2025-03-03 07:34:53 -0800
commit46332437e1c546e2ade4fedab2715c66bce573cc (patch)
tree161cb74da252f689d99ba04e991e735b99b23b4b /rust/helpers/vmalloc.c
parentc6e129fb2ad2c60f22890c0ebe29deffb8cd61f7 (diff)
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 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions