Loading
cxl/region: Fix leakage in __construct_region()
Failing the first sysfs_update_group() needs to explicitly kfree the resource as it is too early for cxl_region_iomem_release() to do so. Signed-off-by:Davidlohr Bueso <dave@stgolabs.net> Reviewed-by:
Ira Weiny <ira.weiny@intel.com> Reviewed-by:
Gregory Price <gourry@gourry.net> Fixes: d6602e25 (cxl/region: Add support to indicate region has extended linear cache) Link: https://patch.msgid.link/20260202191330.245608-1-dave@stgolabs.net Signed-off-by:
Dave Jiang <dave.jiang@intel.com>