[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250321052309.qkhlyabmcgbxtmtf@offworld>
Date: Thu, 20 Mar 2025 22:23:09 -0700
From: Davidlohr Bueso <dave@...olabs.net>
To: Li Ming <ming.li@...omail.com>
Cc: jonathan.cameron@...wei.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 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>
Powered by blists - more mailing lists