All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-trivial] [PATCH] virtio-bus: avoid breaking build when open DEBUG switch
@ 2014-11-13  2:39 ` arei.gonglei
  0 siblings, 0 replies; 10+ messages in thread
From: arei.gonglei @ 2014-11-13  2:39 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-trivial, Gonglei, peter.huangpeng, mst

From: Gonglei <arei.gonglei@huawei.com>

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
---
 hw/virtio/virtio-bus.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hw/virtio/virtio-bus.c b/hw/virtio/virtio-bus.c
index eb77019..dfd2d8c 100644
--- a/hw/virtio/virtio-bus.c
+++ b/hw/virtio/virtio-bus.c
@@ -58,7 +58,7 @@ void virtio_bus_reset(VirtioBusState *bus)
 {
     VirtIODevice *vdev = virtio_bus_get_device(bus);
 
-    DPRINTF("%s: reset device.\n", qbus->name);
+    DPRINTF("%s: reset device.\n", BUS(bus)->name);
     if (vdev != NULL) {
         virtio_reset(vdev);
     }
-- 
1.7.12.4




^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-12-10  8:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13  2:39 [Qemu-trivial] [PATCH] virtio-bus: avoid breaking build when open DEBUG switch arei.gonglei
2014-11-13  2:39 ` [Qemu-devel] " arei.gonglei
2014-11-13 11:23 ` [Qemu-trivial] " Stefan Hajnoczi
2014-11-13 11:23   ` Stefan Hajnoczi
2014-11-13 11:27 ` [Qemu-trivial] " Stefan Hajnoczi
2014-11-13 11:27   ` Stefan Hajnoczi
2014-11-13 11:49   ` [Qemu-trivial] " Gonglei
2014-11-13 11:49     ` Gonglei
2014-12-10  8:20 ` [Qemu-trivial] " Michael Tokarev
2014-12-10  8:20   ` [Qemu-devel] " Michael Tokarev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.