Re: [RFC Patch v1 3/3] cxl/pci: Drop the parameter is_port of cxl_gpf_get_dvsec()
From: Jonathan Cameron
Date: Fri Mar 21 2025 - 08:06:19 EST
On Thu, 20 Mar 2025 22:23:09 -0700
Davidlohr Bueso <dave@xxxxxxxxxxxx> wrote:
> On Wed, 19 Mar 2025, Li Ming wrote:
>
> >The first parameter of cxl_gpf_get_dvsec() is a struct device, can be
> >used to distinguish if the device is a cxl dport or a cxl pci device by
> >checking the PCIe type of it, so the parameter is_port is unnecessary
> >to cxl_gpf_get_dvsec(), using parameter struct device is enough.
> >
> >Signed-off-by: Li Ming <ming.li@xxxxxxxxxxxx>
>
> Reviewed-by: Davidlohr Bueso <dave@xxxxxxxxxxxx>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@xxxxxxxxxx>