RE: [PATCH v12 08/20] cxl/pci: Remove Component Register base address from struct cxl_dev_state

From: Dan Williams
Date: Fri Oct 27 2023 - 17:54:20 EST


Robert Richter wrote:
> The Component Register base address @component_reg_phys is no longer
> used after the rework of the Component Register setup which now uses
> struct member @reg_map instead. Remove the base address.
>
> Signed-off-by: Terry Bowman <terry.bowman@xxxxxxx>
> Signed-off-by: Robert Richter <rrichter@xxxxxxx>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>
> Reviewed-by: Dave Jiang <dave.jiang@xxxxxxxxx>
[..]
> diff --git a/tools/testing/cxl/test/mem.c b/tools/testing/cxl/test/mem.c
> index 464fc39ed277..aa44d111fd28 100644
> --- a/tools/testing/cxl/test/mem.c
> +++ b/tools/testing/cxl/test/mem.c
> @@ -1423,7 +1423,6 @@ static int cxl_mock_mem_probe(struct platform_device *pdev)
> cxlds->serial = pdev->id;
> if (is_rcd(pdev)) {
> cxlds->rcd = true;
> - cxlds->component_reg_phys = CXL_RESOURCE_NONE;
> }

I cleaned up those stray brackets after this second statement removed.