Linux CXL
 help / color / mirror / Atom feed
* [PATCH v5 0/5] cxl: find_cxl_root() related cleanups
@ 2024-01-05 18:02 Dave Jiang
  2024-01-05 18:03 ` [PATCH v5 1/5] cxl: Introduce put_cxl_root() helper Dave Jiang
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Dave Jiang @ 2024-01-05 18:02 UTC (permalink / raw)
  To: linux-cxl
  Cc: Dan Williams, Robert Richter, dan.j.williams, ira.weiny,
	vishal.l.verma, alison.schofield, Jonathan.Cameron, dave,
	rrichter

This series provides a number of small cleanups to make fix_cxl_root()
and related code more readable and safer.

---

Dave Jiang (5):
      cxl: Introduce put_cxl_root() helper
      cxl: Convert find_cxl_root() to return a 'struct cxl_root *'
      cxl: Fix device reference leak in cxl_port_perf_data_calculate()
      cxl: Refactor to use __free() for cxl_root allocation in cxl_find_nvdimm_bridge()
      cxl: Refactor to use __free() for cxl_root allocation in cxl_endpoint_port_probe()


 drivers/cxl/acpi.c      |  6 ++----
 drivers/cxl/core/cdat.c | 22 ++++++++++++++--------
 drivers/cxl/core/pmem.c |  8 ++++----
 drivers/cxl/core/port.c | 13 +++++++++++--
 drivers/cxl/cxl.h       | 17 ++++++++++-------
 drivers/cxl/port.c      |  9 +++++----
 6 files changed, 46 insertions(+), 29 deletions(-)



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-01-05 19:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-05 18:02 [PATCH v5 0/5] cxl: find_cxl_root() related cleanups Dave Jiang
2024-01-05 18:03 ` [PATCH v5 1/5] cxl: Introduce put_cxl_root() helper Dave Jiang
2024-01-05 18:03 ` [PATCH v5 2/5] cxl: Convert find_cxl_root() to return a 'struct cxl_root *' Dave Jiang
2024-01-05 18:03 ` [PATCH v5 3/5] cxl: Fix device reference leak in cxl_port_perf_data_calculate() Dave Jiang
2024-01-05 18:03 ` [PATCH v5 4/5] cxl: Refactor to use __free() for cxl_root allocation in cxl_find_nvdimm_bridge() Dave Jiang
2024-01-05 18:03 ` [PATCH v5 5/5] cxl: Refactor to use __free() for cxl_root allocation in cxl_endpoint_port_probe() Dave Jiang
2024-01-05 19:35 ` [PATCH v5 0/5] cxl: find_cxl_root() related cleanups Ira Weiny

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox