On Thu, 30 Apr 2020 at 12:52, Peter Maydell <peter.mayd...@linaro.org> wrote: > > From: Philippe Mathieu-Daudé <phi...@redhat.com> > > Suggested-by: Richard Henderson <richard.hender...@linaro.org> > Reviewed-by: Richard Henderson <richard.hender...@linaro.org> > Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> > Message-id: 20200423073358.27155-4-phi...@redhat.com > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
This causes compile errors on configs where the array ends up empty: /home/pm/qemu/target/arm/cpu.c: In function ‘arm_cpu_register_types’: /home/pm/qemu/target/arm/cpu.c:2903:19: error: comparison of unsigned expression < 0 is always false [-Werror=type-limits] for (i = 0; i < ARRAY_SIZE(arm_cpus); ++i) { ^ I've dropped the patch from the pullreq. thanks -- PMM