Re: [PATCH 6/8] pci: Use pci_for_each_root_bus() in current code

2021-10-21 Thread Eric Auger
Hi Peter, On 10/21/21 12:42 PM, Peter Xu wrote: > There're three places that can be rewritten with the pci_for_each_root_bus() > helper that we just introduced. De-dup the code. > > Signed-off-by: Peter Xu Reviewed-by: Eric Auger Eric > --- > hw/arm/virt-acpi-build.c | 31 +++-

Re: [PATCH 6/8] pci: Use pci_for_each_root_bus() in current code

2021-10-21 Thread David Hildenbrand
On 21.10.21 12:42, Peter Xu wrote: > There're three places that can be rewritten with the pci_for_each_root_bus() > helper that we just introduced. De-dup the code. > > Signed-off-by: Peter Xu > --- > hw/arm/virt-acpi-build.c | 31 +++ > hw/i386/acpi-build.c | 38

[PATCH 6/8] pci: Use pci_for_each_root_bus() in current code

2021-10-21 Thread Peter Xu
There're three places that can be rewritten with the pci_for_each_root_bus() helper that we just introduced. De-dup the code. Signed-off-by: Peter Xu --- hw/arm/virt-acpi-build.c | 31 +++ hw/i386/acpi-build.c | 38 ++ 2 files