hw/intc/grlib_irqmp: abort realize when ncpus value is out of range
commitc9ee67c3c64cb161a092d9af6be0c17643d92be2
authorClément Chigot <chigot@adacore.com>
Fri, 8 Mar 2024 15:27:19 +0000 (8 16:27 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 9 Mar 2024 18:17:01 +0000 (9 19:17 +0100)
tree921ba3b3881b9153cee2610511f830ad0bd06d40
parent78abf93cc7e2254401ccdb4df53e608927d81feb
hw/intc/grlib_irqmp: abort realize when ncpus value is out of range

Even if the error is set, the build is not aborted when the ncpus value
is wrong, the return is missing.

Signed-off-by: Clément Chigot <chigot@adacore.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Fixes: 6bf1478543 ("hw/intc/grlib_irqmp: add ncpus property")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240308152719.591232-1-chigot@adacore.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/intc/grlib_irqmp.c