Re: [PATCH v4 15/28] cxl/region: Refactor common create region code

From: Alison Schofield
Date: Wed Oct 23 2024 - 22:17:26 EST


On Mon, Oct 07, 2024 at 06:16:21PM -0500, Ira Weiny wrote:
> create_pmem_region_store() and create_ram_region_store() are identical
> with the exception of the region mode. With the addition of DC region
> mode this would end up being 3 copies of the same code.
>
> Refactor create_pmem_region_store() and create_ram_region_store() to use
> a single common function to be used in subsequent DC code.

Reviewed-by: Alison Schofield <alison.schofield@xxxxxxxxx>

--snip