[PATCH] x86: Function missing integer return value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This function may need to return a value

Signed-off-by: Li kunyu <kunyu@xxxxxxxxxxxx>
---
 arch/x86/kvm/mmu/mmu.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/x86/kvm/mmu/mmu.c b/arch/x86/kvm/mmu/mmu.c
index 64a2a7e2be90..68f33b932f94 100644
--- a/arch/x86/kvm/mmu/mmu.c
+++ b/arch/x86/kvm/mmu/mmu.c
@@ -6500,6 +6500,8 @@ static int kvm_nx_lpage_recovery_worker(struct kvm *kvm, uintptr_t data)
 
 		kvm_recover_nx_lpages(kvm);
 	}
+
+	return 0;
 }
 
 int kvm_mmu_post_init_vm(struct kvm *kvm)
-- 
2.18.2




[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux