From nobody Mon May 13 06:51:44 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) client-ip=216.205.24.124; envelope-from=philmd@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1620922815; cv=none; d=zohomail.com; s=zohoarc; b=e9eOAFTvKdnBTvM8B9uB2LDWa4A+IIDvzlPcst/dtovFYtzKXYv0eZnJ/HruJmWZnG71WOMF5p5foqYtqb6mrnkLRH7SfyuV1OjXHMNOMtmVOZHX/Bko3Z5s0ctzPmFdELLI9rmQ9VnBzHn9I+B2/ZauiQ7R2osFrKQAIH+iUAE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1620922815; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:MIME-Version:Message-ID:Subject:To; bh=nmblD/IV3Gv2eK11z3q3zt0LycvGlgfOv6QbUmJ389k=; b=OYX76h7hE2AJlenCCibPvtEXLl++3MxcXRWrymwor/agmNygcXYn7xyem+1GY2dTIPKcTQZPcgiprzKWbPxtdDQVyT3HZp2Uz2SX1AXNC4Xz84zJZwAXkJrMEEiTHwwKPS6gJmvOCi8+dFJ82w3i6eKk8xCPdnjbJkjz9KN3kbQ= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 216.205.24.124 as permitted sender) smtp.mailfrom=philmd@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.zohomail.com with SMTPS id 1620922815007436.4045235195857; Thu, 13 May 2021 09:20:15 -0700 (PDT) Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-415-mp2OZdJeP16jC5VagTuyjA-1; Thu, 13 May 2021 12:20:11 -0400 Received: by mail-ej1-f71.google.com with SMTP id nd10-20020a170907628ab02903a324b229bfso8590601ejc.7 for ; Thu, 13 May 2021 09:20:11 -0700 (PDT) Return-Path: Return-Path: Received: from x1w.redhat.com (31.red-83-51-215.dynamicip.rima-tde.net. [83.51.215.31]) by smtp.gmail.com with ESMTPSA id r15sm2515434edp.62.2021.05.13.09.20.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 09:20:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620922813; 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; bh=nmblD/IV3Gv2eK11z3q3zt0LycvGlgfOv6QbUmJ389k=; b=Vogzqi8CeBPOhNYuVhWaGhevq/mxRHFESqitGHMqf3JZNWmw7XxNm7ukZfeMAF0RFxY6Ly k38F0QS4+8hXO9NzJWfihOkfsq6txR3ugkZs3mDJglQn3Sz3UQz7mo1ezWOPpfldg79sBL PNL/jH4u/vLh6rr/3tDIqVd5N+POV6I= X-MC-Unique: mp2OZdJeP16jC5VagTuyjA-1 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=nmblD/IV3Gv2eK11z3q3zt0LycvGlgfOv6QbUmJ389k=; b=RGEAZFA3KSbbXCOxevbD7L3ytp8WqMuUxNcSziFfOXQlUt3EbjZutFcWYFWspzxqik f43sNzqI+krnrXC4UVzrbzcSzZGcMETkvL8yf9gDdLCzcPvSSOQAnQGi+6NfM2uZIAsZ sEddSxN7aEB7na8yLh8dQAsxPzCLIibEOSUg7hiHIeSlhDrc13k7Hw048FOowZlRNnca GzSTGJMyPuy1R9l8ZMH1oVRC17RXPHoy+obcUjSoA0ls2OMzqug8ne1k8Z8C/xMQadgE TKwF2wLeXuPnhVF2C3LjFgYKzwjtAw5NC2MawuF7oxxiOprQEzHUWF+vq7QNfRgI7Trw 44Fw== X-Gm-Message-State: AOAM53341biR8IZ2+CSJEn8Zc9wmaKZk+phojOTXDZhW0+UkpH/GIx8m yUA/Yu33/OgbyVLbe+DPb4Ynn79W68ba9QJdaqEk4kQ5I+J1EVaDIefca9P71uH/9tNGFI8zkz+ S0Db5XwJjtsidcQ== X-Received: by 2002:a17:906:31c6:: with SMTP id f6mr44798536ejf.446.1620922810292; Thu, 13 May 2021 09:20:10 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkCju0LJndMLsl/q9gO1Rv3uWoIpOwiAZBV5Yu0WCSLQBwfC1+4EiZStJXM2MexC4rTwp29g== X-Received: by 2002:a17:906:31c6:: with SMTP id f6mr44798512ejf.446.1620922810099; Thu, 13 May 2021 09:20:10 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Stefan Hajnoczi , Alexander Bulekov , qemu-trivial@nongnu.org, Thomas Huth , Bandan Das , Laurent Vivier , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH] tests/qtest/fuzz: Fix build failure Date: Thu, 13 May 2021 18:20:08 +0200 Message-Id: <20210513162008.3922223-1-philmd@redhat.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=philmd@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) On Fedora 32, using clang (version 10.0.1-3.fc32) we get: tests/qtest/fuzz/fuzz.c:237:5: error: implicit declaration of function 'q= emu_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration] qemu_init(result.we_wordc, result.we_wordv, NULL); ^ qemu_init() is declared in "sysemu/sysemu.h", include this header to fix. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Alexander Bulekov --- tests/qtest/fuzz/fuzz.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/qtest/fuzz/fuzz.c b/tests/qtest/fuzz/fuzz.c index 04b70e114bf..5f77c849837 100644 --- a/tests/qtest/fuzz/fuzz.c +++ b/tests/qtest/fuzz/fuzz.c @@ -16,6 +16,7 @@ #include =20 #include "qemu/datadir.h" +#include "sysemu/sysemu.h" #include "sysemu/qtest.h" #include "sysemu/runstate.h" #include "qemu/main-loop.h" --=20 2.26.3