mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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>
This commit is contained in:
parent
bd218bce92
commit
1fa451bcc6
@ -1690,7 +1690,7 @@ out:
|
||||
return ret;
|
||||
}
|
||||
|
||||
static bool vgic_ioaddr_overlap(struct kvm *kvm)
|
||||
static int vgic_ioaddr_overlap(struct kvm *kvm)
|
||||
{
|
||||
phys_addr_t dist = kvm->arch.vgic.vgic_dist_base;
|
||||
phys_addr_t cpu = kvm->arch.vgic.vgic_cpu_base;
|
||||
|
Loading…
Reference in New Issue
Block a user