summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorCarlos López <clopez@suse.de>2026-03-10 16:48:26 -0700
committerSean Christopherson <seanjc@google.com>2026-04-09 12:00:22 -0700
commit84841f3941d7e837b23852e966c7bd4f4d6b62e6 (patch)
tree80cc8a108be1f4bf7c025b2f4932d28f4e98c3ab /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parent63e56d8425a71e20789f68c533f5615a9e7d43cc (diff)
KVM: SEV: use mutex guard in sev_mem_enc_unregister_region()
Simplify the error paths in sev_mem_enc_unregister_region() by using a mutex guard, allowing early return instead of using gotos. Signed-off-by: Carlos López <clopez@suse.de> Link: https://patch.msgid.link/20260120201013.3931334-7-clopez@suse.de Link: https://patch.msgid.link/20260310234829.2608037-19-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions