diff options
| author | Peter Fang <peter.fang@intel.com> | 2026-09-30 03:30:50 -0700 |
|---|---|---|
| committer | Dave Hansen <dave.hansen@linux.intel.com> | 2026-10-02 09:02:29 -0700 |
| commit | 9fde91b915ff10ab6b093140d78c3f47bf77e1b5 (patch) | |
| tree | 66fce98592eefc441d08c4aef82509edfb20af8e /tools/lib/python | |
| parent | a49e2d257594931772ab8f0024708c3076f3aa1d (diff) | |
| download | linux-next-9fde91b915ff10ab6b093140d78c3f47bf77e1b5.tar.gz linux-next-9fde91b915ff10ab6b093140d78c3f47bf77e1b5.zip | |
x86/tdx: Take the Quote buffer as a generic pointer
tdx_hcall_get_quote() takes a "u8 *" buffer unnecessarily. It is never
used as such, since only the buffer's memory address matters.
Accept a "void *" buffer instead. This avoids a cast to "u8 *" when a
later change gives the guest driver's Quote buffer an explicit type.
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: Kuppuswamy Sathyanarayanan <sathyanarayanan.kuppuswamy@linux.intel.com>
Reviewed-by: Rick Edgecombe <rick.p.edgecombe@intel.com>
Link: https://patch.msgid.link/20260930103739.2851980-2-peter.fang@intel.com
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
