]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI: Replace cxl_error_is_native() with pcie_aer_is_native()
authorTerry Bowman <terry.bowman@amd.com>
Wed, 14 Jan 2026 18:20:27 +0000 (12:20 -0600)
committerDave Jiang <dave.jiang@intel.com>
Thu, 22 Jan 2026 21:57:42 +0000 (14:57 -0700)
commitbcfa289932a703dd189466ea5947212e8dddd399
tree6b669668a4d5ac09908b167d7950fa9e6b5d0fe6
parenteb78ef4d6f0e51243c1ee117f801dbc503e886ab
PCI: Replace cxl_error_is_native() with pcie_aer_is_native()

The AER driver includes a CXL support function cxl_error_is_native(). This
function adds no additional value from pcie_aer_is_native().

Simplify the codebase by removing cxl_error_is_native() and replace
occurrences of cxl_error_is_native() with pcie_aer_is_native().

Signed-off-by: Terry Bowman <terry.bowman@amd.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Acked-by: Bjorn Helgaas <bhelgaas@google.com>
Link: https://patch.msgid.link/20260114182055.46029-7-terry.bowman@amd.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
drivers/pci/pcie/aer.c