summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorDave Jiang <dave.jiang@intel.com>2026-08-28 14:57:26 -0700
committerDave Jiang <dave.jiang@intel.com>2026-09-01 11:28:51 -0700
commit977eaad352bad4c4aac7cd15683800196c2ead57 (patch)
tree96a2049af7020bb7358d78a672ef4ec7e16d2cdf /scripts/Makefile.thinlto
parent6f057dea152574dd044382fd0ba5ed19e3ecba25 (diff)
downloadlinux-next-977eaad352bad4c4aac7cd15683800196c2ead57.tar.gz
linux-next-977eaad352bad4c4aac7cd15683800196c2ead57.zip
cxl/ras: Pass the PCI device's struct device to match_memdev_by_parent()
cxl_cper_handle_prot_err() hands bus_find_device() the 'struct pci_dev' where match_memdev_by_parent() expects the embedded 'struct device'. The comparison never matches. The lookup always fails and CXL endpoint protocol errors reported via CPER are dropped without a trace event, leaving only the root port, downstream and upstream cases reporting. Pass &pdev->dev, and rename the callback parameter to match what it is. Fixes: 3c70ec71abda ("cxl/ras: Fix CPER handler device confusion") Reviewed-by: Alison Schofield <alison.schofield@intel.com> Reviewed-by: Terry Bowman <terry.bowman@amd.com> Link: https://patch.msgid.link/20260828215726.1077498-1-dave.jiang@intel.com Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions