diff options
author | Will Deacon <will.deacon@arm.com> | 2014-08-26 10:13:24 -0400 |
---|---|---|
committer | Christoffer Dall <christoffer.dall@linaro.org> | 2014-08-27 16:49:45 -0400 |
commit | 1fa451bcc67fa921a04c5fac8dbcde7844d54512 (patch) | |
tree | 34904dee7d4f9d87d3bf07dc60e5a9a4f7c40a8e | |
parent | bd218bce92d3868ba4fe5e9e3eb8199d2aa614af (diff) |
KVM: vgic: return int instead of bool when checking I/O ranges
vgic_ioaddr_overlap claims to return a bool, but in reality it returns
an int. Shut sparse up by fixing the type signature.
Cc: Christoffer Dall <christoffer.dall@linaro.org>
Cc: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
-rw-r--r-- | virt/kvm/arm/vgic.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/virt/kvm/arm/vgic.c b/virt/kvm/arm/vgic.c index 73eba793b17f..d1cfe672b9d7 100644 --- a/virt/kvm/arm/vgic.c +++ b/virt/kvm/arm/vgic.c | |||
@@ -1690,7 +1690,7 @@ out: | |||
1690 | return ret; | 1690 | return ret; |
1691 | } | 1691 | } |
1692 | 1692 | ||
1693 | static bool vgic_ioaddr_overlap(struct kvm *kvm) | 1693 | static int vgic_ioaddr_overlap(struct kvm *kvm) |
1694 | { | 1694 | { |
1695 | phys_addr_t dist = kvm->arch.vgic.vgic_dist_base; | 1695 | phys_addr_t dist = kvm->arch.vgic.vgic_dist_base; |
1696 | phys_addr_t cpu = kvm->arch.vgic.vgic_cpu_base; | 1696 | phys_addr_t cpu = kvm->arch.vgic.vgic_cpu_base; |