On Wed, Aug 8, 2012 at 9:30 AM, Marc Zyngier <marc.zyngier@xxxxxxx> wrote: > Not initializing the on-stack memory pool leads to all kind of > fun... > > Signed-off-by: Marc Zyngier <marc.zyngier@xxxxxxx> > --- > arch/arm/kvm/mmu.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/kvm/mmu.c b/arch/arm/kvm/mmu.c > index 7448b7f..dda41f4 100644 > --- a/arch/arm/kvm/mmu.c > +++ b/arch/arm/kvm/mmu.c > @@ -517,7 +517,7 @@ int kvm_phys_addr_ioremap(struct kvm *kvm, phys_addr_t guest_ipa, > pgprot_t prot; > int ret = 0; > unsigned long pfn; > - struct kvm_mmu_memory_cache cache; > + struct kvm_mmu_memory_cache cache = { 0, }; > > end = (guest_ipa + size + PAGE_SIZE - 1) & PAGE_MASK; > prot = __pgprot(get_mem_type_prot_pte(MT_DEVICE) | L_PTE_USER | > -- > 1.7.10.3 > > haha, indeed, thanks. _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/cucslists/listinfo/kvmarm