linux-next/drivers/cxl/core
Dan Williams 82f0832af2 cxl/hdm: Fix double allocation of @cxlhdm
devm_cxl_setup_emulated_hdm() reallocates an instance of @cxlhdm that
was already allocated at the start of devm_cxl_setup_hdm(). Only one is
needed and devm_cxl_setup_emulated_hdm() does not do enough to warrant
being an explicit helper.

Fixes: 4474ce565e ("cxl/hdm: Create emulated cxl_hdm for devices that do not have HDM decoders")
Tested-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Dave Jiang <dave.jiang@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/167703067936.185722.7908921750127154779.stgit@dwillia2-xfh.jf.intel.com
Link: https://lore.kernel.org/r/168012574357.221280.5001364964799725366.stgit@dwillia2-xfh.jf.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2023-04-04 15:34:12 -07:00
..
core.h cxl/dax: Create dax devices for CXL RAM regions 2023-02-10 17:33:45 -08:00
hdm.c cxl/hdm: Fix double allocation of @cxlhdm 2023-04-04 15:34:12 -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-events' into cxl/next 2023-02-16 15:27:12 -08:00
memdev.c cxl for v6.3 2023-02-25 09:19:23 -08:00
pci.c Merge branch 'for-6.3/cxl-events' into cxl/next 2023-02-16 15:27:12 -08:00
pmem.c cxl/pmem: Fix nvdimm unregistration when cxl_pmem driver is absent 2023-01-25 15:35:26 -08:00
port.c cxl for v6.3 2023-02-25 09:19:23 -08:00
region.c Merge branch 'for-6.3/cxl-ram-region' into cxl/next 2023-02-14 14:58:26 -08: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/pci: Move tracepoint definitions to drivers/cxl/core/ 2023-01-04 17:11:11 -08:00
trace.h cxl/trace: Add serial number to trace points 2023-02-16 14:29:11 -08:00