summaryrefslogtreecommitdiff
path: root/scripts/patch-kernel
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-10-30 23:09:47 +0300
committerSean Christopherson <seanjc@google.com>2025-11-05 22:17:30 +0300
commit0b76e827b29db17a37870a71814e347970394c78 (patch)
tree6703e85f459ade87072f75ac9d0e1b7b1dd07fe2 /scripts/patch-kernel
parent94428e3ba3258fc2862db3f9999e548d5a2d2a2a (diff)
downloadlinux-0b76e827b29db17a37870a71814e347970394c78.tar.xz
KVM: TDX: Use guard() to acquire kvm->lock in tdx_vm_ioctl()
Use guard() in tdx_vm_ioctl() to tidy up the code a small amount, but more importantly to minimize the diff of a future change, which will use guard-like semantics to acquire and release multiple locks. No functional change intended. Reviewed-by: Rick Edgecombe <rick.p.edgecombe@intel.com> Reviewed-by: Kai Huang <kai.huang@intel.com> Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com> Reviewed-by: Yan Zhao <yan.y.zhao@intel.com> Tested-by: Yan Zhao <yan.y.zhao@intel.com> Tested-by: Kai Huang <kai.huang@intel.com> Link: https://patch.msgid.link/20251030200951.3402865-25-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/patch-kernel')
0 files changed, 0 insertions, 0 deletions