KVM: vgic: return int instead of bool when checking I/O ranges
authorWill Deacon <will.deacon@arm.com>
Tue, 26 Aug 2014 14:13:24 +0000 (15:13 +0100)
committerChristoffer Dall <christoffer.dall@linaro.org>
Wed, 27 Aug 2014 20:49:45 +0000 (22:49 +0200)
commit1fa451bcc67fa921a04c5fac8dbcde7844d54512
tree34904dee7d4f9d87d3bf07dc60e5a9a4f7c40a8e
parentbd218bce92d3868ba4fe5e9e3eb8199d2aa614af
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>
virt/kvm/arm/vgic.c