diff options
author | 2023-06-20 11:40:38 -0700 | |
---|---|---|
committer | 2023-06-28 17:53:25 +0000 | |
commit | 55e544e1a922d272b62ec576a3de92329f838ce9 (patch) | |
tree | 82c8e08726a5bc79d9120af9d84a16cdbbb43d90 /scripts/generate_rust_analyzer.py | |
parent | Drivers: hv: Change hv_free_hyperv_page() to take void * argument (diff) | |
download | wireguard-linux-55e544e1a922d272b62ec576a3de92329f838ce9.tar.xz wireguard-linux-55e544e1a922d272b62ec576a3de92329f838ce9.zip |
x86/hyperv: Improve code for referencing hyperv_pcpu_input_arg
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@linux.microsoft.com>
Link: https://lore.kernel.org/r/1687286438-9421-1-git-send-email-niyelchu@linux.microsoft.com
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions