]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/exynos4210_combiner: Don't overrun output_irq array in init
authorPeter Maydell <peter.maydell@linaro.org>
Wed, 26 Feb 2014 17:19:58 +0000 (17:19 +0000)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Thu, 27 Feb 2014 15:38:08 +0000 (09:38 -0600)
commitff51a1d589b07d7f95a5355b31a9f962203fd9cd
treec8061458cd64b8553e2c93a67693d3fd9fa82505
parent5444df15819cc1fa5a95876967d726b80f594e31
hw/intc/exynos4210_combiner: Don't overrun output_irq array in init

The Exynos4210 combiner has IIC_NIRQ inputs and IIC_NGRP outputs;
use the correct constant in the loop initializing our output
sysbus IRQs so that we don't overrun the output_irq[] array.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1392659611-8439-1-git-send-email-peter.maydell@linaro.org
Reviewed-by: Andreas Färber <afaerber@suse.de>
Cc: qemu-stable@nongnu.org
(cherry picked from commit fce0a826083e0416981e2ea9518ce5faa75b81a3)

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/intc/exynos4210_combiner.c