From nobody Fri Dec 19 11:48:33 2025 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; 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=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1688656198; cv=none; d=zohomail.com; s=zohoarc; b=jrhnwRmxZe9ISAcJBY39QzMUKrXgae6BnKMxqcpBIw42eEK3tUpn3mp28/6u64r4PvY8X1T4kV+sVkrWAd+m7RfKu1bcKsOfnSG3WGGpbEHVDgtIngJbFiNG2PwUgUdS3IrrypBvEkOuVk0A54LCQ6GatzS+4zVtK2Mpax2MiZc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1688656198; h=Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=Lc+ZtzDQqTYPVEDEPp9TCdNmwWdUxNxiAmSD2f53Jvo=; b=N0sZnQvkurO+Bc2dGX0M0cVIkooh4F05q8W7SXhKmvrZkzJJZUh5OZo+5VmXfFmfmSIpALX5g61Sl4TmiSKQDiZ0NPpRoNyBB9ZGuPwpHQngx3NQp9TSD+7mfnGD8ofFRC5lyTvKtd2jrrw0tDoyZaXPqXxIYHFUpSZs3xzdb0U= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; 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 1688656198398777.0328845819714; Thu, 6 Jul 2023 08:09:58 -0700 (PDT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qHQc1-0005kE-Ir; Thu, 06 Jul 2023 11:09:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qHQbz-0005hr-Go; Thu, 06 Jul 2023 11:09:39 -0400 Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qHQbx-0001bG-Uh; Thu, 06 Jul 2023 11:09:39 -0400 Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-55ae51a45deso479264a12.3; Thu, 06 Jul 2023 08:09:37 -0700 (PDT) Received: from localhost.lan ([2a01:111:f100:6000::4134:a26f]) by smtp.gmail.com with ESMTPSA id d13-20020a170902aa8d00b001b51b3e84cesm1555671plr.166.2023.07.06.08.09.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Jul 2023 08:09:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688656175; x=1691248175; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=Lc+ZtzDQqTYPVEDEPp9TCdNmwWdUxNxiAmSD2f53Jvo=; b=XVyfg4VtVB35ZwD3FOPZufZ1oW8o7qzPqfTD+1XoDx74F1D0jmjclKDoKxybiluJu7 M8IZBAYh5t/3RUIK0Vehw0jCzgNMC1j2/0j+JOzmLLw+ak5/Pp5vo+sX9h4V0wK+UUAe R5YYY7f9uhRojySCOwlJmUbxHRoCz08tEZHQ1AvGJzScYj+ZT0JR5lkYh0whldt+F/Jd hIypDEkCh2WYW+Atm2nIBU8b/8mC4iD3uIrqr4XQFz0Vue2B5tPgbBvDtIb9+eI9nblP a5exETPQqOx687Za1EbqDH65CZkhL4qRNGxpweQYANTkS6vbZiwzL/TzQC/JMREb+nO3 jEoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688656175; x=1691248175; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Lc+ZtzDQqTYPVEDEPp9TCdNmwWdUxNxiAmSD2f53Jvo=; b=bvDl3KIvHigYIjSff8xuF+2XvV9WIjbqJHJKbNkQdt9z0GC+zRoNP/patAI2kFNvTG 6h8UfwkzX3s0BHZGND3h2sof7plkg+z0gA39yT0khdHA/VeBmaU4wtPs5+A7/bPyHEpp I7dQhICIZ52XfnUNyYubc/pC/viVhUWuub5hK0UeAP/sRPvtAJz4lCmO7oDlZZ6iUHOb ewf65RYhaMB04a3PNI5N4AMgcUUcgr/B31EQivtVLyeDqG9zoPtR36iY96shxy0Wh6zn 6l3+ke7XlGYVG5GjqncXkMf2Dgks9tE6x8Zl2mybsKr0KL6jWagk6MUwbrRdANEoPgiV 5LAw== X-Gm-Message-State: ABy/qLZyb2+CvDZsFch8LTmqcdLH6Os1/hLQ1ecJygqsEeQgrFdwgI0n Qx90hW2BEL+0DF5GqTFYOLg= X-Google-Smtp-Source: APBJJlEJGU1pIWTL138gn5Gojd1tek7cimZHGyeatGjyt148G/AGz/Mc0GcjyEofII/txBx5woyB7w== X-Received: by 2002:a05:6a20:6a0f:b0:12e:5fd0:f4af with SMTP id p15-20020a056a206a0f00b0012e5fd0f4afmr1814063pzk.28.1688656175097; Thu, 06 Jul 2023 08:09:35 -0700 (PDT) From: Peng Liang To: mst@redhat.com, imammedo@redhat.com, anisinha@redhat.com, shannon.zhaosl@gmail.com, peter.maydell@linaro.org Cc: qemu-arm@nongnu.org, qemu-devel@nongnu.org, Peng Liang Subject: [PATCH] hw/arm/virt-acpi-build.c: Add missing header Date: Thu, 6 Jul 2023 23:08:38 +0800 Message-ID: <20230706150839.1180137-1-tcx4c70@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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::531; envelope-from=tcx4c70@gmail.com; helo=mail-pg1-x531.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-bounces+importer=patchew.org@nongnu.org X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1688656200144100001 Content-Type: text/plain; charset="utf-8" virt-acpi-build.c uses warn_report. However, it doesn't include qemu/error-report.h directly, it include qemu/error-report.h via trace.h if we enable log trace backend. But if we disable the log trace backend (e.g., --enable-trace-backends=3Dnop), then virt-acpi-build.c will not include qemu/error-report.h any more and it will lead to build errors. Include qemu/error-report.h directly in virt-acpi-build.c to avoid the errors. Signed-off-by: Peng Liang Reviewed-by: Ani Sinha Reviewed-by: Philippe Mathieu-Daud=C3=A9 --- hw/arm/virt-acpi-build.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/arm/virt-acpi-build.c b/hw/arm/virt-acpi-build.c index 55f2706bc9..44cf9f3312 100644 --- a/hw/arm/virt-acpi-build.c +++ b/hw/arm/virt-acpi-build.c @@ -57,6 +57,7 @@ #include "migration/vmstate.h" #include "hw/acpi/ghes.h" #include "hw/acpi/viot.h" +#include "qemu/error-report.h" =20 #define ARM_SPI_BASE 32 =20 --=20 2.41.0