Re: [PATCH 2/9] PCI/IOV: Adjust ->barsz[] when changing BAR size
From: Bjorn Helgaas
Date: Thu Nov 13 2025 - 11:29:33 EST
On Tue, Oct 28, 2025 at 07:35:44PM +0200, Ilpo Järvinen wrote:
> pci_rebar_set_size() adjusts BAR size for both normal and IOV BARs. The
> struct pci_srvio keeps a cached copy of BAR size in unit of
> resource_size_t in ->barsz[] ...
Nit: s/pci_srvio/pci/sriov/ (fixed locally, FYI in case you post a v2)
I'm not sure what "unit of resource_size_t" adds here, maybe could be
removed to just say this?
struct pci_srvio keeps a cached copy of BAR size in ->barsz[] ...