diff options
Diffstat (limited to 'virt/kvm/arm/vgic-v2-emul.c')
-rw-r--r-- | virt/kvm/arm/vgic-v2-emul.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/arm/vgic-v2-emul.c b/virt/kvm/arm/vgic-v2-emul.c index ddb3135363d8..1dd183ecf96f 100644 --- a/virt/kvm/arm/vgic-v2-emul.c +++ b/virt/kvm/arm/vgic-v2-emul.c | |||
@@ -715,7 +715,7 @@ static int vgic_attr_regs_access(struct kvm_device *dev, | |||
715 | default: | 715 | default: |
716 | BUG(); | 716 | BUG(); |
717 | } | 717 | } |
718 | r = vgic_find_range(ranges, &mmio, offset); | 718 | r = vgic_find_range(ranges, 4, offset); |
719 | 719 | ||
720 | if (unlikely(!r || !r->handle_mmio)) { | 720 | if (unlikely(!r || !r->handle_mmio)) { |
721 | ret = -ENXIO; | 721 | ret = -ENXIO; |