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 9E10C4CB8B7; Fri, 4 Sep 2026 17:23:51 +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=1788542635; cv=none; b=NFulLKUG09x7Oi2mq3M57ji2BgUk3j60r3/5B08wkz7g5aMAp9/DU1F6XGOICvO4oOnwpIN/szRrSoMayMVI+NhCo+ZDu4CIENiC+H9TSubKSPnHPCJ4X3Wiztuklg54gXBxcCyl+WBELi26A16IE0Z+q1Un47O6E5u60RzEJ+M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788542635; c=relaxed/simple; bh=zIfJUC0pdbUEp+b+9/Fm1EYNXgBdcpN7/zjgZpHyKoc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=GAleLQPoH1hUU6jX8dK87rTkJtjBs3/TdPtEsBv2EKWb6hqgVP9VFeAQge7aayq0+gF+CYHEnlxKwQiImY0AShRj13UL/nIBQm+8G/1MCHIueBgEQ6O5sao73Z/vb3VcbuaWQlfEjnqguFluocGxaFPhA/EjOLC6id1es5d4g2c= 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 B8C381F00A3E; Fri, 4 Sep 2026 17:23:49 +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 v6 07/13] ACPI: extlog: Fix CONFIG_ACPI_APEI_PCIEAER guard typo Date: Fri, 4 Sep 2026 10:23:31 -0700 Message-ID: <20260904172337.1409775-8-dave.jiang@intel.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260904172337.1409775-1-dave.jiang@intel.com> References: <20260904172337.1409775-1-dave.jiang@intel.com> Precedence: bulk X-Mailing-List: linux-cxl@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 Reviewed-by: Hanjun Guo 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 0ab7885e5471..8c17c2719526 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