MIPS: KVM: Fix build error caused by 'kvm_run' cleanup
authorHuacai Chen <chenhc@lemote.com>
Sun, 19 Jul 2020 10:23:27 +0000 (18:23 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 27 Jul 2020 13:53:55 +0000 (09:53 -0400)
Commit c34b26b98caca48ec9ee9 ("KVM: MIPS: clean up redundant 'kvm_run'
parameters") remove the 'kvm_run' parameter in kvm_mips_complete_mmio_
load(), but forget to update all callers.

Fixes: c34b26b98caca48ec9ee9 ("KVM: MIPS: clean up redundant 'kvm_run' parameters")
Reported-by: kernel test robot <lkp@intel.com>
Cc: Tianjia Zhang <tianjia.zhang@linux.alibaba.com>
Signed-off-by: Huacai Chen <chenhc@lemote.com>
Message-Id: <1595154207-9787-1-git-send-email-chenhc@lemote.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/mips/kvm/emulate.c

index 3221193..8018e92 100644 (file)
@@ -2123,7 +2123,7 @@ enum emulation_result kvm_mips_emulate_load(union mips_instruction inst,
                        run->mmio.phys_addr, run->mmio.len, run->mmio.data);
 
        if (!r) {
-               kvm_mips_complete_mmio_load(vcpu, run);
+               kvm_mips_complete_mmio_load(vcpu);
                vcpu->mmio_needed = 0;
                return EMULATE_DONE;
        }