diff options
| author | Carlos López <clopez@suse.de> | 2026-03-10 16:48:27 -0700 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-04-09 12:00:22 -0700 |
| commit | f09b7f4af9bb8a0e4f219bb2ed6af25b8baa8be3 (patch) | |
| tree | 8712eaa89d4c64dd76b3e905c0e2954f8acd721b /rust/kernel/interop/git@git.tavy.me:linux-stable.git | |
| parent | 84841f3941d7e837b23852e966c7bd4f4d6b62e6 (diff) | |
KVM: SEV: use mutex guard in snp_handle_guest_req()
Simplify the error paths in snp_handle_guest_req() 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-8-clopez@suse.de
Link: https://patch.msgid.link/20260310234829.2608037-20-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
