From nobody Tue Apr 15 06:11:10 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1583504745; cv=none; d=zohomail.com; s=zohoarc; b=IG9NhMClF0xh4nAKSJEJMazlbhpKf9umrSYTpus/plqlaWHfzxR8FVz0n4mLbp/T+GYhtv7eFxlWfohL1ady2rIlHx7mHuLeV1p+Z6BZ+oSX5CFAR1a4KLG8mDSEVGtgIqZRMv6Vwif3+LaGrwkuwwPPXf5Ztz3YCIpRlJxQTVY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1583504745; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=XbFZ+xRC4xCgdTu1Z5jmW+hbiR8L9+v/14TGSPWC2R0=; b=epPPcAz3Hfo2kn70r3ze3BYf/g2/y4TL55ifWCprNM1e6qy0kTS5Mt6Q6XcU30XVJyxUr0VQk3T6A1Y6uYApiMl0CPJkX4AwR5wXeV5DcHAyRFxQCqXUbKZ6XiX1KqItf7Z8z37+e2qvkwfCN6tKMIlIcARfQwhyA64CNCxJgeA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1583504745578387.5761372070697; Fri, 6 Mar 2020 06:25:45 -0800 (PST) Received: from localhost ([::1]:37510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jADv6-0005gU-Kf for importer@patchew.org; Fri, 06 Mar 2020 09:25:44 -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 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 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) 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= X-MC-Unique: yZXa0ly6MwyB36M6wQn0oA-1 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 Content-Transfer-Encoding: quoted-printable 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Content-Type: text/plain; charset="utf-8" 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 ** } } =20 -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 =3D send; qtest_server_send_opaque =3D 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; =20 - /* etype set to QEDGE_CONSUMED_BY so that machine can add to the comma= nd line */ + /* + * etype set to QEDGE_CONSUMED_BY so that machine can add to the comma= nd + * line + */ QOSEdgeType etype =3D QEDGE_CONSUMED_BY; =20 /* twice QOS_PATH_MAX_ELEMENT_SIZE since each edge can have its arg */ --=20 2.24.1