qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 07/11] eeprom93xx: Use the new hack macro to avoid d


From: Anthony Liguori
Subject: [Qemu-devel] [PATCH 07/11] eeprom93xx: Use the new hack macro to avoid duplicate field names
Date: Tue, 22 Mar 2011 19:16:12 -0500

I don't fully understand this hack business but we need field to be unique so..

Signed-off-by: Anthony Liguori <address@hidden>
---
 hw/eeprom93xx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/eeprom93xx.c b/hw/eeprom93xx.c
index cfa695d..f1d75ec 100644
--- a/hw/eeprom93xx.c
+++ b/hw/eeprom93xx.c
@@ -114,7 +114,7 @@ static const VMStateInfo vmstate_hack_uint16_from_uint8 = {
 };
 
 #define VMSTATE_UINT16_HACK_TEST(_f, _s, _t)                           \
-    VMSTATE_SINGLE_TEST(_f, _s, _t, 0, vmstate_hack_uint16_from_uint8, 
uint16_t)
+    VMSTATE_SINGLE_TEST_HACK(_f, _s, _t, 0, vmstate_hack_uint16_from_uint8, 
uint16_t)
 
 static bool is_old_eeprom_version(void *opaque, int version_id)
 {
-- 
1.7.0.4




reply via email to

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