cryptospore / rpms / qemu-kvm

Forked from rpms/qemu-kvm 2 years ago
Clone

Blame SOURCES/kvm-pci-assign-remove-the-duplicate-function-name-in-deb.patch

218e99
From ced48a3d562d22bdaaaf74d3238d69f4577f0fa8 Mon Sep 17 00:00:00 2001
218e99
From: Alex Williamson <alex.williamson@redhat.com>
218e99
Date: Fri, 1 Nov 2013 19:50:38 +0100
218e99
Subject: [PATCH 03/25] pci-assign: remove the duplicate function name in debug message
218e99
218e99
RH-Author: Alex Williamson <alex.williamson@redhat.com>
218e99
Message-id: <20131101195038.25461.59923.stgit@bling.home>
218e99
Patchwork-id: 55235
218e99
O-Subject: [RHEL7 qemu-kvm PATCH 3/3] pci-assign: remove the duplicate function name in debug message
218e99
Bugzilla: 1025877
218e99
RH-Acked-by: Bandan Das <bsd@redhat.com>
218e99
RH-Acked-by: Jeffrey Cody <jcody@redhat.com>
218e99
RH-Acked-by: Orit Wasserman <owasserm@redhat.com>
218e99
218e99
From: Wanlong Gao <gaowanlong@cn.fujitsu.com>
218e99
218e99
Bugzilla: 1025877
218e99
Upstream commit: bd50cbaa0f34e47c5b82eba1cd1e88143018fa19
218e99
218e99
While DEBUG() already includes the function name.
218e99
218e99
Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
218e99
Acked-by: Alex Williamson <alex.williamson@redhat.com>
218e99
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
218e99
---
218e99
 hw/i386/kvm/pci-assign.c |   12 ++++++------
218e99
 1 file changed, 6 insertions(+), 6 deletions(-)
218e99
218e99
Signed-off-by: Miroslav Rezanina <mrezanin@redhat.com>
218e99
---
218e99
 hw/i386/kvm/pci-assign.c |   12 ++++++------
218e99
 1 files changed, 6 insertions(+), 6 deletions(-)
218e99
218e99
diff --git a/hw/i386/kvm/pci-assign.c b/hw/i386/kvm/pci-assign.c
218e99
index a5885b4..7060605 100644
218e99
--- a/hw/i386/kvm/pci-assign.c
218e99
+++ b/hw/i386/kvm/pci-assign.c
218e99
@@ -226,7 +226,7 @@ static uint32_t slow_bar_readb(void *opaque, hwaddr addr)
218e99
     uint32_t r;
218e99
 
218e99
     r = *in;
218e99
-    DEBUG("slow_bar_readl addr=0x" TARGET_FMT_plx " val=0x%08x\n", addr, r);
218e99
+    DEBUG("addr=0x" TARGET_FMT_plx " val=0x%08x\n", addr, r);
218e99
 
218e99
     return r;
218e99
 }
218e99
@@ -238,7 +238,7 @@ static uint32_t slow_bar_readw(void *opaque, hwaddr addr)
218e99
     uint32_t r;
218e99
 
218e99
     r = *in;
218e99
-    DEBUG("slow_bar_readl addr=0x" TARGET_FMT_plx " val=0x%08x\n", addr, r);
218e99
+    DEBUG("addr=0x" TARGET_FMT_plx " val=0x%08x\n", addr, r);
218e99
 
218e99
     return r;
218e99
 }
218e99
@@ -250,7 +250,7 @@ static uint32_t slow_bar_readl(void *opaque, hwaddr addr)
218e99
     uint32_t r;
218e99
 
218e99
     r = *in;
218e99
-    DEBUG("slow_bar_readl addr=0x" TARGET_FMT_plx " val=0x%08x\n", addr, r);
218e99
+    DEBUG("addr=0x" TARGET_FMT_plx " val=0x%08x\n", addr, r);
218e99
 
218e99
     return r;
218e99
 }
218e99
@@ -260,7 +260,7 @@ static void slow_bar_writeb(void *opaque, hwaddr addr, uint32_t val)
218e99
     AssignedDevRegion *d = opaque;
218e99
     uint8_t *out = d->u.r_virtbase + addr;
218e99
 
218e99
-    DEBUG("slow_bar_writeb addr=0x" TARGET_FMT_plx " val=0x%02x\n", addr, val);
218e99
+    DEBUG("addr=0x" TARGET_FMT_plx " val=0x%02x\n", addr, val);
218e99
     *out = val;
218e99
 }
218e99
 
218e99
@@ -269,7 +269,7 @@ static void slow_bar_writew(void *opaque, hwaddr addr, uint32_t val)
218e99
     AssignedDevRegion *d = opaque;
218e99
     uint16_t *out = (uint16_t *)(d->u.r_virtbase + addr);
218e99
 
218e99
-    DEBUG("slow_bar_writew addr=0x" TARGET_FMT_plx " val=0x%04x\n", addr, val);
218e99
+    DEBUG("addr=0x" TARGET_FMT_plx " val=0x%04x\n", addr, val);
218e99
     *out = val;
218e99
 }
218e99
 
218e99
@@ -278,7 +278,7 @@ static void slow_bar_writel(void *opaque, hwaddr addr, uint32_t val)
218e99
     AssignedDevRegion *d = opaque;
218e99
     uint32_t *out = (uint32_t *)(d->u.r_virtbase + addr);
218e99
 
218e99
-    DEBUG("slow_bar_writel addr=0x" TARGET_FMT_plx " val=0x%08x\n", addr, val);
218e99
+    DEBUG("addr=0x" TARGET_FMT_plx " val=0x%08x\n", addr, val);
218e99
     *out = val;
218e99
 }
218e99
 
218e99
-- 
218e99
1.7.1
218e99