]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: arm: irqfd: fix value returned by kvm_irq_map_gsi
authorEric Auger <eric.auger@linaro.org>
Mon, 13 Apr 2015 13:01:59 +0000 (15:01 +0200)
committerMarc Zyngier <marc.zyngier@arm.com>
Wed, 22 Apr 2015 14:37:54 +0000 (15:37 +0100)
commitf2f530e05dc646693d3ff25e5c722d22c7fe6c7c
tree22699866daab419f59748d735674fa3fdac2e3b7
parent021fde8124d4a87e5697573b6e8fbeee8227af7d
KVM: arm: irqfd: fix value returned by kvm_irq_map_gsi

irqfd/arm curently does not support routing. kvm_irq_map_gsi is
supposed to return all the routing entries associated with the
provided gsi and return the number of those entries. We should
return 0 at this point.

Signed-off-by: Eric Auger <eric.auger@linaro.org>
Acked-by: Christoffer Dall <christoffer.dall@linaro.org>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
virt/kvm/arm/vgic.c