From nobody Wed May 8 00:47:32 2024 Delivered-To: importer@patchew.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=pass(p=none dis=none) header.from=nongnu.org ARC-Seal: i=1; a=rsa-sha256; t=1642811697; cv=none; d=zohomail.com; s=zohoarc; b=BV1XlhjAIQG6U1WHKHTzstsC2sw2Ux42VUTnMZvEx10m7lYY1+k4FwMZ1Nt2/9ad/HyH24JCN3gqitRV2BhBV3abu1j20Tr1vb9U8aaFHCDT9aW2iwJjEe2Oz7ThHg6nH7lFvGn/VD+KRwo+cvBicG5qmHDHNMwnaAxOMmzqxoc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1642811697; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:Sender:Subject:To; bh=Cc6IjahI2sgKwlvBITvToMCZaNnslADDopvO2JmTQxs=; b=jqOh9nLVjH8Tqs888x3gPhtE+aaMt0sLz8VI7oB/mzJFy876c5YG3CGfdwRmkRr6aDTj07GGcQ96t1rWSrrol9Nzz132KTKHpku62LViBI13l56yukE5W03KrWTKFCJpaApyqO0TsNbrIzPLKCj6s3S24sTb5NdaxoL7vxTv7w4= 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=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1642811697870379.09470994728724; Fri, 21 Jan 2022 16:34:57 -0800 (PST) Received: from localhost ([::1]:48522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nB4Mq-0001SQ-Nk for importer@patchew.org; Fri, 21 Jan 2022 19:34:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nB4Lr-0000OR-OW; Fri, 21 Jan 2022 19:33:55 -0500 Received: from [2607:f8b0:4864:20::62c] (port=45592 helo=mail-pl1-x62c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nB4Lq-0006Kk-B3; Fri, 21 Jan 2022 19:33:55 -0500 Received: by mail-pl1-x62c.google.com with SMTP id d7so10144521plr.12; Fri, 21 Jan 2022 16:33:52 -0800 (PST) Received: from localhost.localdomain (154.red-83-50-83.dynamicip.rima-tde.net. [83.50.83.154]) by smtp.gmail.com with ESMTPSA id p4sm6963273pfw.214.2022.01.21.16.33.48 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Jan 2022 16:33:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=Cc6IjahI2sgKwlvBITvToMCZaNnslADDopvO2JmTQxs=; b=VSonq31IkogXhlP8OjQ2v0O3MG1AP+MzCUqYyplXl7UJLsUMT7goF3uSuyiFfpFoM3 KGAs9WlC78hbGnh7rQymmk90517GChkd0Y9NlRycc2CVUnYI+/NQfKr65pTqsXaaG/fd t/Mf+kmEJtdGvcnB791EDIzC02EdiplNcrj9DDJM8huSi74Y2suQYBe0LDnOSk4Its2B a1WwgQN1pmBQAIgMwAN+597TMexaDy422LAgI7Gh19l/b4E6mHQ8lNG+2604mcIIH129 raF+I23ieXpHuCoab0mnRN8rq5YmQDvhv8k6GGQqKR8DWDPrFUG1tBgac65T4HKjQSAT e26w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=Cc6IjahI2sgKwlvBITvToMCZaNnslADDopvO2JmTQxs=; b=mjMlDzeHU3VpiWbRWivbLAn/GXCWoMgYk4y2Ru+tuChriMCPn1E9cFfXGH8my9JmIU 1Lidx8Eh01lprYk37tc3fA7TD2NxTvf2KaF7wKjrL5esDe7Q39BtWUJpNVwEd75km/c4 MO8rSW2YnNhGjl05+sMIE936XseswU4jD/NApHbWGQc8la4IaIaBtvABFsxpUSmZwd4I qHw+EAUxKrmxgT6SkOiXqRvJjZOh0KPxDm0dHXPmNd+6b4Lw2eegGGJPeHBtza85VlIL UYcPFmAILYXxdcRBa60uLQs0LfLI88yThI3KbnH0EXgXjvygK6vDTYtD/QQPkVALoKRO VIDg== X-Gm-Message-State: AOAM531yXvNERFuM6R8nj0BJhD0hBOnkJjnZCNq3qvDn1bt0BOhuD1FP cWbk8PS2fXbXcY6GVn3edl2c1jKadwU= X-Google-Smtp-Source: ABdhPJw8la6I5xw+D43LEGU6Qq8mYAfQjch6TCpa4Cv1wHpDEcb+LhCZKvJUB9/MyVQC6NBTicThoA== X-Received: by 2002:a17:90b:1b0b:: with SMTP id nu11mr3011865pjb.143.1642811631580; Fri, 21 Jan 2022 16:33:51 -0800 (PST) To: qemu-devel@nongnu.org Cc: John G Johnson , qemu-trivial@nongnu.org, Elena Ufimtseva , Jagannathan Raman , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH] hw/remote: Add missing include Date: Sat, 22 Jan 2022 01:33:45 +0100 Message-Id: <20220122003345.84522-1-f4bug@amsat.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::62c (failed) 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; Received-SPF: pass client-ip=2607:f8b0:4864:20::62c; envelope-from=philippe.mathieu.daude@gmail.com; helo=mail-pl1-x62c.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Reply-to: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= via X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1642811699302100001 Currently "qemu/error-report.h" is implicitly included, however if headers in include/ get refactored, we get: hw/remote/proxy-memory-listener.c: In function =E2=80=98proxy_memory_list= ener_commit=E2=80=99: hw/remote/proxy-memory-listener.c:183:9: error: implicit declaration of f= unction =E2=80=98error_report=E2=80=99; did you mean =E2=80=98error_report_= err=E2=80=99? [-Werror=3Dimplicit-function-declaration] 183 | error_report("Number of fds is more than %d", REMOTE_MAX_= FDS); | ^~~~~~~~~~~~ | error_report_err Add the missing "qemu/error-report.h" header to avoid that. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Jagannathan Raman --- hw/remote/proxy-memory-listener.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/remote/proxy-memory-listener.c b/hw/remote/proxy-memory-lis= tener.c index 882c9b4854..0e893f3189 100644 --- a/hw/remote/proxy-memory-listener.c +++ b/hw/remote/proxy-memory-listener.c @@ -16,6 +16,7 @@ #include "exec/cpu-common.h" #include "exec/ram_addr.h" #include "qapi/error.h" +#include "qemu/error-report.h" #include "hw/remote/mpqemu-link.h" #include "hw/remote/proxy-memory-listener.h" =20 --=20 2.34.1