On Thu, 2025-10-16 at 17:32 -0700, Sean Christopherson wrote: > 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.
There is a tiny functional change. In the default case it no longer re-copies the struct back to userspace. > > Signed-off-by: Sean Christopherson <[email protected]> > --- Reviewed-by: Rick Edgecombe <[email protected]>
