projects
/
sdk
/
emulator
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df05bd
)
hw/ide: Add missing 'static' attributes
author
Stefan Weil
<sw@weilnetz.de>
Sun, 16 Mar 2014 18:13:18 +0000
(19:13 +0100)
committer
Michael Tokarev
<mjt@tls.msk.ru>
Thu, 27 Mar 2014 15:22:48 +0000
(19:22 +0400)
This fixes a warning from the static code analysis (smatch).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
hw/ide/pci.c
patch
|
blob
|
history
diff --git
a/hw/ide/pci.c
b/hw/ide/pci.c
index 91151fc85e53ed1258f9b51a8f61341be661fad8..d8b1157c2ecda0a693497a66edfe06cc6092ef05 100644
(file)
--- 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,