diff options
author | David Michael <fedora.dm0@gmail.com> | 2020-01-26 17:31:58 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@ozlabs.org> | 2020-01-29 16:47:45 +1100 |
commit | fd24a8624eb29d3b6b7df68096ce0321b19b03c6 (patch) | |
tree | 02cafe4885b8a67e6479336ca1ade6f5bfe547fe /arch/powerpc | |
parent | e032e3b55b6f487e48c163c5dca74086f147a169 (diff) |
KVM: PPC: Book3S PR: Fix -Werror=return-type build failure
Fixes: 3a167beac07c ("kvm: powerpc: Add kvmppc_ops callback")
Signed-off-by: David Michael <fedora.dm0@gmail.com>
Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/kvm/book3s_pr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/powerpc/kvm/book3s_pr.c b/arch/powerpc/kvm/book3s_pr.c index ce4fcf76e53e..eb86a2f26986 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 */ |