Re: [PATCH v4 07/13] ACPI: extlog: Fix CONFIG_ACPI_APEI_PCIEAER guard typo
Jonathan Cameron <[email protected]>
| Newsgroups | org.kernel.vger.linux-acpi,org.kernel.vger.linux-cxl |
|---|---|
| Message-ID | <20260825001150.351e7a24@jic23-huawei> |
On Mon, 24 Aug 2026 10:49:30 -0700 Dave Jiang <[email protected]> wrote: > The guard reads "#ifdef ACPI_APEI_PCIEAER" rather than > "#ifdef CONFIG_ACPI_APEI_PCIEAER". That symbol is never defined, so the > extlog PCIe AER handling is always compiled out. > > Use the CONFIG_ prefixed symbol. > > Fixes: e778ffefa34d ("ACPI: extlog: Trace CPER PCI Express Error Section") > Reviewed-by: Alison Schofield <[email protected]> > Reviewed-by: Shuai Xue <[email protected]> > Reviewed-by: Ben Cheatham <[email protected]> > Assisted-by: Claude:claude-opus-4-8 > Signed-off-by: Dave Jiang <[email protected]> Yikes. Raises some testing questions. I guess a last minute edit perhaps. Reviewed-by: Jonathan Cameron <[email protected]> > --- > v4: > - Corrected the Fixes tag: e778ffefa34d added the "#ifdef ACPI_APEI_PCIEAER" > guard, not 95350effc3ad. > - Dropped Reported-by: sashiko-bot; it reviewed this patch rather than > reporting the typo. > --- > drivers/acpi/acpi_extlog.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/acpi/acpi_extlog.c b/drivers/acpi/acpi_extlog.c > index 3aec73187b51..ebedf3b136a8 100644 > --- a/drivers/acpi/acpi_extlog.c > +++ b/drivers/acpi/acpi_extlog.c > @@ -136,7 +136,7 @@ static int print_extlog_rcd(const char *pfx, > static void extlog_print_pcie(struct cper_sec_pcie *pcie_err, > int severity, u32 len) > { > -#ifdef ACPI_APEI_PCIEAER > +#ifdef CONFIG_ACPI_APEI_PCIEAER > struct aer_capability_regs aer_regs = {}; > struct pci_dev *pdev; > unsigned int devfn;