[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250321120607.00004f1f@huawei.com>
Date: Fri, 21 Mar 2025 12:06:07 +0000
From: Jonathan Cameron <Jonathan.Cameron@...wei.com>
To: Davidlohr Bueso <dave@...olabs.net>
CC: Li Ming <ming.li@...omail.com>, <dave.jiang@...el.com>,
<alison.schofield@...el.com>, <vishal.l.verma@...el.com>,
<ira.weiny@...el.com>, <dan.j.williams@...el.com>,
<linux-cxl@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [RFC Patch v1 3/3] cxl/pci: Drop the parameter is_port of
cxl_gpf_get_dvsec()
On Thu, 20 Mar 2025 22:23:09 -0700
Davidlohr Bueso <dave@...olabs.net> 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@...omail.com>
>
> Reviewed-by: Davidlohr Bueso <dave@...olabs.net>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@...wei.com>
Powered by blists - more mailing lists