[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/8] pci: Export pci_for_each_device_under_bus*()
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH 2/8] pci: Export pci_for_each_device_under_bus*() |
Date: |
Thu, 21 Oct 2021 13:39:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.1.0 |
On 10/21/21 12:42, Peter Xu wrote:
> They're actually more commonly used than the helper without _under_bus,
> because
> most callers do have the pci bus on hand. After exporting we can switch a lot
> of the call sites to use these two helpers.
>
> Signed-off-by: Peter Xu <peterx@redhat.com>
> ---
> hw/pci/pci.c | 10 +++++-----
> include/hw/pci/pci.h | 5 +++++
> 2 files changed, 10 insertions(+), 5 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>