aboutsummaryrefslogtreecommitdiffstats
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorMichael Kelley <[email protected]>2025-02-26 20:06:06 +0000
committerWei Liu <[email protected]>2025-03-10 00:21:07 +0000
commit09beefefb57bbc3a06d98f319d85db4d719d7bcb (patch)
treefc3d27174255add9bfaf8d02a6f95979c8473781 /net/switchdev/switchdev.c
parentfbdev: hyperv_fb: Allow graceful removal of framebuffer (diff)
downloadkernel-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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions