From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nke3I-0007a2-7G for qemu-devel@nongnu.org; Thu, 25 Feb 2010 08:46:52 -0500 Received: from [199.232.76.173] (port=48907 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nke3H-0007Zn-H5 for qemu-devel@nongnu.org; Thu, 25 Feb 2010 08:46:51 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nke3G-0000vJ-A4 for qemu-devel@nongnu.org; Thu, 25 Feb 2010 08:46:51 -0500 Received: from mx1.redhat.com ([209.132.183.28]:33264) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nke3F-0000v7-UX for qemu-devel@nongnu.org; Thu, 25 Feb 2010 08:46:50 -0500 From: Amit Shah Date: Thu, 25 Feb 2010 19:15:18 +0530 Message-Id: <1267105520-25457-2-git-send-email-amit.shah@redhat.com> In-Reply-To: <1267105520-25457-1-git-send-email-amit.shah@redhat.com> References: <1267105520-25457-1-git-send-email-amit.shah@redhat.com> Subject: [Qemu-devel] [PATCH 1/3] s390-virtio: Fix compile error for virtio-block init List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Amit Shah , agraf@suse.de, Christoph Hellwig Commit 428c149b0be790b440e1cbee185b152cdb22feec modified the argument that virtio_blk_init takes. Update the s390 bus code that calls this function. Signed-off-by: Amit Shah CC: Christoph Hellwig --- hw/s390-virtio-bus.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/s390-virtio-bus.c b/hw/s390-virtio-bus.c index fa0a74f..9fc01e9 100644 --- a/hw/s390-virtio-bus.c +++ b/hw/s390-virtio-bus.c @@ -123,7 +123,7 @@ static int s390_virtio_blk_init(VirtIOS390Device *dev) { VirtIODevice *vdev; - vdev = virtio_blk_init((DeviceState *)dev, dev->block.dinfo); + vdev = virtio_blk_init((DeviceState *)dev, &dev->block); if (!vdev) { return -1; } -- 1.6.2.5