summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJoel Stanley2014-02-13 05:38:53 +0100
committerRusty Russell2014-03-13 01:53:25 +0100
commitbe40d5ccab34d579512d932fc1c6cfaffe9d1551 (patch)
tree8f6b5045a291d4acbe15a7711c25fa906aa4e4fd /tools
parenttools/virtio: fix missing kmemleak_ignore symbol (diff)
downloadkernel-qcow2-linux-be40d5ccab34d579512d932fc1c6cfaffe9d1551.tar.gz
kernel-qcow2-linux-be40d5ccab34d579512d932fc1c6cfaffe9d1551.tar.xz
kernel-qcow2-linux-be40d5ccab34d579512d932fc1c6cfaffe9d1551.zip
tools/virtio: add a missing )
Fixes the following build failure: cc -g -O2 -Wall -I. -I ../../usr/include/ -Wno-pointer-sign -fno-strict-overflow -fno-strict-aliasing -fno-common -MMD -U_FORTIFY_SOURCE -c -o virtio_test.o virtio_test.c virtio_test.c: In function ‘run_test’: virtio_test.c:176:7: error: expected ‘)’ before ‘r’ r = -1; ^ Fixes: 53c18c9906441 (virtio_test: verify if virtqueue_kick() succeeded) Cc: Heinz Graalfs <graalfs@linux.vnet.ibm.com> Signed-off-by: Joel Stanley <joel@jms.id.au> Acked-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'tools')
-rw-r--r--tools/virtio/virtio_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/virtio/virtio_test.c b/tools/virtio/virtio_test.c
index bdb71a26ae35..00ea679b3826 100644
--- a/tools/virtio/virtio_test.c
+++ b/tools/virtio/virtio_test.c
@@ -172,7 +172,7 @@ static void run_test(struct vdev_info *dev, struct vq_info *vq,
GFP_ATOMIC);
if (likely(r == 0)) {
++started;
- if (unlikely(!virtqueue_kick(vq->vq))
+ if (unlikely(!virtqueue_kick(vq->vq)))
r = -1;
}
} else