Re: [PATCH v8 5/7] PCI: Allow pci_bus_for_each_resource() to take less arguments
Bjorn Helgaas <[email protected]>
| Newsgroups | gmane.comp.emulators.xen.devel,gmane.linux.kernel,gmane.linux.ports.alpha,gmane.linux.ports.arm.kernel,gmane.linux.ports.mips,gmane.linux.ports.ppc64.devel,gmane.linux.ports.sh.devel,gmane.linux.ports.sparc,gmane.linux.kernel.pci,gmane.linux.acpi.devel |
|---|---|
| Message-ID | <20230405201147.GA3637852@bhelgaas> |
On Wed, Apr 05, 2023 at 02:50:47PM +0300, Andy Shevchenko wrote: > On Thu, Mar 30, 2023 at 07:24:32PM +0300, Andy Shevchenko wrote: > > Refactor pci_bus_for_each_resource() in the same way as it's done in > > pci_dev_for_each_resource() case. This will allow to hide iterator > > inside the loop, where it's not used otherwise. > > > > No functional changes intended. > > Bjorn, this has wrong author in your tree: > > https://git.kernel.org/pub/scm/linux/kernel/git/pci/pci.git/commit/?h=resource&id=46dbad19a59e0dd8f1e7065e5281345797fbb365 I botched it, sorry, should be fixed now. Bjorn