* [Qemu-devel] [PATCH] pc: Add missing 'static' attribute
@ 2014-09-19 20:49 Stefan Weil
2014-09-20 13:56 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2014-09-19 20:49 UTC (permalink / raw
To: qemu-devel; +Cc: qemu-trivial, Stefan Weil
This fixes a warning from smatch (static code analysis).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
hw/i386/pc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/i386/pc.c b/hw/i386/pc.c
index 2c2e9dc..82a7daa 100644
--- a/hw/i386/pc.c
+++ b/hw/i386/pc.c
@@ -75,7 +75,7 @@
/* Leave a chunk of memory at the top of RAM for the BIOS ACPI tables
* (128K) and other BIOS datastructures (less than 4K reported to be used at
* the moment, 32K should be enough for a while). */
-unsigned acpi_data_size = 0x20000 + 0x8000;
+static unsigned acpi_data_size = 0x20000 + 0x8000;
void pc_set_legacy_acpi_data_size(void)
{
acpi_data_size = 0x10000;
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [Qemu-trivial] [PATCH] pc: Add missing 'static' attribute
2014-09-19 20:49 [Qemu-devel] [PATCH] pc: Add missing 'static' attribute Stefan Weil
@ 2014-09-20 13:56 ` Michael Tokarev
0 siblings, 0 replies; 2+ messages in thread
From: Michael Tokarev @ 2014-09-20 13:56 UTC (permalink / raw
To: Stefan Weil, qemu-devel; +Cc: qemu-trivial
Applied, thank you!
/mjt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-20 13:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-19 20:49 [Qemu-devel] [PATCH] pc: Add missing 'static' attribute Stefan Weil
2014-09-20 13:56 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.