[PATCH 7/9] KVM: mmu: Move mmu lock/unlock to arch code for clear dirty log

Vipin Sharma vipinsh at google.com
Mon Apr 24 09:45:18 PDT 2023


On Fri, Apr 21, 2023 at 12:43 PM kernel test robot <lkp at intel.com> wrote:
>
> Hi Vipin,
>
> All warnings (new ones prefixed by >>):
>
>    arch/riscv/kvm/mmu.c: In function 'kvm_arch_mmu_enable_log_dirty_pt_masked':
> >> arch/riscv/kvm/mmu.c:399:9: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
>      399 |         phys_addr_t base_gfn = slot->base_gfn + gfn_offset;
>          |         ^~~~~~~~~~~
>
>

I will fix it in v2.



More information about the linux-riscv mailing list