aboutsummaryrefslogtreecommitdiffstats
path: root/tools/virtio
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-12-14 15:52:25 -0500
committerMichael S. Tsirkin <mst@redhat.com>2014-12-15 16:49:20 -0500
commite3edf032e3fca4ea79fb4cad736e073dc15fa1f6 (patch)
tree3dd3b199f620c161f753bdaac27d0b9237a5eb91 /tools/virtio
parent2eaa614baf1893d517e3229b2a4244c5cee005c9 (diff)
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)
132 return 1; 132 return 1;
133} 133}
134 134
135static int parallel_test(unsigned long features, 135static int parallel_test(u64 features,
136 bool (*getrange)(struct vringh *vrh, 136 bool (*getrange)(struct vringh *vrh,
137 u64 addr, struct vringh_range *r), 137 u64 addr, struct vringh_range *r),
138 bool fast_vringh) 138 bool fast_vringh)