qemu-patch-raspberry4/include/hw/virtio
Stefan Weil c0f896810b virtio: Fix wrong type cast from pointer to long
Compiler warning (w32, w64):

include/hw/virtio/virtio_ring.h:142:26: warning:
 cast from pointer to integer of different size [-Wpointer-to-int-cast]

When sizeof(long) < sizeof(void *), this is not only a warning but a
real program error.

Add also missing blanks in the same statement.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1411536002-14088-1-git-send-email-sw@weilnetz.de
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2014-09-24 12:51:38 +01:00
..
dataplane virtio: Import virtio_vring.h 2014-09-22 11:39:49 +01:00
vhost-backend.h virtio: Move extern declaration to header file 2014-08-09 00:06:32 +04:00
vhost-scsi.h vhost-scsi: new device supporting the tcm_vhost Linux kernel module 2013-04-19 16:18:11 +02:00
vhost.h vhost: block migration if backend does not log memory 2014-06-23 17:37:59 +03:00
virtio-9p.h hw: move headers to include/ 2013-04-08 18:13:10 +02:00
virtio-access.h virtio: memory accessors for endian-ambivalent targets 2014-06-29 19:39:42 +03:00
virtio-balloon.h virtio: fix broken aliases. 2013-04-15 10:22:04 -05:00
virtio-blk.h block: Always compile virtio-blk dataplane 2014-09-22 11:39:51 +01:00
virtio-bus.h virtio-bus: cleanup plug/unplug interface 2013-12-09 21:46:48 +01:00
virtio-net.h virtio: move common virtio properties to bus class device 2014-07-06 09:13:54 +03:00
virtio-rng.h virtio-rng: Convert to QOM realize 2013-12-09 21:46:49 +01:00
virtio-scsi.h virtio-scsi: fix with -M pc-i440fx-2.0 2014-07-14 16:14:15 +02:00
virtio-serial.h virtio-serial: create a linked list of all active devices 2014-08-18 22:42:37 +05:30
virtio.h virtio: add endian-ambivalent support to VirtIODevice 2014-06-29 19:39:42 +03:00
virtio_ring.h virtio: Fix wrong type cast from pointer to long 2014-09-24 12:51:38 +01:00