qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-trivial] [PULL 03/23] hw/ide: Add missing 'static' attributes


From: Michael Tokarev
Subject: [Qemu-trivial] [PULL 03/23] hw/ide: Add missing 'static' attributes
Date: Thu, 27 Mar 2014 19:28:08 +0400

From: Stefan Weil <address@hidden>

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

Signed-off-by: Stefan Weil <address@hidden>
Signed-off-by: Michael Tokarev <address@hidden>
---
 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]