projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a969c0
)
tests/qtest/boot-serial-test: Constify tests[] array
author
Philippe Mathieu-Daudé
<philmd@linaro.org>
Fri, 20 Jan 2023 08:23:31 +0000
(09:23 +0100)
committer
Thomas Huth
<thuth@redhat.com>
Thu, 26 Jan 2023 12:53:52 +0000
(13:53 +0100)
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>
tests/qtest/boot-serial-test.c
patch
|
blob
|
history
diff --git
a/tests/qtest/boot-serial-test.c
b/tests/qtest/boot-serial-test.c
index b216519b62fff58774db619a5c7b40af9b186f90..3aef3a97a99e2075035b5fe7292fd955af0914b4 100644
(file)
--- 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},