Re: [PATCH] ACPI: APEI: ghes: mark ghes_in_nmi_spool_from_list maybe unused
From: Hanjun Guo
Date: Mon Mar 23 2026 - 04:20:38 EST
On 2026/3/17 17:39, Breno Leitao wrote:
On Tue, Mar 17, 2026 at 11:55:52AM +0800, Rui Qi wrote:
On 3/16/26 5:03 PM, Breno Leitao wrote:
If there is consensus that we should address this via conditional
compilation instead, I can follow up
with another patch that wraps these helpers in something like #if
IS_ENABLED(CONFIG_ACPI_APEI_SEA) ||
IS_ENABLED(CONFIG_HAVE_ACPI_APEI_NMI).
This approach would be worse, I would say. Your current approach seems
cleaner, IMO.
Looks reasonable to me as well.
Thanks
Hanjun