diff options
| author | Like Xu <[email protected]> | 2023-10-07 06:40:19 +0000 |
|---|---|---|
| committer | Sean Christopherson <[email protected]> | 2023-12-01 16:14:27 +0000 |
| commit | ef8d89033c3f1f6a64757f066b2c17e76d1189f8 (patch) | |
| tree | ae2e85d5003a782a71acae8c7a2176963d499971 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | Revert "KVM: Prevent module exit until all VMs are freed" (diff) | |
| download | kernel-ef8d89033c3f1f6a64757f066b2c17e76d1189f8.tar.gz kernel-ef8d89033c3f1f6a64757f066b2c17e76d1189f8.zip | |
KVM: x86: Remove 'return void' expression for 'void function'
The requested info will be stored in 'guest_xsave->region' referenced by
the incoming pointer "struct kvm_xsave *guest_xsave", thus there is no need
to explicitly use return void expression for a void function "static void
kvm_vcpu_ioctl_x86_get_xsave(...)". The issue is caught with [-Wpedantic].
Fixes: 2d287ec65e79 ("x86/fpu: Allow caller to constrain xfeatures when copying to uabi buffer")
Signed-off-by: Like Xu <[email protected]>
Reviewed-by: Maxim Levitsky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
