qemu-trivial
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] hw/arm/virt-acpi-build.c: Add missing header


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH] hw/arm/virt-acpi-build.c: Add missing header
Date: Thu, 6 Jul 2023 18:50:57 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.12.0

On 6/7/23 17:08, Peng Liang wrote:
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=nop), 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.


Fixes: 451b157041 ("acpi: Align the size to 128k")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>

Signed-off-by: Peng Liang <tcx4c70@gmail.com>
---
  hw/arm/virt-acpi-build.c | 1 +
  1 file changed, 1 insertion(+)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]