]> www.infradead.org Git - users/jedix/linux-maple.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 23 Mar 2019 13:35:22 +0000 (14:35 +0100)
commitb4ea62123624ca194f9d217aecd9d91a4ae28e72
tree06e6fccc2476798588d36558266c432d7cbf3db8
parent04e9b13e566d54917591143e0ea477c5808a8383
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