All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] migration: Fix warning caused by missing declaration of vmstate_dummy
@ 2015-02-06 20:52 Stefan Weil
  2015-02-06 20:52 ` [Qemu-trivial] [PATCH] migration: Fix warnings caused by missing 'static' attribute Stefan Weil
  2015-02-06 21:34 ` [Qemu-trivial] [PATCH] migration: Fix warning caused by missing declaration of vmstate_dummy Stefan Weil
  0 siblings, 2 replies; 3+ messages in thread
From: Stefan Weil @ 2015-02-06 20:52 UTC (permalink / raw)
  To: qemu-devel, qemu-trivial; +Cc: Amit Shah, Stefan Weil, Juan Quintela

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 <quintela@redhat.com>
Cc: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
 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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-06 21:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-06 20:52 [Qemu-trivial] [PATCH] migration: Fix warning caused by missing declaration of vmstate_dummy Stefan Weil
2015-02-06 20:52 ` [Qemu-trivial] [PATCH] migration: Fix warnings caused by missing 'static' attribute Stefan Weil
2015-02-06 21:34 ` [Qemu-trivial] [PATCH] migration: Fix warning caused by missing declaration of vmstate_dummy Stefan Weil

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.