From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3782736B05E; Thu, 27 Aug 2026 20:37:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787863067; cv=none; b=Zkcc7/guuGN9WnjivE4mojMcoyBWGWBE4CzVmpVtUMfmQqv+De9MLpRrWEobIEgirePazgsnUGz3YsxgTFgCymgzn9cGsXyegU15G2ZJdGl55uISB5desAqYo1il9C+9QWnbw10QyWipuGEFEYhLjEC02Xd8KoE2Scd/B1BfXAU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787863067; c=relaxed/simple; bh=GHQOEIpIDWEuVmNsuLIkXpO33Jfwx5+iAuv5tJFk5YA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=dTkj2m66EbiPIKUS8tEtA9QOk0Lm18Hi63TlRxU4HZDHam3G1+eT6UAwEWqPt5FjwRv48joym/lJvsId9PXxU/RcYHq0x1oDYkrxnQvyyO2/50NOfGFhZF/UwABgMmSdLUfJdxRlNjWj2QbxrnF6i3yyCf18O0qP0I5sG1he66k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 093A51F00A3A; Thu, 27 Aug 2026 20:37:38 +0000 (UTC) From: Dave Jiang To: linux-acpi@vger.kernel.org, linux-cxl@vger.kernel.org Cc: rafael@kernel.org, tony.luck@intel.com, bp@alien8.de, guohanjun@huawei.com, mchehab@kernel.org, xueshuai@linux.alibaba.com, terry.bowman@amd.com, benjamin.cheatham@amd.com, alison.schofield@intel.com, Jonathan Cameron Subject: [PATCH v5 07/13] ACPI: extlog: Fix CONFIG_ACPI_APEI_PCIEAER guard typo Date: Thu, 27 Aug 2026 13:37:20 -0700 Message-ID: <20260827203726.3027541-8-dave.jiang@intel.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260827203726.3027541-1-dave.jiang@intel.com> References: <20260827203726.3027541-1-dave.jiang@intel.com> Precedence: bulk X-Mailing-List: linux-acpi@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Shuai Xue Reviewed-by: Ben Cheatham Reviewed-by: Jonathan Cameron Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Dave Jiang --- 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 7c45a9865726..ab46fa2adc53 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; -- 2.54.0