diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2023-01-20 09:23:31 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2023-01-26 13:53:52 +0100 |
commit | a4267f00925301e908484050fab559c93bee5a1a (patch) | |
tree | b86b1ec2e100b324d06302b661dd53477afb99c5 /tests/qtest | |
parent | 2a969c0cbcf575a4c839d60e6ed71bbb9e469fbe (diff) | |
download | qemu-a4267f00925301e908484050fab559c93bee5a1a.zip qemu-a4267f00925301e908484050fab559c93bee5a1a.tar.gz qemu-a4267f00925301e908484050fab559c93bee5a1a.tar.bz2 |
tests/qtest/boot-serial-test: Constify tests[] array
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230120082341.59913-2-philmd@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'tests/qtest')
-rw-r--r-- | tests/qtest/boot-serial-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/qtest/boot-serial-test.c b/tests/qtest/boot-serial-test.c index b216519..3aef3a9 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}, |