From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52544) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWjGD-0001Sx-IE for qemu-devel@nongnu.org; Wed, 24 Sep 2014 05:53:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWjG7-0001ZB-RZ for qemu-devel@nongnu.org; Wed, 24 Sep 2014 05:53:21 -0400 Received: from mail-wg0-x22c.google.com ([2a00:1450:400c:c00::22c]:43174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWjG7-0001Yq-Kd for qemu-devel@nongnu.org; Wed, 24 Sep 2014 05:53:15 -0400 Received: by mail-wg0-f44.google.com with SMTP id z12so2064336wgg.15 for ; Wed, 24 Sep 2014 02:53:09 -0700 (PDT) Date: Wed, 24 Sep 2014 10:53:07 +0100 From: Stefan Hajnoczi Message-ID: <20140924095307.GI21137@stefanha-thinkpad.redhat.com> References: <1411536002-14088-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aFi3jz1oiPowsTUB" Content-Disposition: inline In-Reply-To: <1411536002-14088-1-git-send-email-sw@weilnetz.de> Subject: Re: [Qemu-devel] [PATCH] virtio: Fix wrong type cast from pointer to long List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Peter Maydell , Fam Zheng , qemu-devel@nongnu.org, Paolo Bonzini --aFi3jz1oiPowsTUB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 24, 2014 at 07:20:02AM +0200, Stefan Weil wrote: > Compiler warning (w32, w64): >=20 > include/hw/virtio/virtio_ring.h:142:26: warning: > cast from pointer to integer of different size [-Wpointer-to-int-cast] >=20 > When sizeof(long) < sizeof(void *), this is not only a warning but a > real program error. >=20 > Add also missing blanks in the same statement. >=20 > Signed-off-by: Stefan Weil > --- >=20 > Peter, could you please apply this bug fix directly without pull request? >=20 > Thanks > Stefan >=20 > include/hw/virtio/virtio_ring.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Stefan Hajnoczi --aFi3jz1oiPowsTUB Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUIpSDAAoJEJykq7OBq3PI6ZQH/2apM4vXubhDZvmpMVvdvRu+ jPIrIOie1NIp+tLZYFanEnPSas6Ul1+wcyjJVYEz2ymIfqBNiANdznJWyDKe2eUh osCeb6MOcdb9qgzkIEpU8Q9qqB7gxtFcvE9iIbtqJDo/xvGQeT55ryDP5GN/tmWe LWcDSIaNp4hfDj3WaOGe90VR3KdSRoRmEIXrnvyLilqqAr7CEVi60IQypLBgJkJe K/YL0p347pJfViiakWiolRcAzqQxLqlyjr9uYSN2J/ZxhKhf07/is2EuQc36qNRa 17OoUxiZipBvXTQIWz9bMja05Kv+RW6te+Sxd4NzLdDnlWXyYdWlfLkcHqFYSFs= =Qoqv -----END PGP SIGNATURE----- --aFi3jz1oiPowsTUB--