提交 6afc14e9 编写于 作者: S Stefan Weil 提交者: Michael Tokarev

migration: Fix warning caused by missing declaration of vmstate_dummy

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: NStefan Weil <sw@weilnetz.de>
Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru>
上级 084cc839
...@@ -139,9 +139,7 @@ struct VMStateDescription { ...@@ -139,9 +139,7 @@ struct VMStateDescription {
const VMStateSubsection *subsections; const VMStateSubsection *subsections;
}; };
#ifdef CONFIG_USER_ONLY
extern const VMStateDescription vmstate_dummy; extern const VMStateDescription vmstate_dummy;
#endif
extern const VMStateInfo vmstate_info_bool; extern const VMStateInfo vmstate_info_bool;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册