summaryrefslogtreecommitdiffstats
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
parent2eaa614baf1893d517e3229b2a4244c5cee005c9 (diff)
downloadop-kernel-dev-e3edf032e3fca4ea79fb4cad736e073dc15fa1f6.zip
op-kernel-dev-e3edf032e3fca4ea79fb4cad736e073dc15fa1f6.tar.gz
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>
-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 13e0a76..51d922f 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)
OpenPOWER on IntegriCloud