linux-stable/drivers/cxl/core
Dave Jiang 764d102ef9 cxl: Add missing return to cdat read error path
Add a return to the error path when cxl_cdat_read_table() fails. Current
code continues with the table pointer points to freed memory.

Fixes: 7a877c9239 ("cxl/pci: Simplify CDAT retrieval error path")
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Davidlohr Bueso <dave@stgolabs.net>
Link: https://lore.kernel.org/r/168382793506.3510737.4792518576623749076.stgit@djiang5-mobl3
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2023-05-13 00:20:06 -07:00
..
core.h cxl/memdev: Trace inject and clear poison as cxl_poison events 2023-04-23 12:08:39 -07:00
hdm.c cxl/hdm: Add more HDM decoder debug messages at startup 2023-04-18 10:32:47 -07:00
Makefile cxl/pci: Move tracepoint definitions to drivers/cxl/core/ 2023-01-04 17:11:11 -08:00
mbox.c Merge branch 'for-6.3/cxl-autodetect-fixes' into for-6.4/cxl 2023-04-23 12:10:13 -07:00
memdev.c cxl/memdev: Trace inject and clear poison as cxl_poison events 2023-04-23 12:08:39 -07:00
pci.c cxl: Add missing return to cdat read error path 2023-05-13 00:20:06 -07:00
pmem.c cxl/port: Fix find_cxl_root() for RCDs and simplify it 2023-04-04 15:34:34 -07:00
port.c cxl for v6.4 2023-04-30 11:51:51 -07:00
region.c cxl/region: Provide region info to the cxl_poison trace event 2023-04-23 11:46:06 -07:00
regs.c cxl/regs: Fix sparse warning 2022-12-05 12:33:20 -08:00
suspend.c PM: CXL: Disable suspend 2022-04-22 16:09:42 -07:00
trace.c cxl/trace: Add an HPA to cxl_poison trace events 2023-04-23 11:46:13 -07:00
trace.h cxl/memdev: Trace inject and clear poison as cxl_poison events 2023-04-23 12:08:39 -07:00