Skip to contentSkip to conversation

vfio: correct debug macro typo

PATCH In review Bandan Das 2 participants 2 messages Jan 28, 2014

lore
Share & tools
lore

Bandan Das

author
#0 lore raw

PATCH 1/1 vfio: correct debug macro typo

Change to VFIO_DEBUG in vfio_msi_interrupt() for debug messages to get printed

---
 hw/misc/vfio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/misc/vfio.c +1 -1
index 9aecaa8..a87078c 100644
@@ -592,7 +592,7 @@ static void vfio_msi_interrupt(void *opaque)
         return;
     }
 
-#ifdef VFIO_DEBUG
+#ifdef DEBUG_VFIO
     MSIMessage msg;
 
     if (vdev->interrupt == VFIO_INT_MSIX) {
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 13 lines · Bandan Das

Change to VFIO_DEBUG in vfio_msi_interrupt() for debug messages to get printed

---
 hw/misc/vfio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
hw/misc/vfio.c +0 -0
index 9aecaa8..a87078c 100644

hw/misc/vfio.c static void vfio_msi_interrupt(void *opaque) · line 598

Quoted 8 lines
hw/misc/vfio.c +1 -1
@@ -592,7 +592,7 @@ static void vfio_msi_interrupt(void *opaque)
         return;
     }
 
-#ifdef VFIO_DEBUG
+#ifdef DEBUG_VFIO
     MSIMessage msg;
 
     if (vdev->interrupt == VFIO_INT_MSIX) {

Oops. Applied, thanks!