From: David Michael Date: Sun, 26 Jan 2020 22:31:58 +0000 (-0500) Subject: KVM: PPC: Book3S PR: Fix -Werror=return-type build failure X-Git-Tag: v5.6-rc1~106^2~1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fd24a8624eb29d3b6b7df68096ce0321b19b03c6;p=thirdparty%2Flinux.git KVM: PPC: Book3S PR: Fix -Werror=return-type build failure Fixes: 3a167beac07c ("kvm: powerpc: Add kvmppc_ops callback") Signed-off-by: David Michael Signed-off-by: Paul Mackerras --- diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c index ce4fcf76e53e9..eb86a2f26986f 100644 --- a/arch/powerpc/kvm/book3s_pr.c +++ b/arch/powerpc/kvm/book3s_pr.c @@ -2030,6 +2030,7 @@ static int kvm_vm_ioctl_get_smmu_info_pr(struct kvm *kvm, { /* We should not get called */ BUG(); + return 0; } #endif /* CONFIG_PPC64 */