From: Philippe Mathieu-Daudé Date: Fri, 20 Jan 2023 08:23:31 +0000 (+0100) Subject: tests/qtest/boot-serial-test: Constify tests[] array X-Git-Tag: v8.0.0-rc0~81^2~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a4267f00925301e908484050fab559c93bee5a1a;p=thirdparty%2Fqemu.git tests/qtest/boot-serial-test: Constify tests[] array Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Richard Henderson Message-Id: <20230120082341.59913-2-philmd@linaro.org> Signed-off-by: Thomas Huth --- diff --git a/tests/qtest/boot-serial-test.c b/tests/qtest/boot-serial-test.c index b216519b62f..3aef3a97a99 100644 --- a/tests/qtest/boot-serial-test.c +++ b/tests/qtest/boot-serial-test.c @@ -139,7 +139,7 @@ typedef struct testdef { const uint8_t *bios; /* Set in case we use our own mini bios */ } testdef_t; -static testdef_t tests[] = { +static const testdef_t tests[] = { { "alpha", "clipper", "", "PCI:" }, { "avr", "arduino-duemilanove", "", "T", sizeof(bios_avr), NULL, bios_avr }, { "avr", "arduino-mega-2560-v3", "", "T", sizeof(bios_avr), NULL, bios_avr},