mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] x86: Function missing integer return value
@ 2022-05-05 11:32 Li kunyu
  2022-05-05 11:36 ` Juergen Gross
  0 siblings, 1 reply; 5+ messages in thread
From: Li kunyu @ 2022-05-05 11:32 UTC (permalink / raw)
  To: pbonzini, seanjc, vkuznets, wanpengli, jmattson, joro, tglx,
	mingo, bp, dave.hansen, hpa
  Cc: x86, kvm, linux-kernel, Li kunyu

This function may need to return a value

Signed-off-by: Li kunyu <kunyu@nfschina.com>
---
 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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-05 15:28 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-05 11:32 [PATCH] x86: Function missing integer return value Li kunyu
2022-05-05 11:36 ` Juergen Gross
2022-05-05 13:37   ` Maciej S. Szmigiero
2022-05-05 13:40     ` Paolo Bonzini
2022-05-05 15:28     ` Li kunyu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®