]> git.baikalelectronics.ru Git - kernel.git/commit
irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table
authorZenghui Yu <yuzenghui@huawei.com>
Sun, 10 Feb 2019 05:24:10 +0000 (05:24 +0000)
committerMarc Zyngier <marc.zyngier@arm.com>
Thu, 14 Feb 2019 10:29:02 +0000 (10:29 +0000)
commit41d76ff162f43474ecd257174f819012dadd5dc2
tree32aeedf24c98095303d3c6240fa868ef577e866b
parentda41af9085c57290d61fb54c6b418eae11f9e071
irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table

In current logic, its_parse_indirect_baser() will be invoked twice
when allocating Device tables. Add a *break* to omit the unnecessary
and annoying (might be ...) invoking.

Fixes: 31b3e53a3e66 ("irqchip/gic-v3-its: Fix the incorrect parsing of VCPU table size")
Cc: stable@vger.kernel.org
Signed-off-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
drivers/irqchip/irq-gic-v3-its.c