Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1No1ye-0001Pl-NN for qemu-devel@nongnu.org; Sat, 06 Mar 2010 16:56:04 -0500 Received: from [199.232.76.173] (port=48683 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1No1ye-0001P1-Az for qemu-devel@nongnu.org; Sat, 06 Mar 2010 16:56:04 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1No1yc-0000Zy-OC for qemu-devel@nongnu.org; Sat, 06 Mar 2010 16:56:04 -0500 Received: from hall.aurel32.net ([88.191.82.174]:43957) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1No1yc-0000ZE-ER for qemu-devel@nongnu.org; Sat, 06 Mar 2010 16:56:02 -0500 Date: Sat, 6 Mar 2010 22:55:50 +0100 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH 1/3] s390-virtio: Fix compile error for virtio-block init Message-ID: <20100306215550.GK14275@volta.aurel32.net> References: <1267105520-25457-1-git-send-email-amit.shah@redhat.com> <1267105520-25457-2-git-send-email-amit.shah@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: <1267105520-25457-2-git-send-email-amit.shah@redhat.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Amit Shah Cc: Christoph Hellwig , qemu-devel@nongnu.org, agraf@suse.de On Thu, Feb 25, 2010 at 07:15:18PM +0530, Amit Shah wrote: > 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 Thanks, applied. > --- > 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 > > > > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net