From: Joel Stanley Date: Thu, 13 Feb 2014 04:38:53 +0000 (+1030) Subject: tools/virtio: add a missing ) X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=be40d5ccab34d579512d932fc1c6cfaffe9d1551;p=linux-beck.git 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 Signed-off-by: Joel Stanley Acked-by: Michael S. Tsirkin Signed-off-by: Rusty Russell --- 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