summaryrefslogtreecommitdiffstats
path: root/tools/virtio/vringh_test.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2014-12-14 21:52:25 +0100
committerMichael S. Tsirkin <mst@redhat.com>2014-12-15 22:49:20 +0100
commite3edf032e3fca4ea79fb4cad736e073dc15fa1f6 (patch)
tree3dd3b199f620c161f753bdaac27d0b9237a5eb91 /tools/virtio/vringh_test.c
parenttools/virtio: fix vringh test (diff)
downloadlinux-e3edf032e3fca4ea79fb4cad736e073dc15fa1f6.tar.xz
linux-e3edf032e3fca4ea79fb4cad736e073dc15fa1f6.zip
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/vringh_test.c')
-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)