Skip to contentSkip to conversation

hw/ide: Add missing 'static' attributes

PATCH Applied Stefan Weil 2 participants 2 messages Mar 16, 2014 – Mar 17, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/ide: Add missing 'static' attributes

This fixes a warning from the static code analysis (smatch).

---
 hw/ide/pci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ide/pci.c +1 -1
index 91151fc..d8b1157 100644
@@ -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,
Signature · 1 line
1.7.10.4
#1 lore raw
Quoted 1 line · Stefan Weil

This fixes a warning from the static code analysis (smatch).

Thanks, applied to -trivial.

/mjt