[PATCH 2/2] ocxl: use pci_find_next_dvsec_capability() to simplify the code

Andrew Donnellan ajd at linux.ibm.com
Mon Aug 7 14:54:15 AEST 2023


On Mon, 2023-08-07 at 11:18 +0800, Xiongfeng Wang wrote:
> PCI core add pci_find_next_dvsec_capability() to query the next
> DVSEC.
> We can use that core API to simplify the code. Also remove the unused
> macros.
> 
> Signed-off-by: Xiongfeng Wang <wangxiongfeng2 at huawei.com>

Reviewed-by: Andrew Donnellan <ajd at linux.ibm.com>


-- 
Andrew Donnellan    OzLabs, ADL Canberra
ajd at linux.ibm.com   IBM Australia Limited


More information about the Linuxppc-dev mailing list