From patchwork Fri Mar 6 14:23:17 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Hajnoczi X-Patchwork-Id: 11424119 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 353C892A for ; Fri, 6 Mar 2020 14:25:30 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 0ADD02070E for ; Fri, 6 Mar 2020 14:25:30 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Ku6OZitf" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0ADD02070E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Received: from localhost ([::1]:37510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jADur-0005gU-9H for patchwork-qemu-devel@patchwork.kernel.org; Fri, 06 Mar 2020 09:25:29 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60844) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jADtA-0003WG-Tn for qemu-devel@nongnu.org; Fri, 06 Mar 2020 09:23:45 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jADt9-0000Vv-S5 for qemu-devel@nongnu.org; Fri, 06 Mar 2020 09:23:44 -0500 Received: from us-smtp-delivery-1.mimecast.com ([207.211.31.120]:56138 helo=us-smtp-1.mimecast.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jADt9-0000NK-NE for qemu-devel@nongnu.org; Fri, 06 Mar 2020 09:23:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1583504623; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=XbFZ+xRC4xCgdTu1Z5jmW+hbiR8L9+v/14TGSPWC2R0=; b=Ku6OZitfZGvLdWllOHLzt4dVfHf9XF7ECb8NHOSg5Z02mZqGO2IhS8JvGb+i8bO3cq+5zP y5gWVplsgSMabWzFqsus698u7YT/34L6DJZQZidNT4R8q8a2S/iCOCdpO4bJUta363PGgR RJbbUgh+1Mi1NRvxxkDYx4K+EuJwY1E= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-151-yZXa0ly6MwyB36M6wQn0oA-1; Fri, 06 Mar 2020 09:23:41 -0500 X-MC-Unique: yZXa0ly6MwyB36M6wQn0oA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id D3F4D1137841; Fri, 6 Mar 2020 14:23:39 +0000 (UTC) Received: from localhost (unknown [10.36.118.109]) by smtp.corp.redhat.com (Postfix) with ESMTP id 19AAF60C63; Fri, 6 Mar 2020 14:23:33 +0000 (UTC) From: Stefan Hajnoczi To: qemu-devel@nongnu.org Subject: [PULL 2/3] qtest: fix fuzzer-related 80-char limit violations Date: Fri, 6 Mar 2020 14:23:17 +0000 Message-Id: <20200306142318.1435372-3-stefanha@redhat.com> In-Reply-To: <20200306142318.1435372-1-stefanha@redhat.com> References: <20200306142318.1435372-1-stefanha@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 207.211.31.120 X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Laurent Vivier , Peter Maydell , Thomas Huth , qemu-block@nongnu.org, Darren Kenny , Alexander Bulekov , Bandan Das , Stefan Hajnoczi , Paolo Bonzini Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" From: Alexander Bulekov Signed-off-by: Alexander Bulekov Reviewed-by: Eric Blake Reviewed-by: Darren Kenny Message-id: 20200227031439.31386-3-alxndr@bu.edu Signed-off-by: Stefan Hajnoczi --- 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 */