diff options
| author | Peter Fang <peter.fang@intel.com> | 2026-09-30 03:30:51 -0700 |
|---|---|---|
| committer | Dave Hansen <dave.hansen@linux.intel.com> | 2026-10-02 09:03:05 -0700 |
| commit | 0d3fe9bad7c9028b23f753c216d4fdc0a1c76fa7 (patch) | |
| tree | 20879a809bc356467b6f30c62b6b206d3cec473f /rust/kernel/gpu | |
| parent | 9fde91b915ff10ab6b093140d78c3f47bf77e1b5 (diff) | |
| download | linux-next-0d3fe9bad7c9028b23f753c216d4fdc0a1c76fa7.tar.gz linux-next-0d3fe9bad7c9028b23f753c216d4fdc0a1c76fa7.zip | |
virt: tdx-guest: Give the Quote buffer an explicit type
The Quote buffer is always a "struct tdx_quote_buf", but its global
pointer is a "void *". A function would have to convert it back to make
sense of it.
Declare the global with its actual type, and give it a better name.
This creates variable shadowing in wait_for_quote_completion(), so
rename its parameter for clarity.
AI was used under supervision to collect/apply feedback, review code and
workshop logs.
Signed-off-by: Peter Fang <peter.fang@intel.com>
Signed-off-by: Dave Hansen <dave.hansen@linux.intel.com>
Reviewed-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Reviewed-by: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Binbin Wu <binbin.wu@linux.intel.com>
Link: https://patch.msgid.link/20260930103739.2851980-3-peter.fang@intel.com
Diffstat (limited to 'rust/kernel/gpu')
0 files changed, 0 insertions, 0 deletions
