Re: [PATCH] x86/hyperv: Improve code for referencing hyperv_pcpu_input_arg

From: Wei Liu
Date: Wed Jun 28 2023 - 13:53:55 EST


On Tue, Jun 20, 2023 at 11:40:38AM -0700, Nischala Yelchuri wrote:
> Several places in code for Hyper-V reference the
> per-CPU variable hyperv_pcpu_input_arg. Older code uses a multi-line
> sequence to reference the variable, and usually includes a cast.
> Newer code does a much simpler direct assignment. The latter is
> preferable as the complexity of the older code is unnecessary.
>
> Update older code to use the simpler direct assignment.
>
> Signed-off-by: Nischala Yelchuri <niyelchu@xxxxxxxxxxxxxxxxxxx>

Applied to hyperv-fixes. Thanks!