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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 19:10:01 +0000 (20:10 +0100)
commitc8666ede18ec96cff451e021761e321c32a1cc14
tree8d7167376372766542182fcec774a91ed9360d03
parentb92fad6995c31e5a5a923dd602c7c26f0199057b
irqchip/gic-v3-its: Avoid parsing _indirect_ twice for Device table

commit 8d565748b6035eeda18895c213396a4c9fac6a4c upstream.

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: 32bd44dc19de ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/irqchip/irq-gic-v3-its.c