Re: [PATCH 1/4] MIPS: kvm: Declare prototype for kvm_init_loongson_ipi

From: Philippe Mathieu-Daudé
Date: Mon May 27 2024 - 08:32:39 EST


On 7/5/24 20:51, Jiaxun Yang wrote:
Declear prototype for kvm_init_loongson_ipi in interrupt.h.

Fix warning:
arch/mips/kvm/loongson_ipi.c:190:6: warning: no previous prototype for ‘kvm_init_loongson_ipi’ [-Wmissing-prototypes]
190 | void kvm_init_loongson_ipi(struct kvm *kvm)
| ^~~~~~~~~~~~~~~~~~~~~

Fixes: f21db3090de2 ("KVM: MIPS: Add Loongson-3 Virtual IPI interrupt support")
Signed-off-by: Jiaxun Yang <jiaxun.yang@xxxxxxxxxxx>
---
arch/mips/kvm/interrupt.h | 4 ++++
arch/mips/kvm/loongson_ipi.c | 2 ++
arch/mips/kvm/mips.c | 2 --
3 files changed, 6 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>