[PATCH 2/2] qtest: fix fuzzer-related 80-char limit violations

Alexander Bulekov posted 2 patches 5 years, 8 months ago
Maintainers: Thomas Huth <thuth@redhat.com>, Bandan Das <bsd@redhat.com>, Laurent Vivier <lvivier@redhat.com>, Stefan Hajnoczi <stefanha@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>, Alexander Bulekov <alxndr@bu.edu>
There is a newer version of this series
[PATCH 2/2] qtest: fix fuzzer-related 80-char limit violations
Posted by Alexander Bulekov 5 years, 8 months ago
Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
---
 qtest.c                     | 3 ++-
 tests/qtest/fuzz/qos_fuzz.c | 5 ++++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/qtest.c b/qtest.c
index 1af4e1b08d..5672b75c35 100644
--- a/qtest.c
+++ b/qtest.c
@@ -794,7 +794,8 @@ void qtest_server_init(const char *qtest_chrdev, const char *qtest_log, Error **
     }
 }
 
-void qtest_server_set_send_handler(void (*send)(void*, const char*), void *opaque)
+void qtest_server_set_send_handler(void (*send)(void*, const char*),
+                                   void *opaque)
 {
     qtest_server_send = send;
     qtest_server_send_opaque = opaque;
diff --git a/tests/qtest/fuzz/qos_fuzz.c b/tests/qtest/fuzz/qos_fuzz.c
index bbb17470ff..1a99277d60 100644
--- a/tests/qtest/fuzz/qos_fuzz.c
+++ b/tests/qtest/fuzz/qos_fuzz.c
@@ -120,7 +120,10 @@ static void walk_path(QOSGraphNode *orig_path, int len)
     QOSGraphNode *path;
     QOSGraphEdge *edge;
 
-    /* etype set to QEDGE_CONSUMED_BY so that machine can add to the command line */
+    /*
+     * etype set to QEDGE_CONSUMED_BY so that machine can add to the command
+     * line
+     */
     QOSEdgeType etype = QEDGE_CONSUMED_BY;
 
     /* twice QOS_PATH_MAX_ELEMENT_SIZE since each edge can have its arg */
-- 
2.25.0


Re: [PATCH 2/2] qtest: fix fuzzer-related 80-char limit violations
Posted by Eric Blake 5 years, 8 months ago
On 2/26/20 8:48 PM, Alexander Bulekov wrote:
> Signed-off-by: Alexander Bulekov <alxndr@bu.edu>
> ---
>   qtest.c                     | 3 ++-
>   tests/qtest/fuzz/qos_fuzz.c | 5 ++++-
>   2 files changed, 6 insertions(+), 2 deletions(-)

Reviewed-by: Eric Blake <eblake@redhat.com>

> 
> diff --git a/qtest.c b/qtest.c
> index 1af4e1b08d..5672b75c35 100644
> --- a/qtest.c
> +++ b/qtest.c
> @@ -794,7 +794,8 @@ void qtest_server_init(const char *qtest_chrdev, const char *qtest_log, Error **
>       }
>   }
>   
> -void qtest_server_set_send_handler(void (*send)(void*, const char*), void *opaque)
> +void qtest_server_set_send_handler(void (*send)(void*, const char*),
> +                                   void *opaque)
>   {
>       qtest_server_send = send;
>       qtest_server_send_opaque = opaque;
> diff --git a/tests/qtest/fuzz/qos_fuzz.c b/tests/qtest/fuzz/qos_fuzz.c
> index bbb17470ff..1a99277d60 100644
> --- a/tests/qtest/fuzz/qos_fuzz.c
> +++ b/tests/qtest/fuzz/qos_fuzz.c
> @@ -120,7 +120,10 @@ static void walk_path(QOSGraphNode *orig_path, int len)
>       QOSGraphNode *path;
>       QOSGraphEdge *edge;
>   
> -    /* etype set to QEDGE_CONSUMED_BY so that machine can add to the command line */
> +    /*
> +     * etype set to QEDGE_CONSUMED_BY so that machine can add to the command
> +     * line
> +     */
>       QOSEdgeType etype = QEDGE_CONSUMED_BY;
>   
>       /* twice QOS_PATH_MAX_ELEMENT_SIZE since each edge can have its arg */
> 

-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3226
Virtualization:  qemu.org | libvirt.org