diff options
| author | Michael Kelley <[email protected]> | 2025-02-26 20:06:06 +0000 |
|---|---|---|
| committer | Wei Liu <[email protected]> | 2025-03-10 00:21:07 +0000 |
| commit | 09beefefb57bbc3a06d98f319d85db4d719d7bcb (patch) | |
| tree | fc3d27174255add9bfaf8d02a6f95979c8473781 /tools/testing/selftests/kvm/x86/nested_exceptions_test.c | |
| parent | fbdev: hyperv_fb: Allow graceful removal of framebuffer (diff) | |
| download | kernel-09beefefb57bbc3a06d98f319d85db4d719d7bcb.tar.gz kernel-09beefefb57bbc3a06d98f319d85db4d719d7bcb.zip | |
x86/hyperv: Fix output argument to hypercall that changes page visibility
The hypercall in hv_mark_gpa_visibility() is invoked with an input
argument and an output argument. The output argument ostensibly returns
the number of pages that were processed. But in fact, the hypercall does
not provide any output, so the output argument is spurious.
The spurious argument is harmless because Hyper-V ignores it, but in the
interest of correctness and to avoid the potential for future problems,
remove it.
Signed-off-by: Michael Kelley <[email protected]>
Reviewed-by: Nuno Das Neves <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Wei Liu <[email protected]>
Message-ID: <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions
