* [Qemu-devel] [PATCH] hw/ide: Add missing 'static' attributes
@ 2014-03-16 18:13 Stefan Weil
2014-03-17 14:45 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2014-03-16 18:13 UTC (permalink / raw)
To: qemu-trivial; +Cc: Kevin Wolf, Stefan Weil, qemu-devel
This fixes a warning from the static code analysis (smatch).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
---
hw/ide/pci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/ide/pci.c b/hw/ide/pci.c
index 91151fc..d8b1157 100644
--- a/hw/ide/pci.c
+++ b/hw/ide/pci.c
@@ -421,7 +421,7 @@ static const VMStateDescription vmstate_bmdma_current = {
}
};
-const VMStateDescription vmstate_bmdma_status = {
+static const VMStateDescription vmstate_bmdma_status = {
.name ="ide bmdma/status",
.version_id = 1,
.minimum_version_id = 1,
--
1.7.10.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Qemu-devel] [Qemu-trivial] [PATCH] hw/ide: Add missing 'static' attributes
2014-03-16 18:13 [Qemu-devel] [PATCH] hw/ide: Add missing 'static' attributes Stefan Weil
@ 2014-03-17 14:45 ` Michael Tokarev
0 siblings, 0 replies; 2+ messages in thread
From: Michael Tokarev @ 2014-03-17 14:45 UTC (permalink / raw)
To: Stefan Weil; +Cc: qemu-trivial, Kevin Wolf, qemu-devel
16.03.2014 22:13, Stefan Weil wrote:
> This fixes a warning from the static code analysis (smatch).
Thanks, applied to -trivial.
/mjt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-17 14:45 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-16 18:13 [Qemu-devel] [PATCH] hw/ide: Add missing 'static' attributes Stefan Weil
2014-03-17 14:45 ` [Qemu-devel] [Qemu-trivial] " Michael Tokarev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).