Re: [PATCH v8 04/20] Revert "hw/acpi/ghes: Make ghes_record_cper_errors() static"

From: Philippe Mathieu-Daudé
Date: Fri Mar 07 2025 - 16:03:07 EST


On 7/3/25 20:14, Mauro Carvalho Chehab wrote:
The ghes_record_cper_errors() function was introduced to be used
by other types of errors, as part of the error injection
patch series. That's why it is not static.

Make it non-static again to allow its usage outside ghes.c

This reverts commit 611f3bdb20f7828b0813aa90d47d1275ef18329b.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@xxxxxxxxxx>
---
hw/acpi/ghes.c | 6 ++++--
include/hw/acpi/ghes.h | 2 ++
2 files changed, 6 insertions(+), 2 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@xxxxxxxxxx>

And I apologize for missing to relate the 2 previous series.