Re: [PATCH] ACPI: APEI: ghes: mark ghes_in_nmi_spool_from_list maybe unused
From: Breno Leitao
Date: Tue Mar 17 2026 - 05:41:22 EST
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.
Thanks for explaining the reason here.
--breno