[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH 03/10] migration: Fix warning caused by missing de
From: |
Stefan Weil |
Subject: |
[Qemu-trivial] [PATCH 03/10] migration: Fix warning caused by missing declaration of vmstate_dummy |
Date: |
Fri, 6 Feb 2015 22:43:10 +0100 |
Warning from the Sparse static analysis tool:
stubs/vmstate.c:4:26: warning:
symbol 'vmstate_dummy' was not declared. Should it be static?
Cc: Juan Quintela <address@hidden>
Cc: Amit Shah <address@hidden>
Signed-off-by: Stefan Weil <address@hidden>
---
include/migration/vmstate.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/migration/vmstate.h b/include/migration/vmstate.h
index 0b26bc6..c20f2d1 100644
--- a/include/migration/vmstate.h
+++ b/include/migration/vmstate.h
@@ -139,9 +139,7 @@ struct VMStateDescription {
const VMStateSubsection *subsections;
};
-#ifdef CONFIG_USER_ONLY
extern const VMStateDescription vmstate_dummy;
-#endif
extern const VMStateInfo vmstate_info_bool;
--
2.1.4
- [Qemu-trivial] [PATCH 00/10] Fix warnings (undeclared global symbols), Stefan Weil, 2015/02/06
- [Qemu-trivial] [PATCH 01/10] disas/cris: Fix warning caused by missing 'static' attribute, Stefan Weil, 2015/02/06
- [Qemu-trivial] [PATCH 07/10] spice: Add missing 'static' attribute, Stefan Weil, 2015/02/06
- [Qemu-trivial] [PATCH 09/10] vga: Fix warning caused by missing 'static' attribute, Stefan Weil, 2015/02/06
- [Qemu-trivial] [PATCH 06/10] serial: Fix warnings caused by missing 'static' attribute, Stefan Weil, 2015/02/06
- [Qemu-trivial] [PATCH 05/10] moxie: Fix warning caused by missing include statement, Stefan Weil, 2015/02/06
- [Qemu-trivial] [PATCH 08/10] stubs: Fix warning caused by missing include statement, Stefan Weil, 2015/02/06
- [Qemu-trivial] [PATCH 03/10] migration: Fix warning caused by missing declaration of vmstate_dummy,
Stefan Weil <=
- [Qemu-trivial] [PATCH 02/10] disas/sh4: Fix warning caused by missing 'static' attribute, Stefan Weil, 2015/02/06
- [Qemu-trivial] [PATCH 10/10] virtio: Fix warning caused by missing 'static' attribute, Stefan Weil, 2015/02/06
- [Qemu-trivial] [PATCH 04/10] migration: Fix warnings caused by missing 'static' attribute, Stefan Weil, 2015/02/06
- Re: [Qemu-trivial] [PATCH 00/10] Fix warnings (undeclared global symbols), Michael Tokarev, 2015/02/08