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>
Thu, 2 Oct 2014 15:19:13 +0000 (17:19 +0200)
commit02b1b15d1265067d246eb8017c27c75d2fac5dae
treed97d4b97327ee243b5e473398e07ce03da4e1b14
parent1453b5c1052996b983f6d9ae043dec64e089c0c8
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>
(cherry picked from commit 1fa451bcc67fa921a04c5fac8dbcde7844d54512)
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
virt/kvm/arm/vgic.c