From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Kurz Date: Wed, 22 Jun 2022 12:51:42 +0000 Subject: Re: [PATCH kernel] KVM: PPC: Book3s: Fix warning about xics_rm_h_xirr_x Message-Id: <20220622145142.53c3668f@bahia> List-Id: References: <20220622055235.1139204-1-aik@ozlabs.ru> In-Reply-To: <20220622055235.1139204-1-aik@ozlabs.ru> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Alexey Kardashevskiy Cc: linuxppc-dev@lists.ozlabs.org, kvm-ppc@vger.kernel.org On Wed, 22 Jun 2022 15:52:35 +1000 Alexey Kardashevskiy wrote: > This fixes "no previous prototype": > > arch/powerpc/kvm/book3s_hv_rm_xics.c:482:15: > warning: no previous prototype for 'xics_rm_h_xirr_x' [-Wmissing-prototypes] > > Reported by the kernel test robot. > > Fixes: b22af9041927 ("KVM: PPC: Book3s: Remove real mode interrupt controller hcalls handlers") > Signed-off-by: Alexey Kardashevskiy > --- FWIW Reviewed-by: Greg Kurz > arch/powerpc/kvm/book3s_xics.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/powerpc/kvm/book3s_xics.h b/arch/powerpc/kvm/book3s_xics.h > index 8e4c79e2fcd8..08fb0843faf5 100644 > --- a/arch/powerpc/kvm/book3s_xics.h > +++ b/arch/powerpc/kvm/book3s_xics.h > @@ -143,6 +143,7 @@ static inline struct kvmppc_ics *kvmppc_xics_find_ics(struct kvmppc_xics *xics, > } > > extern unsigned long xics_rm_h_xirr(struct kvm_vcpu *vcpu); > +extern unsigned long xics_rm_h_xirr_x(struct kvm_vcpu *vcpu); > extern int xics_rm_h_ipi(struct kvm_vcpu *vcpu, unsigned long server, > unsigned long mfrr); > extern int xics_rm_h_cppr(struct kvm_vcpu *vcpu, unsigned long cppr);