From patchwork Thu Feb 25 13:45:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amit Shah X-Patchwork-Id: 46238 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id E67D5B7CB6 for ; Fri, 26 Feb 2010 00:58:43 +1100 (EST) Received: from localhost ([127.0.0.1]:55268 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nke91-0000G5-Q1 for incoming@patchwork.ozlabs.org; Thu, 25 Feb 2010 08:52:47 -0500 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 Received: from int-mx03.intmail.prod.int.phx2.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o1PDkfNq026608 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 25 Feb 2010 08:46:42 -0500 Received: from localhost (vpn-233-100.phx2.redhat.com [10.3.233.100]) by int-mx03.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1PDkdTT010323; Thu, 25 Feb 2010 08:46:40 -0500 From: Amit Shah To: qemu-devel@nongnu.org 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> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.16 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Cc: Amit Shah , agraf@suse.de, Christoph Hellwig Subject: [Qemu-devel] [PATCH 1/3] s390-virtio: Fix compile error for virtio-block init X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org 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; }