Re: [PATCH v5 12/16] cxl/pci: Change find_cxl_port() to non-static

From: Ira Weiny
Date: Tue Jan 14 2025 - 17:24:18 EST


Terry Bowman wrote:
> CXL PCIe Port Protocol Error support will be added in the future. This
> requires searching for a CXL PCIe Port device in the CXL topology as
> provided by find_cxl_port(). But, find_cxl_port() is defined static
> and as a result is not callable outside of this source file.
>
> Update the find_cxl_port() declaration to be non-static.
>
> Signed-off-by: Terry Bowman <terry.bowman@xxxxxxx>
> Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>

Generally I think Dan prefers this type of patch to be squashed with the
patch which requires the change. But I'm ok with the smaller patches...

:-D

Reviewed-by: Ira Weiny <ira.weiny@xxxxxxxxx>

[snip]