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:25 -0700
committerSean Christopherson <seanjc@google.com>2026-04-09 12:00:21 -0700
commit63e56d8425a71e20789f68c533f5615a9e7d43cc (patch)
tree797934ef8a7f236a8774fa803bd265d36ca80fd1 /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parent04d77ded6407199d7a6964fa8a74bd93e568b763 (diff)
KVM: SEV: use mutex guard in sev_mem_enc_ioctl()
Simplify the error paths in sev_mem_enc_ioctl() 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-5-clopez@suse.de Link: https://patch.msgid.link/20260310234829.2608037-18-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