summaryrefslogtreecommitdiffstats
path: root/tools/virtio
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-12-14 22:52:25 +0200
committerMichael S. Tsirkin <mst@redhat.com>2014-12-15 23:49:20 +0200
commite3edf032e3fca4ea79fb4cad736e073dc15fa1f6 (patch)
tree3dd3b199f620c161f753bdaac27d0b9237a5eb91 /tools/virtio
parent2eaa614baf1893d517e3229b2a4244c5cee005c9 (diff)
downloadlinux-e3edf032e3fca4ea79fb4cad736e073dc15fa1f6.tar.bz2
tools/virtio: 64 bit features
Missed one place where vringh_test used long to pass features. Fix it up to u64. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'tools/virtio')
-rw-r--r--tools/virtio/vringh_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/vringh_test.c b/tools/virtio/vringh_test.c
index 13e0a769623d..51d922fd4f62 100644
--- a/tools/virtio/vringh_test.c
+++ b/tools/virtio/vringh_test.c
@@ -132,7 +132,7 @@ static inline int vringh_get_head(struct vringh *vrh, u16 *head)
return 1;
}
-static int parallel_test(unsigned long features,
+static int parallel_test(u64 features,
bool (*getrange)(struct vringh *vrh,
u64 addr, struct vringh_range *r),
bool fast_vringh)