Re: [PATCH v3 2/5] hyperv: Fix pointer type for the output of the hypercall in get_vtl(void)
From: Easwar Hariharan
Date: Thu Dec 26 2024 - 16:41:48 EST
On 12/26/2024 1:31 PM, Roman Kisel wrote:
> Commit bc905fa8b633 ("hyperv: Switch from hyperv-tlfs.h to hyperv/hvhdk.h")
> changed the type of the output pointer to `struct hv_register_assoc` from
> `struct hv_get_vp_registers_output`. That leads to an incorrect computation,
> and leaves the system broken.
>
> Use the correct pointer type for the output of the GetVpRegisters hypercall.
>
> Signed-off-by: Roman Kisel <romank@xxxxxxxxxxxxxxxxxxx>
> ---
> arch/x86/hyperv/hv_init.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Please add a Fixes tag, you can just reply to this email, tooling would
probably pick it up. Assuming that:
Reviewed-by: Easwar Hariharan <eahariha@xxxxxxxxxxxxxxxxxxx>