lkml.org 
[lkml]   [2014]   [May]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.14 15/83] tools/virtio: add a missing )
    Date
    3.14-stable review patch.  If anyone has any objections, please let me know.

    ------------------

    From: Joel Stanley <joel@jms.id.au>

    commit be40d5ccab34d579512d932fc1c6cfaffe9d1551 upstream.

    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>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    ---
    tools/virtio/virtio_test.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    --- a/tools/virtio/virtio_test.c
    +++ b/tools/virtio/virtio_test.c
    @@ -172,7 +172,7 @@ static void run_test(struct vdev_info *d
    GFP_ATOMIC);
    if (likely(r == 0)) {
    ++started;
    - if (unlikely(!virtqueue_kick(vq->vq))
    + if (unlikely(!virtqueue_kick(vq->vq)))
    r = -1;
    }
    } else

    --
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2014-05-11 22:01    [W:4.369 / U:0.000 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site