]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Fix VPE activate callback return value
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 7 Nov 2017 10:04:38 +0000 (10:04 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Tue, 7 Nov 2017 11:09:51 +0000 (11:09 +0000)
commit74e2ed3317748e584c99184a202a62158ca12d27
treeaac930fa30494d7a3f58a9cc6aa162dfb3776146
parent107be697ec56d60052c14f16828900d784d7b744
irqchip/gic-v3-its: Fix VPE activate callback return value

its_vpe_irq_domain_activate should always return 0. Really. There
is not a single case why it wouldn't.  So this "return true;" is
really a copy/paste issue that got revealed now that we actually
check the return value of the activate method.

Brown paper bag day.

Fixes: dc575e8d0cad ("irqchip/gic-v3-its: Limit scope of VPE mapping to be per ITS")
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c