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)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 26 Feb 2014 17:19:58 +0000 (17:19 +0000)
commitfce0a826083e0416981e2ea9518ce5faa75b81a3
tree3b17288949ac325becf7885f0852f278dfe636e7
parent775fda92a1b52c784cd51c095d67fcca7250e1e5
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
hw/intc/exynos4210_combiner.c